Package org.silverpeas.components.gallery.dao

# Class PhotoDAO

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

public class PhotoDAO extends Object

- ## Method Summary

  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 Details

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