Class AlbumDetail
- java.lang.Object
-
- org.silverpeas.core.i18n.AbstractI18NBean<org.silverpeas.core.node.model.NodeI18NDetail>
-
- org.silverpeas.core.node.model.NodeDetail
-
- org.silverpeas.components.gallery.model.AlbumDetail
-
- All Implemented Interfaces:
Serializable,org.silverpeas.core.contribution.model.Contribution,org.silverpeas.core.contribution.model.Folder,org.silverpeas.core.contribution.model.I18nContribution,org.silverpeas.core.contribution.model.WithPermanentLink,org.silverpeas.core.i18n.I18NBean<org.silverpeas.core.node.model.NodeI18NDetail>,org.silverpeas.core.i18n.LocalizedResource,org.silverpeas.core.i18n.Translatable,org.silverpeas.core.Identifiable,org.silverpeas.core.Instance<org.silverpeas.core.contribution.model.Contribution>,org.silverpeas.core.Nameable,org.silverpeas.core.security.Securable,org.silverpeas.core.SilverpeasResource
public class AlbumDetail extends org.silverpeas.core.node.model.NodeDetail- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description AlbumDetail(org.silverpeas.core.node.model.NodeDetail node)AlbumDetail(org.silverpeas.core.node.model.NodeDetail node, MediaCriteria.VISIBILITY mediaVisibility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Collection<AlbumDetail>getChildrenAlbumsDetails()List<Media>getMedia()longgetNbMedia()inthashCode()voidsetMedia(Collection<Media> media)voidsetNbMedia(long nbMedia)-
Methods inherited from class org.silverpeas.core.node.model.NodeDetail
canBeAccessedBy, canBeFiledInBy, canBeModifiedBy, canBeSharedBy, getChildrenDetails, getChildrenNumber, getContributionType, getCreationDate, getCreator, getCreatorId, getFatherPK, getFullPath, getId, getIdentifier, getLastUpdateDate, getLastUpdater, getLevel, getLink, getLocalId, getModelId, getNbObjects, getNodePK, getNodeType, getOrder, getPath, getPermalink, getRightsDependsOn, getStatus, getTranslationType, getURL, getUserRole, hasFather, haveInheritedRights, haveLocalRights, haveRights, isBin, isChild, isFatherOf, isRoot, isUnclassified, isUseId, setChildrenDetails, setCreationDate, setCreatorId, setFatherPK, setId, setLevel, setModelId, setNbObjects, setNodePK, setNodeType, setOrder, setPath, setRightsDependsOn, setRightsDependsOnMe, setStatus, setUseId, setUserRole, toString
-
Methods inherited from class org.silverpeas.core.i18n.AbstractI18NBean
addTranslation, getClonedTranslations, getDescription, getDescription, getLanguage, getLanguages, getLanguageToDisplay, getName, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.contribution.model.Contribution
getDescription, getModel, getName, getResourcePath, getTitle, isIndexable
-
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AlbumDetail
public AlbumDetail(org.silverpeas.core.node.model.NodeDetail node)
-
AlbumDetail
public AlbumDetail(org.silverpeas.core.node.model.NodeDetail node, MediaCriteria.VISIBILITY mediaVisibility)
-
-
Method Detail
-
setMedia
public void setMedia(Collection<Media> media)
-
getNbMedia
public long getNbMedia()
-
setNbMedia
public void setNbMedia(long nbMedia)
-
getChildrenAlbumsDetails
public Collection<AlbumDetail> getChildrenAlbumsDetails()
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classorg.silverpeas.core.node.model.NodeDetail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.silverpeas.core.node.model.NodeDetail
-
-