## Uses of Class
org.silverpeas.components.gallery.model.Photo

- Packages that use Photo
  Package | Description
  --- | ---
  org.silverpeas.components.gallery |
  org.silverpeas.components.gallery.dao |
  org.silverpeas.components.gallery.model |
  org.silverpeas.components.gallery.service |

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

    Methods in org.silverpeas.components.gallery with parameters of type Photo
    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.
    `static void` | MediaUtil.`setMetaData​(org.silverpeas.core.process.io.file.FileHandler fileHandler, Photo photo)` | Sets metadata to given instance which represents a photo in memory.

  - ### Uses of Photo in org.silverpeas.components.gallery.dao

    Methods in org.silverpeas.components.gallery.dao that return Photo
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Photo` | PhotoDAO.`getPhoto​(String photoId)` |

    Methods in org.silverpeas.components.gallery.dao that return types with arguments of type Photo
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Collection<Photo>` | PhotoDAO.`getAllPhoto​(String albumId, String instanceId, MediaCriteria.VISIBILITY visibility)` |

  - ### Uses of Photo in org.silverpeas.components.gallery.model

    Methods in org.silverpeas.components.gallery.model that return Photo
    Modifier and Type | Method | Description
    --- | --- | ---
    `Photo` | Photo.`getCopy()` |
    `Photo` | Media.`getPhoto()` | Gets the photo instance if type of the current media is `MediaType.Photo`.

    Constructors in org.silverpeas.components.gallery.model with parameters of type Photo
    Constructor | Description
    --- | ---
    `Photo​(Photo other)` |

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

    Methods in org.silverpeas.components.gallery.service that return Photo
    Modifier and Type | Method | Description
    --- | --- | ---
    `Photo` | DefaultGalleryService.`getPhoto​(MediaPK mediaPK)` |
    `Photo` | GalleryService.`getPhoto​(MediaPK mediaPK)` |

    Methods in org.silverpeas.components.gallery.service that return types with arguments of type Photo
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<Photo>` | DefaultGalleryService.`getAllPhotos​(org.silverpeas.core.node.model.NodePK nodePK)` |
    `Collection<Photo>` | DefaultGalleryService.`getAllPhotos​(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)` |
    `Collection<Photo>` | GalleryService.`getAllPhotos​(org.silverpeas.core.node.model.NodePK nodePK)` |
    `Collection<Photo>` | GalleryService.`getAllPhotos​(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)` |