com.silverpeas.gallery.model
Class PhotoDetail

java.lang.Object
  extended by com.silverpeas.gallery.model.PhotoDetail
All Implemented Interfaces:
com.stratelia.silverpeas.contentManager.SilverContentInterface, Serializable

Deprecated. This class is an old one. Photo must be used instead. It became a wrapper of Photo class.

@Deprecated
public class PhotoDetail
extends Object
implements com.stratelia.silverpeas.contentManager.SilverContentInterface, Serializable

See Also:
Serialized Form

Constructor Summary
PhotoDetail()
          Deprecated.  
PhotoDetail(Photo photo)
          Deprecated.  
PhotoDetail(String title, String description, Date creationDate, Date updateDate, String vueDate, String author, boolean download, boolean albumLabel)
          Deprecated.  
PhotoDetail(String title, String description, Date creationDate, Date updateDate, String vueDate, String author, boolean download, boolean albumLabel, Date beginDate, Date endDate, String keyWord, Date beginDownloadDate, Date endDownloadDate)
          Deprecated.  
 
Method Summary
 void addMetaData(MetaData data)
          Deprecated.  
 boolean equals(Object o)
          Deprecated.  
 String getAuthor()
          Deprecated.  
 Date getBeginDate()
          Deprecated.  
 Date getBeginDownloadDate()
          Deprecated.  
 String getContributionType()
          Deprecated.  
 Date getCreationDate()
          Deprecated.  
 String getCreatorId()
          Deprecated.  
 String getCreatorName()
          Deprecated.  
 String getDate()
          Deprecated.  
 String getDescription()
          Deprecated.  
 String getDescription(String language)
          Deprecated.  
 Date getEndDate()
          Deprecated.  
 Date getEndDownloadDate()
          Deprecated.  
 String getIconUrl()
          Deprecated.  
 String getId()
          Deprecated.  
 MediaMimeType getImageMimeType()
          Deprecated.  
 String getImageName()
          Deprecated.  
 long getImageSize()
          Deprecated.  
 String getInstanceId()
          Deprecated.  
 String getKeyWord()
          Deprecated.  
 Iterator<String> getLanguages()
          Deprecated.  
 MediaPK getMediaPK()
          Deprecated.  
 MetaData getMetaData(String property)
          Deprecated.  
 Collection<String> getMetaDataProperties()
          Deprecated.  
 String getName()
          Deprecated.  
 String getName(String language)
          Deprecated.  
 String getPermalink()
          Deprecated.  
 Photo getPhoto()
          Deprecated. Gets the wrapped photo object.
static String getResourceType()
          Deprecated. The type of this resource
 String getSilverCreationDate()
          Deprecated.  
 String getSilverObjectId()
          Deprecated.  
 int getSizeH()
          Deprecated.  
 int getSizeL()
          Deprecated.  
 String getStatus()
          Deprecated.  
 String getThumbnailUrl(String formatPrefix)
          Deprecated.  
 String getTitle()
          Deprecated.  
 Date getUpdateDate()
          Deprecated.  
 String getUpdateId()
          Deprecated.  
 String getUpdateName()
          Deprecated.  
 String getURL()
          Deprecated.  
 String getVueDate()
          Deprecated.  
 int hashCode()
          Deprecated.  
 boolean isAlbumLabel()
          Deprecated.  
 boolean isDownload()
          Deprecated.  
 boolean isDownloadable()
          Deprecated.  
 boolean isPreviewable()
          Deprecated.  
 boolean isVisible(Date today)
          Deprecated.  
 void setAlbumLabel(boolean albumLabel)
          Deprecated.  
 void setAuthor(String author)
          Deprecated.  
 void setBeginDate(Date beginDate)
          Deprecated.  
 void setBeginDownloadDate(Date beginDownloadDate)
          Deprecated.  
 void setCreationDate(Date creationDate)
          Deprecated.  
 void setCreatorId(String creatorId)
          Deprecated.  
 void setDescription(String description)
          Deprecated.  
 void setDownload(boolean download)
          Deprecated.  
 void setEndDate(Date endDate)
          Deprecated.  
 void setEndDownloadDate(Date endDownloadDate)
          Deprecated.  
 void setIconUrl(String iconUrl)
          Deprecated.  
 void setImageMimeType(MediaMimeType mediaMimeType)
          Deprecated.  
 void setImageName(String imageName)
          Deprecated.  
 void setImageSize(long imageSize)
          Deprecated.  
 void setKeyWord(String keyWord)
          Deprecated.  
 void setMediaPK(MediaPK mediaPK)
          Deprecated.  
 void setSilverObjectId(int silverObjectId)
          Deprecated.  
 void setSilverObjectId(String silverObjectId)
          Deprecated.  
 void setSizeH(int sizeH)
          Deprecated.  
 void setSizeL(int sizeL)
          Deprecated.  
 void setStatus(String status)
          Deprecated.  
 void setTitle(String title)
          Deprecated.  
 void setUpdateDate(Date updateDate)
          Deprecated.  
 void setUpdateId(String updateId)
          Deprecated.  
 void setVueDate(String vueDate)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhotoDetail

public PhotoDetail()
Deprecated. 

PhotoDetail

public PhotoDetail(Photo photo)
Deprecated. 

PhotoDetail

public PhotoDetail(String title,
                   String description,
                   Date creationDate,
                   Date updateDate,
                   String vueDate,
                   String author,
                   boolean download,
                   boolean albumLabel)
Deprecated. 

PhotoDetail

public PhotoDetail(String title,
                   String description,
                   Date creationDate,
                   Date updateDate,
                   String vueDate,
                   String author,
                   boolean download,
                   boolean albumLabel,
                   Date beginDate,
                   Date endDate,
                   String keyWord,
                   Date beginDownloadDate,
                   Date endDownloadDate)
