|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.gallery.web.AlbumEntity
public class AlbumEntity
Constructor Summary | |
---|---|
protected |
AlbumEntity()
|
Method Summary | |
---|---|
void |
addMedia(AbstractMediaEntity mediaEntity)
Adding a media the the album. |
static AlbumEntity |
createFrom(AlbumDetail album,
String language)
Creates a new album entity from the specified album. |
protected String |
getDescription()
|
protected String |
getId()
|
protected Map<String,AbstractMediaEntity> |
getMediaList()
|
protected URI |
getParentURI()
|
protected String |
getTitle()
|
URI |
getURI()
|
protected void |
setDescription(String description)
|
protected void |
setId(String id)
|
protected void |
setTitle(String title)
|
AlbumEntity |
withParentURI(URI parentURI)
Sets a parentURI to this entity. |
AlbumEntity |
withURI(URI uri)
Sets a URI to this entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AlbumEntity()
Method Detail |
---|
public static AlbumEntity createFrom(AlbumDetail album, String language)
album
- language
-
public AlbumEntity withURI(URI uri)
uri
- the web entity URI.
public AlbumEntity withParentURI(URI parentURI)
parentURI
- the parent web entity URI.
public URI getURI()
getURI
in interface com.silverpeas.web.Exposable
protected URI getParentURI()
protected void setId(String id)
protected String getId()
protected void setTitle(String title)
protected String getTitle()
protected void setDescription(String description)
protected String getDescription()
protected Map<String,AbstractMediaEntity> getMediaList()
public void addMedia(AbstractMediaEntity mediaEntity)
mediaEntity
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |