Package org.silverpeas.components.gallery.dao

## Class PhotoDAO

- java.lang.Object
- - org.silverpeas.components.gallery.dao.PhotoDAO

-     public class PhotoDAO
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Collection<Photo>` | `getAllPhoto​(String albumId, String instanceId, MediaCriteria.VISIBILITY visibility)` |
    `static Photo` | `getPhoto​(String photoId)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getPhoto

          public static Photo getPhoto​(String photoId)
                                throws SQLException

      Throws:
        `SQLException`

    - #### getAllPhoto

          public static Collection<Photo> getAllPhoto​(String albumId,
                                                      String instanceId,
                                                      MediaCriteria.VISIBILITY visibility)
                                               throws SQLException

      Throws:
        `SQLException`