| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.gallery.model.Media
com.silverpeas.gallery.model.InternalMedia
com.silverpeas.gallery.model.Photo
public class Photo
This class represents a Photo.
| Field Summary | 
|---|
| Fields inherited from class com.silverpeas.gallery.model.Media | 
|---|
BASE_PATH | 
| Constructor Summary | |
|---|---|
Photo()
 | 
|
| Method Summary | |
|---|---|
 String | 
getApplicationEmbedUrl(MediaResolution mediaResolution)
Gets the Application URL thumbnail of the media according the specified media resolution.  | 
 org.silverpeas.media.Definition | 
getDefinition()
Gets the definition of the photo.  | 
static String | 
getResourceType()
The type of this resource  | 
 MediaType | 
getType()
 | 
 boolean | 
isPreviewable()
Indicates if the media is previewable.  | 
 void | 
setDefinition(org.silverpeas.media.Definition definition)
Sets the definition of the resolution.  | 
| Methods inherited from class com.silverpeas.gallery.model.InternalMedia | 
|---|
addMetaData, getApplicationThumbnailUrl, getDownloadPeriod, getFile, getFileMimeType, getFileName, getFileSize, getMetaData, getMetaDataProperties, isDownloadable, isDownloadAuthorized, setDownloadAuthorized, setDownloadPeriod, setFileMimeType, setFileName, setFileSize | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Photo()
| Method Detail | 
|---|
public MediaType getType()
getType in class Mediapublic org.silverpeas.media.Definition getDefinition()
public void setDefinition(org.silverpeas.media.Definition definition)
definition - the definition of the resolution.public static String getResourceType()
public boolean isPreviewable()
Media
isPreviewable in class Mediapublic String getApplicationEmbedUrl(MediaResolution mediaResolution)
Media
getApplicationEmbedUrl in class Media
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||