Package org.silverpeas.components.gallery.delegate

## 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
    --- | --- | ---
    `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