Class SoundEntity
java.lang.Object
org.silverpeas.components.gallery.web.AbstractMediaEntity<SoundEntity>
org.silverpeas.components.gallery.web.SoundEntity
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.rs.WebEntity
- Author:
- Yohann Chastagnier
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoundEntitycreateFrom(Sound sound) Creates a new sound entity from the specified sound.Methods inherited from class org.silverpeas.components.gallery.web.AbstractMediaEntity
equals, getAuthor, getDescription, getHeight, getId, getParentURI, getThumbUrl, getTitle, getType, getURI, getUrl, getWidth, hashCode, setAuthor, setDescription, setId, setTitle, setType, withHeight, withOriginalUrl, withParentURI, withThumbUrl, withURI, withWidth
-
Constructor Details
-
SoundEntity
protected SoundEntity()
-
-
Method Details
-
createFrom
Creates a new sound entity from the specified sound.- Parameters:
sound- the sound from which the entity is created.- Returns:
- the entity representing the specified sound.
-
getEmbedUrl
-