Class GalleryPasteDelegate
- java.lang.Object
-
- org.silverpeas.components.gallery.delegate.GalleryPasteDelegate
-
public class GalleryPasteDelegate extends Object
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Constructor Description GalleryPasteDelegate(AlbumDetail album)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAlbum(AlbumDetail album, boolean isCutted)Adds an album to pastevoidaddMedia(Media media, boolean isCutted)Adds a media to pasteAlbumDetailgetAlbum()Map<AlbumDetail,Boolean>getAlbumsToPaste()Map<Media,Boolean>getMediaToPaste()
-
-
-
Constructor Detail
-
GalleryPasteDelegate
public GalleryPasteDelegate(AlbumDetail album)
-
-
Method Detail
-
addMedia
public void addMedia(Media media, boolean isCutted)
Adds a media to paste- Parameters:
media-isCutted-
-
addAlbum
public void addAlbum(AlbumDetail album, boolean isCutted)
Adds an album to paste- Parameters:
album-isCutted-
-
getAlbum
public AlbumDetail getAlbum()
- Returns:
- the album
-
getAlbumsToPaste
public Map<AlbumDetail,Boolean> getAlbumsToPaste()
- Returns:
- the albumsToPaste
-
-