# Uses of Enum Class
org.silverpeas.components.gallery.model.MediaCriteria.VISIBILITY

Packages that use MediaCriteria.VISIBILITY
Package
Description
org.silverpeas.components.gallery.dao
org.silverpeas.components.gallery.model
org.silverpeas.components.gallery.service

- ## Uses of MediaCriteria.VISIBILITY in org.silverpeas.components.gallery.dao

  Methods in org.silverpeas.components.gallery.dao with parameters of type MediaCriteria.VISIBILITY
  Modifier and Type
  Method
  Description
  `static Collection<Photo>`
  PhotoDAO.`getAllPhoto(String albumId, String instanceId, MediaCriteria.VISIBILITY visibility)`
  `MediaCriteriaProcessor`
  MediaSQLQueryBuilder.`processVisibility(MediaCriteria.VISIBILITY visibility, Date dateReference, org.silverpeas.core.admin.user.model.UserDetail creator)`

- ## Uses of MediaCriteria.VISIBILITY in org.silverpeas.components.gallery.model

  Methods in org.silverpeas.components.gallery.model that return MediaCriteria.VISIBILITY
  Modifier and Type
  Method
  Description
  `static MediaCriteria.VISIBILITY`
  MediaCriteria.VISIBILITY.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static MediaCriteria.VISIBILITY[]`
  MediaCriteria.VISIBILITY.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.silverpeas.components.gallery.model with parameters of type MediaCriteria.VISIBILITY
  Modifier and Type
  Method
  Description
  `MediaCriteriaProcessor`
  MediaCriteriaProcessor.`processVisibility(MediaCriteria.VISIBILITY visibility, Date dateReference, org.silverpeas.core.admin.user.model.UserDetail creator)`
  Processes the criterion on the media visibility.
  `MediaCriteria`
  MediaCriteria.`withVisibility(MediaCriteria.VISIBILITY visibility)`
  Sets the visibility criterion to find the medias according to their period of visibility.
  Constructors in org.silverpeas.components.gallery.model with parameters of type MediaCriteria.VISIBILITY
  Modifier
  Constructor
  Description
  ``
  `AlbumDetail(org.silverpeas.core.node.model.NodeDetail node, MediaCriteria.VISIBILITY mediaVisibility)`

- ## Uses of MediaCriteria.VISIBILITY in org.silverpeas.components.gallery.service

  Methods in org.silverpeas.components.gallery.service with parameters of type MediaCriteria.VISIBILITY
  Modifier and Type
  Method
  Description
  `long`
  DefaultGalleryService.`countAllMedia(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)`
  `long`
  GalleryService.`countAllMedia(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)`
  `AlbumDetail`
  DefaultGalleryService.`getAlbum(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)`
  `AlbumDetail`
  GalleryService.`getAlbum(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)`
  `Collection<Media>`
  DefaultGalleryService.`getAllMedia(String instanceId, MediaCriteria.VISIBILITY visibility)`
  `Collection<Media>`
  DefaultGalleryService.`getAllMedia(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)`
  `Collection<Media>`
  GalleryService.`getAllMedia(String instanceId, MediaCriteria.VISIBILITY visibility)`
  `Collection<Media>`
  GalleryService.`getAllMedia(org.silverpeas.core.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)`
  `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, MediaCriteria.VISIBILITY visibility)`
  `List<Media>`
  DefaultGalleryService.`getMedia(List<String> mediaIds, String componentInstanceId, MediaCriteria.VISIBILITY visibility)`
  `Media`
  DefaultGalleryService.`getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)`
  `List<Media>`
  GalleryService.`getMedia(List<String> mediaIds, String componentInstanceId, MediaCriteria.VISIBILITY visibility)`
  `Media`
  GalleryService.`getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)`