Class AlbumMedia
- java.lang.Object
-
- org.silverpeas.components.gallery.model.AlbumMedia
-
- All Implemented Interfaces:
Serializable
public class AlbumMedia extends Object implements Serializable
Represents a couple of an album and a media.It is useful when manipulating data that have just been created, updated or deleted.
- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlbumMedia(String albumId, Media media)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlbumDetailgetAlbum()Gets theAlbumDetailwhich has been concerned by the manipulation of theMedia.StringgetAlbumId()Gets the identifier of the album which has been concerned by the manipulation of theMedia.MediagetMedia()The media.
-
-
-
Method Detail
-
getAlbumId
public String getAlbumId()
Gets the identifier of the album which has been concerned by the manipulation of theMedia.- Returns:
- a string.
-
getAlbum
public AlbumDetail getAlbum()
Gets theAlbumDetailwhich has been concerned by the manipulation of theMedia.- Returns:
- the cached
AlbumDetail.
-
-