com.silverpeas.gallery.delegate
Class GalleryPasteDelegate

java.lang.Object
  extended by com.silverpeas.gallery.delegate.GalleryPasteDelegate

public class GalleryPasteDelegate
extends Object

Author:
Yohann Chastagnier

Constructor Summary
GalleryPasteDelegate(AlbumDetail album)
           
 
Method Summary
 void addAlbum(AlbumDetail album, boolean isCutted)
          Adds an album to paste
 void addMedia(Media media, boolean isCutted)
          Adds a media to paste
 AlbumDetail getAlbum()
           
 Map<AlbumDetail,Boolean> getAlbumsToPaste()
           
 Map<Media,Boolean> getMediaToPaste()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

getMediaToPaste

public Map<Media,Boolean> getMediaToPaste()
Returns:
the mediaToPaste

getAlbumsToPaste

public Map<AlbumDetail,Boolean> getAlbumsToPaste()
Returns:
the albumsToPaste


Copyright © 2016 Silverpeas. All Rights Reserved.