## Uses of Class
org.silverpeas.components.gallery.Watermark

- Packages that use Watermark
  Package | Description
  --- | ---
  org.silverpeas.components.gallery |
  org.silverpeas.components.gallery.process |
  org.silverpeas.components.gallery.process.media |
  org.silverpeas.components.gallery.service |

- - ### Uses of Watermark in org.silverpeas.components.gallery

    Methods in org.silverpeas.components.gallery that return Watermark
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Watermark` | GalleryComponentSettings.`getWatermark​(String componentInstanceId)` |

    Methods in org.silverpeas.components.gallery with parameters of type Watermark
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | MediaUtil.`processPhoto​(org.silverpeas.core.process.io.file.FileHandler fileHandler, Photo photo, File image, Watermark watermark)` | Saves uploaded photo file on file system with associated thumbnails and watermarks.
    `static void` | MediaUtil.`processPhoto​(org.silverpeas.core.process.io.file.FileHandler fileHandler, Photo photo, org.apache.commons.fileupload.FileItem image, Watermark watermark)` | Saves uploaded photo file on file system with associated thumbnails and watermarks.

  - ### Uses of Watermark in org.silverpeas.components.gallery.process

    Methods in org.silverpeas.components.gallery.process with parameters of type Watermark
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | GalleryProcessManagement.`addCreateMediaProcesses​(Media media, String albumId, Object file, Watermark watermark, MediaDataCreateDelegate delegate)` |
    `void` | GalleryProcessManagement.`addUpdateMediaProcesses​(Media media, Watermark watermark, MediaDataUpdateDelegate delegate)` |

  - ### Uses of Watermark in org.silverpeas.components.gallery.process.media

    Methods in org.silverpeas.components.gallery.process.media with parameters of type Watermark
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GalleryCreateMediaFileProcess` | GalleryCreateMediaFileProcess.`getInstance​(Media media, Object file, Watermark watermark)` | Gets an instance
    `static GalleryUpdateMediaFileProcess` | GalleryUpdateMediaFileProcess.`getInstance​(Media media, org.apache.commons.fileupload.FileItem fileItem, Watermark watermark)` | Gets an instance

    Constructors in org.silverpeas.components.gallery.process.media with parameters of type Watermark
    Constructor | Description
    --- | ---
    `GalleryCreateMediaFileProcess​(Media media, Object file, Watermark watermark)` | Default hidden constructor
    `GalleryUpdateMediaFileProcess​(Media media, org.apache.commons.fileupload.FileItem fileItem, Watermark watermark)` | Default hidden constructor

  - ### Uses of Watermark in org.silverpeas.components.gallery.service

    Methods in org.silverpeas.components.gallery.service with parameters of type Watermark
    Modifier and Type | Method | Description
    --- | --- | ---
    `Media` | DefaultGalleryService.`createMedia​(org.silverpeas.core.admin.user.model.UserDetail user, String componentInstanceId, Watermark watermark, MediaDataCreateDelegate delegate)` |
    `Media` | GalleryService.`createMedia​(org.silverpeas.core.admin.user.model.UserDetail user, String componentInstanceId, Watermark watermark, MediaDataCreateDelegate delegate)` |
    `void` | DefaultGalleryService.`updateMedia​(org.silverpeas.core.admin.user.model.UserDetail user, String componentInstanceId, Media media, Watermark watermark, MediaDataUpdateDelegate delegate)` |
    `void` | GalleryService.`updateMedia​(org.silverpeas.core.admin.user.model.UserDetail user, String componentInstanceId, Media media, Watermark watermark, MediaDataUpdateDelegate delegate)` |