Uses of Class
org.silverpeas.components.gallery.model.Media
-
-
Uses of Media in org.silverpeas.components.gallery.constant
Methods in org.silverpeas.components.gallery.constant with type parameters of type Media Modifier and Type Method Description <M extends Media>
MMediaType. newInstance()
Instantiates a new model instance according to the media type.Methods in org.silverpeas.components.gallery.constant with parameters of type Media Modifier and Type Method Description static URI
GalleryResourceURIs. buildMediaContentURI(Media media, MediaResolution mediaResolution)
Centralized the build of a media content URI according to the specified resolution.static URI
GalleryResourceURIs. buildMediaEmbedURI(Media media, MediaResolution mediaResolution)
Centralized the build of a media embed URI according to the specified resolution.static URI
GalleryResourceURIs. buildMediaInAlbumURI(AlbumDetail album, Media media)
Centralized the build of a media URI contained in a specified album.static URI
GalleryResourceURIs. buildVideoThumbnailURI(Media media, org.silverpeas.core.io.media.video.ThumbnailPeriod thumbnail)
Centralized the build of a video thumbnail URI according to the given ThumbnailPeriod. -
Uses of Media in org.silverpeas.components.gallery.control
Methods in org.silverpeas.components.gallery.control that return Media Modifier and Type Method Description Media
GallerySessionController. getMedia(String mediaId)
Media
GallerySessionController. getNext()
Media
GallerySessionController. getPrevious()
Methods in org.silverpeas.components.gallery.control that return types with arguments of type Media Modifier and Type Method Description List<Media>
GallerySessionController. getBasketMedias()
List<Media>
GallerySessionController. getLastRegisteredMedia()
Collection<Media>
GallerySessionController. getNotVisible()
List<Media>
GallerySessionController. getRestrictedListMedia()
List<Media>
GallerySessionController. getSearchResultListMedia()
Collection<Media>
GallerySessionController. search(org.silverpeas.core.index.search.model.QueryDescription query)
Methods in org.silverpeas.components.gallery.control with parameters of type Media Modifier and Type Method Description List<org.silverpeas.core.comment.model.Comment>
GallerySessionController. getAllComments(Media media)
MediaResolution
GallerySessionController. getImageResolutionPreview(Media media)
Get the resolution preview of the imagesvoid
GallerySessionController. updateMedia(Media media)
Method parameters in org.silverpeas.components.gallery.control with type arguments of type Media Modifier and Type Method Description void
GalleryExporter. exportPhysicalMedias(org.silverpeas.core.importexport.ImportExportDescriptor exportDescriptor, List<Media> medias, org.silverpeas.core.importexport.report.ExportReport exportReport)
void
GallerySessionController. setRestrictedListMedia(Collection<Media> restrictedListMedia)
void
GallerySessionController. setSearchResultListMedia(Collection<Media> searchResultListMedia)
-
Uses of Media in org.silverpeas.components.gallery.dao
Methods in org.silverpeas.components.gallery.dao that return Media Modifier and Type Method Description static Media
MediaDAO. getByCriteria(MediaCriteria criteria)
Gets the media behind the specified criteria.Methods in org.silverpeas.components.gallery.dao that return types with arguments of type Media Modifier and Type Method Description static List<Media>
MediaDAO. findByCriteria(MediaCriteria criteria)
Finds media according to the given criteria.List<Media>
MediaSQLQueryBuilder. orderingResult(List<Media> media)
Methods in org.silverpeas.components.gallery.dao with parameters of type Media Modifier and Type Method Description static void
MediaDAO. deleteAllMediaPath(Media media)
Deletes the album links of the specified media.static void
MediaDAO. deleteMedia(Media media)
Deletes the specified media (and its album links).static Collection<String>
MediaDAO. getAlbumIdsOf(Media media)
Gets the identifier list of albums which the given media is associated to.static String
MediaDAO. saveMedia(org.silverpeas.core.persistence.datasource.OperationContext context, Media media)
Saves (insert or update) a media.static void
MediaDAO. saveMediaPath(Media media, String albumId)
Saves the album link for the given media.Method parameters in org.silverpeas.components.gallery.dao with type arguments of type Media Modifier and Type Method Description List<Media>
MediaSQLQueryBuilder. orderingResult(List<Media> media)
-
Uses of Media in org.silverpeas.components.gallery.delegate
Methods in org.silverpeas.components.gallery.delegate that return Media Modifier and Type Method Description Media
MediaDataCreateDelegate. newInstance()
Gets a new media instance according to known media type.Methods in org.silverpeas.components.gallery.delegate that return types with arguments of type Media Modifier and Type Method Description Map<Media,Boolean>
GalleryPasteDelegate. getMediaToPaste()
Methods in org.silverpeas.components.gallery.delegate with parameters of type Media Modifier and Type Method Description void
GalleryPasteDelegate. addMedia(Media media, boolean isCutted)
Adds a media to pastevoid
AbstractMediaDataDelegate. updateHeader(Media media)
Perform a header data update -
Uses of Media in org.silverpeas.components.gallery.model
Subclasses of Media in org.silverpeas.components.gallery.model Modifier and Type Class Description class
InternalMedia
This class represents a Media that the content (the file in other words) is saved on the Silverpeas workspace.class
Photo
This class represents a Photo.class
Sound
This class represents a Sound.class
Streaming
This class represents a Streaming.class
Video
This class represents a Video.Methods in org.silverpeas.components.gallery.model that return Media Modifier and Type Method Description abstract Media
Media. getCopy()
Creates a copy of the instance.Media
AlbumMedia. getMedia()
The media.Media
MediaWithStatus. getMedia()
Methods in org.silverpeas.components.gallery.model that return types with arguments of type Media Modifier and Type Method Description List<Media>
AlbumDetail. getMedia()
List<Media>
MediaCriteriaProcessor. orderingResult(List<Media> media)
This method must be called after the media list is entirely loaded.Methods in org.silverpeas.components.gallery.model with parameters of type Media Modifier and Type Method Description protected org.silverpeas.core.util.comparator.AbstractComplexComparator.ValueBuffer
MediaLogicalComparator. getValuesToCompare(Media media)
Method parameters in org.silverpeas.components.gallery.model with type arguments of type Media Modifier and Type Method Description List<Media>
MediaCriteriaProcessor. orderingResult(List<Media> media)
This method must be called after the media list is entirely loaded.void
AlbumDetail. setMedia(Collection<Media> media)
Constructors in org.silverpeas.components.gallery.model with parameters of type Media Constructor Description AlbumMedia(String albumId, Media media)
Media(Media other)
MediaSelection(Media media)
MediaWithStatus(Media media, boolean update)
-
Uses of Media in org.silverpeas.components.gallery.notification.user
Methods in org.silverpeas.components.gallery.notification.user with parameters of type Media Modifier and Type Method Description protected void
GalleryUserAlertNotification. perform(Media resource)
protected void
GalleryUserAlertNotification. performNotificationResource(String language, Media resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
protected void
GalleryUserAlertNotification. performTemplateData(String language, Media resource, org.silverpeas.core.template.SilverpeasTemplate template)
Constructors in org.silverpeas.components.gallery.notification.user with parameters of type Media Constructor Description GalleryUserAlertNotification(org.silverpeas.core.node.model.NodePK nodePK, Media resource, org.silverpeas.core.admin.user.model.User sender)
-
Uses of Media in org.silverpeas.components.gallery.process
Methods in org.silverpeas.components.gallery.process that return Media Modifier and Type Method Description protected Media
AbstractGalleryDataProcess. getMedia()
protected Media
AbstractGalleryFileProcess. getMedia()
Methods in org.silverpeas.components.gallery.process with parameters of type Media Modifier and Type Method Description void
GalleryProcessManagement. addCreateMediaProcesses(Media media, String albumId, Object file, Watermark watermark, MediaDataCreateDelegate delegate)
Adds processes to create the given mediavoid
GalleryProcessManagement. addDeleteMediaProcesses(Media media)
Adds processes to delete the given mediavoid
GalleryProcessManagement. addIndexMediaProcesses(Media media)
Adds processes to index the given mediavoid
GalleryProcessManagement. addPasteMediaProcesses(Media mediaToPaste, org.silverpeas.core.node.model.NodePK toAlbum, boolean isCutted)
Adds processes to paste the given media to the given albumvoid
GalleryProcessManagement. addUpdateMediaProcesses(Media media, Watermark watermark, MediaDataUpdateDelegate delegate)
Adds processes to update the given mediaConstructors in org.silverpeas.components.gallery.process with parameters of type Media Constructor Description AbstractGalleryDataProcess(Media media)
Default constructorAbstractGalleryFileProcess(Media media)
Default constructor -
Uses of Media in org.silverpeas.components.gallery.process.media
Methods in org.silverpeas.components.gallery.process.media with parameters of type Media Modifier and Type Method Description static GalleryCreateMediaDataProcess
GalleryCreateMediaDataProcess. getInstance(Media media, String albumId, MediaDataCreateDelegate delegate)
Gets an instancestatic GalleryCreateMediaFileProcess
GalleryCreateMediaFileProcess. getInstance(Media media, Object file, Watermark watermark)
Gets an instancestatic GalleryDeindexMediaDataProcess
GalleryDeindexMediaDataProcess. getInstance(Media media)
Process to deindex a media in Databasestatic GalleryDeleteMediaDataProcess
GalleryDeleteMediaDataProcess. getInstance(Media media)
Gets an instancestatic GalleryDeleteMediaFileProcess
GalleryDeleteMediaFileProcess. getInstance(Media media)
Gets an instancestatic GalleryIndexMediaDataProcess
GalleryIndexMediaDataProcess. getInstance(Media media)
Process to index a media in Databasestatic GalleryPasteMediaDataProcess
GalleryPasteMediaDataProcess. getInstance(Media media, String albumId, MediaPK fromMediaPk, boolean isCutted)
Default hidden constructorstatic GalleryPasteMediaFileProcess
GalleryPasteMediaFileProcess. getInstance(Media media, MediaPK fromMediaPk, boolean isCutted)
Gets an instancestatic GalleryUpdateMediaDataProcess
GalleryUpdateMediaDataProcess. getInstance(Media media)
Gets an instancestatic GalleryUpdateMediaDataProcess
GalleryUpdateMediaDataProcess. getInstance(Media media, MediaDataUpdateDelegate delegate)
Gets an instancestatic GalleryUpdateMediaFileProcess
GalleryUpdateMediaFileProcess. getInstance(Media media, org.apache.commons.fileupload.FileItem fileItem, Watermark watermark)
Gets an instanceConstructors in org.silverpeas.components.gallery.process.media with parameters of type Media Constructor Description GalleryCreateMediaDataProcess(Media media, String albumId, MediaDataCreateDelegate delegate)
Default hidden constructorGalleryCreateMediaFileProcess(Media media, Object file, Watermark watermark)
Default hidden constructorGalleryDeindexMediaDataProcess(Media media)
Default hidden conctructorGalleryDeleteMediaDataProcess(Media media)
Default hidden constructorGalleryDeleteMediaFileProcess(Media media)
Default hidden constructorGalleryIndexMediaDataProcess(Media media)
Default hidden constructorGalleryPasteMediaDataProcess(Media media, String albumId, MediaPK fromMediaPk, boolean isCutted)
Default hidden constructorGalleryPasteMediaFileProcess(Media media, MediaPK fromMediaPk, boolean isCutted)
Default hidden constructorGalleryUpdateMediaDataProcess(Media media, MediaDataUpdateDelegate delegate, boolean updateTechnicalData)
Default hidden constructorGalleryUpdateMediaFileProcess(Media media, org.apache.commons.fileupload.FileItem fileItem, Watermark watermark)
Default hidden constructor -
Uses of Media in org.silverpeas.components.gallery.service
Methods in org.silverpeas.components.gallery.service that return Media 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)
Media
DefaultGalleryService. getMedia(MediaPK mediaPK)
Media
DefaultGalleryService. getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)
Media
GalleryService. getMedia(MediaPK mediaPK)
Media
GalleryService. getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)
Methods in org.silverpeas.components.gallery.service that return types with arguments of type Media Modifier and Type Method Description 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<Media>
DefaultGalleryService. getAllMediaThatWillBeNotVisible(int nbDays)
Collection<Media>
GalleryService. getAllMediaThatWillBeNotVisible(int nbDays)
Optional<Media>
DefaultGalleryService. getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)
Optional<Media>
GalleryService. getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)
List<Media>
DefaultGalleryService. getLastRegisteredMedia(String instanceId)
List<Media>
GalleryService. getLastRegisteredMedia(String instanceId)
List<Media>
DefaultGalleryService. getMedia(List<String> mediaIds, String componentInstanceId)
List<Media>
DefaultGalleryService. getMedia(List<String> mediaIds, String componentInstanceId, MediaCriteria.VISIBILITY visibility)
List<Media>
GalleryService. getMedia(List<String> mediaIds, String componentInstanceId)
List<Media>
GalleryService. getMedia(List<String> mediaIds, String componentInstanceId, MediaCriteria.VISIBILITY visibility)
Collection<Media>
DefaultGalleryService. getNotVisible(String instanceId)
Collection<Media>
GalleryService. getNotVisible(String instanceId)
Collection<Media>
DefaultGalleryService. search(org.silverpeas.core.index.search.model.QueryDescription query)
Collection<Media>
GalleryService. search(org.silverpeas.core.index.search.model.QueryDescription query)
Methods in org.silverpeas.components.gallery.service with parameters of type Media Modifier and Type Method Description void
DefaultGalleryService. addMediaToAlbums(Media media, String... albums)
void
GalleryService. addMediaToAlbums(Media media, String... albums)
Collection<String>
DefaultGalleryService. getAlbumIdsOf(Media media)
Collection<String>
GalleryService. getAlbumIdsOf(Media media)
void
DefaultGalleryService. removeMediaFromAllAlbums(Media media)
void
GalleryService. removeMediaFromAllAlbums(Media media)
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)
-
Uses of Media in org.silverpeas.components.gallery.web
Method parameters in org.silverpeas.components.gallery.web with type arguments of type Media Modifier and Type Method Description void
MediaSort. perform(List<Media> mediaList)
Performs the sort of the specified list.Constructors in org.silverpeas.components.gallery.web with parameters of type Media Constructor Description AbstractMediaEntity(Media media)
Instantiating a new web entity from the corresponding data
-