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
public class SoundEntity extends AbstractMediaEntity<SoundEntity>
- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SoundEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoundEntity
createFrom(Sound sound)
Creates a new sound entity from the specified sound.URI
getEmbedUrl()
Get embed URL.-
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
-
-
-
-
Method Detail
-
createFrom
public static SoundEntity createFrom(Sound sound)
Creates a new sound entity from the specified sound.- Parameters:
sound
-- Returns:
- the entity representing the specified sound.
-
getEmbedUrl
public URI getEmbedUrl()
Get embed URL.- Returns:
-
-