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:
  • Constructor Details

    • AlbumMedia

      public AlbumMedia(String albumId, Media media)
  • Method Details

    • getAlbumId

      public String getAlbumId()
      Gets the identifier of the album which has been concerned by the manipulation of the Media.
      Returns:
      a string.
    • getAlbum

      public AlbumDetail getAlbum()
      Gets the AlbumDetail which has been concerned by the manipulation of the Media.
      Returns:
      the cached AlbumDetail.
    • getMedia

      public Media getMedia()
      The media.
      Returns:
      a Media.