| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.gallery.constant.GalleryResourceURIs
public final class GalleryResourceURIs
Base URIs from which the REST-based ressources representing gallery entities are defined.
| Field Summary | |
|---|---|
static String | 
GALLERY_ALBUMS_URI_PART
 | 
static String | 
GALLERY_BASE_URI
 | 
static String | 
GALLERY_MEDIA_CONTENT_PART
 | 
static String | 
GALLERY_MEDIA_EMBED_PART
 | 
static String | 
GALLERY_MEDIA_THUMBNAIL_PART
 | 
static String | 
GALLERY_PHOTO_RESOLUTION_PARAM
 | 
static String | 
GALLERY_PHOTOS_PART
 | 
static String | 
GALLERY_SOUNDS_PART
 | 
static String | 
GALLERY_STREAMING_PROVIDER_DATA_PART
 | 
static String | 
GALLERY_STREAMINGS_PART
 | 
static String | 
GALLERY_VIDEOS_PART
 | 
| Method Summary | |
|---|---|
static URI | 
buildAlbumURI(AlbumDetail album)
Centralized the build of a album URI.  | 
static URI | 
buildAlbumURI(com.stratelia.webactiv.util.node.model.NodePK albumPk)
Centralized the build of a album URI.  | 
static URI | 
buildMediaContentURI(Media media,
                     MediaResolution mediaResolution)
Centralized the build of a media content URI according to the specified resolution.  | 
static URI | 
buildMediaEmbedURI(Media media,
                   MediaResolution mediaResolution)
Centralized the build of a media embed URI according to the specified resolution.  | 
static URI | 
buildMediaInAlbumURI(AlbumDetail album,
                     Media media)
Centralized the build of a media URI contained in a specified album.  | 
static URI | 
buildVideoThumbnailURI(Media media,
                       org.silverpeas.media.video.ThumbnailPeriod thumbnail)
Centralized the build of a video thumbnail URI according to the given ThumbnailPeriod.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String GALLERY_BASE_URI
public static final String GALLERY_ALBUMS_URI_PART
public static final String GALLERY_PHOTOS_PART
public static final String GALLERY_PHOTO_RESOLUTION_PARAM
public static final String GALLERY_VIDEOS_PART
public static final String GALLERY_SOUNDS_PART
public static final String GALLERY_MEDIA_CONTENT_PART
public static final String GALLERY_MEDIA_EMBED_PART
public static final String GALLERY_STREAMINGS_PART
public static final String GALLERY_MEDIA_THUMBNAIL_PART
public static final String GALLERY_STREAMING_PROVIDER_DATA_PART
| Method Detail | 
|---|
public static URI buildAlbumURI(AlbumDetail album)
album - the album.
public static URI buildAlbumURI(com.stratelia.webactiv.util.node.model.NodePK albumPk)
albumPk - the album.
public static URI buildMediaInAlbumURI(AlbumDetail album,
                                       Media media)
album - the album that contains the media.media - the media.
public static URI buildMediaContentURI(Media media,
                                       MediaResolution mediaResolution)
media - the media.mediaResolution - the requested resolution.
public static URI buildMediaEmbedURI(Media media,
                                     MediaResolution mediaResolution)
media - the media.mediaResolution - the requested resolution.
public static URI buildVideoThumbnailURI(Media media,
                                         org.silverpeas.media.video.ThumbnailPeriod thumbnail)
media - the media.thumbnail - the thumbnail period.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||