Uses of Class
com.silverpeas.gallery.model.Media

Packages that use Media
com.silverpeas.gallery   
com.silverpeas.gallery.constant   
com.silverpeas.gallery.control   
com.silverpeas.gallery.control.ejb   
com.silverpeas.gallery.dao   
com.silverpeas.gallery.delegate   
com.silverpeas.gallery.model   
com.silverpeas.gallery.process   
com.silverpeas.gallery.process.media   
com.silverpeas.gallery.web   
 

Uses of Media in com.silverpeas.gallery
 

Methods in com.silverpeas.gallery with parameters of type Media
 int GalleryContentManager.createSilverContent(Connection con, Media media, String userId)
          add a new content.
 

Uses of Media in com.silverpeas.gallery.constant
 

Methods in com.silverpeas.gallery.constant with type parameters of type Media
<MEDIA extends Media>
MEDIA
MediaType.newInstance()
          Instantiates a new model instance according to the media type.
 

Methods in com.silverpeas.gallery.constant with parameters of type Media
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.media.video.ThumbnailPeriod thumbnail)
          Centralized the build of a video thumbnail URI according to the given ThumbnailPeriod.
 

Uses of Media in com.silverpeas.gallery.control
 

Methods in com.silverpeas.gallery.control that return Media
 Media GallerySessionController.getMedia(String mediaId)
           
 Media GallerySessionController.getNext()
           
 Media GallerySessionController.getPrevious()
           
 

Methods in com.silverpeas.gallery.control that return types with arguments of type Media
 Collection<Media> GallerySessionController.getAllMedia(AlbumDetail album)
           
 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.search.searchEngine.model.QueryDescription query)
           
 

Methods in com.silverpeas.gallery.control with parameters of type Media
 List<com.silverpeas.comment.model.Comment> GallerySessionController.getAllComments(Media media)
           
 MediaResolution GallerySessionController.getImageResolutionPreview(Media media)
          Get the resolution preview of the images
 void GallerySessionController.updateMedia(Media media)
           
 

Method parameters in com.silverpeas.gallery.control with type arguments of type Media
 void GalleryExporter.exportPhotos(com.silverpeas.export.ImportExportDescriptor exportDescriptor, List<Media> medias, com.silverpeas.importExport.report.ExportReport exportReport)
           
 void GallerySessionController.setRestrictedListMedia(Collection<Media> restrictedListMedia)
           
 void GallerySessionController.setSearchResultListMedia(Collection<Media> searchResultListMedia)
           
 

Uses of Media in com.silverpeas.gallery.control.ejb
 

Methods in com.silverpeas.gallery.control.ejb that return Media
 Media GalleryBm.createMedia(com.stratelia.webactiv.beans.admin.UserDetail user, String componentInstanceId, boolean watermark, String watermarkHD, String watermarkOther, MediaDataCreateDelegate delegate)
           
 Media GalleryBmEJB.createMedia(com.stratelia.webactiv.beans.admin.UserDetail user, String componentInstanceId, boolean watermark, String watermarkHD, String watermarkOther, MediaDataCreateDelegate delegate)
           
 Media GalleryBm.getMedia(MediaPK mediaPK)
           
 Media GalleryBmEJB.getMedia(MediaPK mediaPK)
           
 Media GalleryBm.getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)
           
 Media GalleryBmEJB.getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)
           
 

Methods in com.silverpeas.gallery.control.ejb that return types with arguments of type Media
 Collection<Media> GalleryBm.getAllMedia(com.stratelia.webactiv.util.node.model.NodePK nodePK)
           
 Collection<Media> GalleryBmEJB.getAllMedia(com.stratelia.webactiv.util.node.model.NodePK nodePK)
           
 Collection<Media> GalleryBm.getAllMedia(com.stratelia.webactiv.util.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)
           
 Collection<Media> GalleryBmEJB.getAllMedia(com.stratelia.webactiv.util.node.model.NodePK nodePK, MediaCriteria.VISIBILITY visibility)
           
 Collection<Media> GalleryBm.getAllMedia(String instanceId)
           
 Collection<Media> GalleryBmEJB.getAllMedia(String instanceId)
           
 Collection<Media> GalleryBm.getAllMedia(String instanceId, MediaCriteria.VISIBILITY visibility)
           
 Collection<Media> GalleryBmEJB.getAllMedia(String instanceId, MediaCriteria.VISIBILITY visibility)
           
 Collection<Media> GalleryBm.getAllMediaThatWillBeNotVisible(int nbDays)
           
 Collection<Media> GalleryBmEJB.getAllMediaThatWillBeNotVisible(int nbDays)
           
 List<Media> GalleryBm.getLastRegisteredMedia(String instanceId)
           
 List<Media> GalleryBmEJB.getLastRegisteredMedia(String instanceId)
           
 Collection<Media> GalleryBm.getNotVisible(String instanceId)
           
 Collection<Media> GalleryBmEJB.getNotVisible(String instanceId)
           
 Collection<Media> GalleryBm.search(org.silverpeas.search.searchEngine.model.QueryDescription query)
           
 Collection<Media> GalleryBmEJB.search(org.silverpeas.search.searchEngine.model.QueryDescription query)
           
 

