com.silverpeas.gallery.web
Class MediaBuilder.SoundMock

java.lang.Object
  extended by com.silverpeas.gallery.model.Media
      extended by com.silverpeas.gallery.model.InternalMedia
          extended by com.silverpeas.gallery.model.Sound
              extended by com.silverpeas.gallery.web.MediaBuilder.SoundMock
All Implemented Interfaces:
com.silverpeas.SilverpeasContent, com.stratelia.silverpeas.contentManager.SilverContentInterface, Serializable
Enclosing class:
MediaBuilder

protected class MediaBuilder.SoundMock
extends Sound

Mock of sound entity

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.silverpeas.gallery.model.Media
BASE_PATH
 
Constructor Summary
MediaBuilder.SoundMock(String soundId, String componentId)
           
 
Method Summary
 boolean canBeAccessedBy(com.stratelia.webactiv.beans.admin.UserDetail user)
           
 org.silverpeas.file.SilverpeasFile getFile(MediaResolution mediaResolution)
           
 
Methods inherited from class com.silverpeas.gallery.model.Sound
getBitrate, getDuration, getResourceType, getType, setBitrate, setDuration
 
Methods inherited from class com.silverpeas.gallery.model.InternalMedia
addMetaData, getApplicationThumbnailUrl, getDownloadPeriod, getFileMimeType, getFileName, getFileSize, getMetaData, getMetaDataProperties, isDownloadable, isDownloadAuthorized, setDownloadAuthorized, setDownloadPeriod, setFileMimeType, setFileName, setFileSize
 
Methods inherited from class com.silverpeas.gallery.model.Media
addToAlbums, equals, getApplicationEmbedUrl, getApplicationOriginalUrl, getAuthor, getComponentInstanceId, getContributionType, getCreationDate, getCreator, getCreatorId, getCreatorName, getDate, getDescription, getDescription, getGreatestUserRole, getIconUrl, getId, getInstanceId, getInternalMedia, getKeyWord, getLanguages, getLastUpdateDate, getLastUpdatedBy, getLastUpdater, getLastUpdaterName, getMediaPK, getName, getName, getPermalink, getPhoto, getSilverCreationDate, getSilverpeasContentId, getSound, getStreaming, getTitle, getURL, getVideo, getVisibilityPeriod, getWorkspaceSubFolderName, hashCode, isPreviewable, isVisible, isVisible, removeFromAllAlbums, setAuthor, setComponentInstanceId, setCreationDate, setCreator, setCreatorId, setDescription, setIconUrl, setId, setKeyWord, setLastUpdateDate, setLastUpdatedBy, setLastUpdater, setMediaPK, setSilverpeasContentId, setTitle, setToAlbums, setVisibilityPeriod, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaBuilder.SoundMock

public MediaBuilder.SoundMock(String soundId,
                              String componentId)
Method Detail

canBeAccessedBy

public boolean canBeAccessedBy(com.stratelia.webactiv.beans.admin.UserDetail user)
Specified by:
canBeAccessedBy in interface com.silverpeas.SilverpeasContent
Overrides:
canBeAccessedBy in class Media

getFile

public org.silverpeas.file.SilverpeasFile getFile(MediaResolution mediaResolution)
Overrides:
getFile in class InternalMedia


Copyright © 2016 Silverpeas. All Rights Reserved.