Deprecated. 
Method Detail

getPhoto

public Photo getPhoto()
Deprecated. 
Gets the wrapped photo object.

Returns:
the wrapped photo object.

getKeyWord

public String getKeyWord()
Deprecated. 

setKeyWord

public void setKeyWord(String keyWord)
Deprecated. 

setSilverObjectId

public void setSilverObjectId(String silverObjectId)
Deprecated. 

setSilverObjectId

public void setSilverObjectId(int silverObjectId)
Deprecated. 

getSilverObjectId

public String getSilverObjectId()
Deprecated. 

setIconUrl

public void setIconUrl(String iconUrl)
Deprecated. 

getIconUrl

public String getIconUrl()
Deprecated. 
Specified by:
getIconUrl in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getBeginDate

public Date getBeginDate()
Deprecated. 

setBeginDate

public void setBeginDate(Date beginDate)
Deprecated. 

getEndDate

public Date getEndDate()
Deprecated. 

setEndDate

public void setEndDate(Date endDate)
Deprecated. 

getAuthor

public String getAuthor()
Deprecated. 

setAuthor

public void setAuthor(String author)
Deprecated. 

getCreatorId

public String getCreatorId()
Deprecated. 
Specified by:
getCreatorId in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

setCreatorId

public void setCreatorId(String creatorId)
Deprecated. 

getCreationDate

public Date getCreationDate()
Deprecated. 

setCreationDate

public void setCreationDate(Date creationDate)
Deprecated. 

getUpdateDate

public Date getUpdateDate()
Deprecated. 

setUpdateDate

public void setUpdateDate(Date updateDate)
Deprecated. 

getVueDate

public String getVueDate()
Deprecated. 

setVueDate

public void setVueDate(String vueDate)
Deprecated. 

getDescription

public String getDescription()
Deprecated. 
Specified by:
getDescription in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

setDescription

public void setDescription(String description)
Deprecated. 

getInstanceId

public String getInstanceId()
Deprecated. 
Specified by:
getInstanceId in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getStatus

public String getStatus()
Deprecated. 

setStatus

public void setStatus(String status)
Deprecated. 

getSizeH

public int getSizeH()
Deprecated. 

setSizeH

public void setSizeH(int sizeH)
Deprecated. 

getSizeL

public int getSizeL()
Deprecated. 

setSizeL

public void setSizeL(int sizeL)
Deprecated. 

isDownload

public boolean isDownload()
Deprecated. 

isDownloadable

public boolean isDownloadable()
Deprecated. 

setDownload

public void setDownload(boolean download)
Deprecated. 

getTitle

public String getTitle()
Deprecated. 

setTitle

public void setTitle(String title)
Deprecated. 

isAlbumLabel

public boolean isAlbumLabel()
Deprecated. 

setAlbumLabel

public void setAlbumLabel(boolean albumLabel)
Deprecated. 

getImageMimeType

public MediaMimeType getImageMimeType()
Deprecated. 

setImageMimeType

public void setImageMimeType(MediaMimeType mediaMimeType)
Deprecated. 

getImageName

public String getImageName()
Deprecated. 

setImageName

public void setImageName(String imageName)
Deprecated. 

getImageSize

public long getImageSize()
Deprecated. 

setImageSize

public void setImageSize(long imageSize)
Deprecated. 

getMediaPK

public MediaPK getMediaPK()
Deprecated. 

setMediaPK

public void setMediaPK(MediaPK mediaPK)
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

getCreatorName

public String getCreatorName()
Deprecated. 

getUpdateId

public String getUpdateId()
Deprecated. 

setUpdateId

public void setUpdateId(String updateId)
Deprecated. 

getUpdateName

public String getUpdateName()
Deprecated. 

getName

public String getName()
Deprecated. 
Specified by:
getName in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getURL

public String getURL()
Deprecated. 
Specified by:
getURL in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getId

public String getId()
Deprecated. 
Specified by:
getId in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getDate

public String getDate()
Deprecated. 
Specified by:
getDate in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getSilverCreationDate

public String getSilverCreationDate()
Deprecated. 
Specified by:
getSilverCreationDate in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getPermalink

public String getPermalink()
Deprecated. 

addMetaData

public void addMetaData(MetaData data)
Deprecated. 

getMetaData

public MetaData getMetaData(String property)
Deprecated. 

getMetaDataProperties

public Collection<String> getMetaDataProperties()
Deprecated. 

getBeginDownloadDate

public Date getBeginDownloadDate()
Deprecated. 

setBeginDownloadDate

public void setBeginDownloadDate(Date beginDownloadDate)
Deprecated. 

getEndDownloadDate

public Date getEndDownloadDate()
Deprecated. 

setEndDownloadDate

public void setEndDownloadDate(Date endDownloadDate)
Deprecated. 

getDescription

public String getDescription(String language)
Deprecated. 
Specified by:
getDescription in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getName

public String getName(String language)
Deprecated. 
Specified by:
getName in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

getLanguages

public Iterator<String> getLanguages()
Deprecated. 
Specified by:
getLanguages in interface com.stratelia.silverpeas.contentManager.SilverContentInterface

isVisible

public boolean isVisible(Date today)
Deprecated. 

getContributionType

public String getContributionType()
Deprecated. 

getResourceType

public static String getResourceType()
Deprecated. 
The type of this resource

Returns:
the same value returned by getContributionType()

isPreviewable

public boolean isPreviewable()
Deprecated. 

getThumbnailUrl

public String getThumbnailUrl(String formatPrefix)
Deprecated. 


Copyright © 2016 Silverpeas. All Rights Reserved.