Methods in com.silverpeas.gallery.control.ejb with parameters of type Media
 void GalleryBm.addMediaToAlbums(Media media, String... albums)
           
 void GalleryBmEJB.addMediaToAlbums(Media media, String... albums)
           
 Collection<String> GalleryBm.getAlbumIdsOf(Media media)
           
 Collection<String> GalleryBmEJB.getAlbumIdsOf(Media media)
           
 void GalleryBm.removeMediaFromAllAlbums(Media media)
           
 void GalleryBmEJB.removeMediaFromAllAlbums(Media media)
           
 void GalleryBm.updateMedia(com.stratelia.webactiv.beans.admin.UserDetail user, String componentInstanceId, Media media, boolean watermark, String watermarkHD, String watermarkOther, MediaDataUpdateDelegate delegate)
           
 void GalleryBmEJB.updateMedia(com.stratelia.webactiv.beans.admin.UserDetail user, String componentInstanceId, Media media, boolean watermark, String watermarkHD, String watermarkOther, MediaDataUpdateDelegate delegate)
           
 

Uses of Media in com.silverpeas.gallery.dao
 

Methods in com.silverpeas.gallery.dao that return Media
static Media MediaDAO.getByCriteria(Connection con, MediaCriteria criteria)
          Gets the media behind the specified criteria.
 

Methods in com.silverpeas.gallery.dao that return types with arguments of type Media
static List<Media> MediaDAO.findByCriteria(Connection con, MediaCriteria criteria)
          Finds media according to the given criteria.
 List<Media> MediaSQLQueryBuilder.orderingResult(List<Media> media)
           
 

Methods in com.silverpeas.gallery.dao with parameters of type Media
static void MediaDAO.deleteAllMediaPath(Connection con, Media media)
          Deletes the paths of the specified media.
static void MediaDAO.deleteMedia(Connection con, Media media)
          Deletes the specified media (and its paths).
static Collection<String> MediaDAO.getAlbumIdsOf(Connection con, Media media)
          Gets the paths of a media.
static String MediaDAO.saveMedia(Connection con, org.silverpeas.persistence.repository.OperationContext context, Media media)
          Saves (insert or update) a media.
static void MediaDAO.saveMediaPath(Connection con, Media media, String albumId)
          Saves the path of the media.
 

Method parameters in com.silverpeas.gallery.dao with type arguments of type Media
 List<Media> MediaSQLQueryBuilder.orderingResult(List<Media> media)
           
 

Uses of Media in com.silverpeas.gallery.delegate
 

Methods in com.silverpeas.gallery.delegate that return Media
 Media MediaDataCreateDelegate.newInstance()
          Gets a new media instance according to known media type.
 

Methods in com.silverpeas.gallery.delegate that return types with arguments of type Media
 Map<Media,Boolean> GalleryPasteDelegate.getMediaToPaste()
           
 

Methods in com.silverpeas.gallery.delegate with parameters of type Media
 void GalleryPasteDelegate.addMedia(Media media, boolean isCutted)
          Adds a media to paste
 void AbstractMediaDataDelegate.updateHeader(Media media)
          Perform a header data update
 

Uses of Media in com.silverpeas.gallery.model
 

Subclasses of Media in com.silverpeas.gallery.model
 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 com.silverpeas.gallery.model that return Media
 Media MediaWithStatus.getMedia()
           
 

Methods in com.silverpeas.gallery.model that return types with arguments of type Media
 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 com.silverpeas.gallery.model with parameters of type Media
protected  com.silverpeas.util.comparator.AbstractComplexComparator.ValueBuffer MediaLogicalComparator.getValuesToCompare(Media media)
           
 

Method parameters in com.silverpeas.gallery.model with type arguments of type Media
 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 com.silverpeas.gallery.model with parameters of type Media
MediaSelection(Media media)
           
MediaWithStatus(Media media, boolean update)
           
 

Uses of Media in com.silverpeas.gallery.process
 

Methods in com.silverpeas.gallery.process that return Media
protected  Media AbstractGalleryDataProcess.getMedia()
           
protected  Media AbstractGalleryFileProcess.getMedia()
           
 

Methods in com.silverpeas.gallery.process with parameters of type Media
 void GalleryProcessManagement.addCreateMediaProcesses(Media media, String albumId, Object file, boolean watermark, String watermarkHD, String watermarkOther, MediaDataCreateDelegate delegate)
          Adds processes to create the given media
 void GalleryProcessManagement.addDeleteMediaProcesses(Media media)
          Adds processes to delete the given media
 void GalleryProcessManagement.addIndexMediaProcesses(Media media)
          Adds processes to index the given media
 void GalleryProcessManagement.addPasteMediaProcesses(Media mediaToPaste, com.stratelia.webactiv.util.node.model.NodePK toAlbum, boolean isCutted)
          Adds processes to paste the given media to the given album
 void GalleryProcessManagement.addUpdateMediaProcesses(Media media, boolean watermark, String watermarkHD, String watermarkOther, MediaDataUpdateDelegate delegate)
          Adds processes to update the given media
 

Constructors in com.silverpeas.gallery.process with parameters of type Media
AbstractGalleryDataProcess(Media media)
          Default constructor
AbstractGalleryFileProcess(Media media)
          Default constructor
 

Uses of Media in com.silverpeas.gallery.process.media
 

Methods in com.silverpeas.gallery.process.media with parameters of type Media
static GalleryIndexMediaDataProcess GalleryIndexMediaDataProcess.getInstance(Media media)
          Process to index a media in Database
static GalleryDeleteMediaFileProcess GalleryDeleteMediaFileProcess.getInstance(Media media)
          Gets an instance
static GalleryDeleteMediaDataProcess GalleryDeleteMediaDataProcess.getInstance(Media media)
          Gets an instance
static GalleryUpdateMediaDataProcess GalleryUpdateMediaDataProcess.getInstance(Media media)
          Gets an instance
static GalleryDeindexMediaDataProcess GalleryDeindexMediaDataProcess.getInstance(Media media)
          Process to deindex a media in Database
static GalleryUpdateMediaFileProcess GalleryUpdateMediaFileProcess.getInstance(Media media, org.apache.commons.fileupload.FileItem fileItem, boolean watermark, String watermarkHD, String watermarkOther)
          Gets an instance
static GalleryUpdateMediaDataProcess GalleryUpdateMediaDataProcess.getInstance(Media media, MediaDataUpdateDelegate delegate)
          Gets an instance
static GalleryPasteMediaFileProcess GalleryPasteMediaFileProcess.getInstance(Media media, MediaPK fromMediaPk, boolean isCutted)
          Gets an instance
static GalleryCreateMediaFileProcess GalleryCreateMediaFileProcess.getInstance(Media media, Object file, boolean watermark, String watermarkHD, String watermarkOther)
          Gets an instance
static GalleryCreateMediaDataProcess GalleryCreateMediaDataProcess.getInstance(Media media, String albumId, MediaDataCreateDelegate delegate)
          Gets an instance
static GalleryPasteMediaDataProcess GalleryPasteMediaDataProcess.getInstance(Media media, String albumId, MediaPK fromMediaPk, boolean isCutted)
          Default hidden constructor
 

Constructors in com.silverpeas.gallery.process.media with parameters of type Media
GalleryCreateMediaDataProcess(Media media, String albumId, MediaDataCreateDelegate delegate)
          Default hidden constructor
GalleryCreateMediaFileProcess(Media media, Object file, boolean watermark, String watermarkHD, String watermarkOther)
          Default hidden constructor
GalleryDeindexMediaDataProcess(Media media)
          Default hidden conctructor
GalleryDeleteMediaDataProcess(Media media)
          Default hidden constructor
GalleryDeleteMediaFileProcess(Media media)
          Default hidden constructor
GalleryIndexMediaDataProcess(Media media)
          Default hidden conctructor
GalleryPasteMediaDataProcess(Media media, String albumId, MediaPK fromMediaPk, boolean isCutted)
          Default hidden constructor
GalleryPasteMediaFileProcess(Media media, MediaPK fromMediaPk, boolean isCutted)
          Default hidden constructor
GalleryUpdateMediaDataProcess(Media media, MediaDataUpdateDelegate delegate, boolean updateTechnicalData)
          Default hidden constructor
GalleryUpdateMediaFileProcess(Media media, org.apache.commons.fileupload.FileItem fileItem, boolean watermark, String watermarkHD, String watermarkOther)
          Default hidden constructor
 

Uses of Media in com.silverpeas.gallery.web
 

Methods in com.silverpeas.gallery.web with parameters of type Media
protected  boolean AbstractGalleryResource.hasUserMediaAccess(Media media)
          Centralization
protected  void AbstractGalleryResource.verifyMediaIsInAlbum(Media media, AlbumDetail album)
          Verifying that the given photo is included in the given album.
protected  void AbstractGalleryResource.verifyUserMediaAccess(Media media)
          Verifying that the authenticated user is authorized to view the given photo.
 

Method parameters in com.silverpeas.gallery.web with type arguments of type Media
 void MediaSort.perform(List<Media> mediaList)
          Performs the sort of the specified list.
 

Constructors in com.silverpeas.gallery.web with parameters of type Media
AbstractMediaEntity(Media media)
          Instantiating a new web entity from the corresponding data
 



Copyright © 2016 Silverpeas. All Rights Reserved.