com.silverpeas.gallery.web
Class SoundEntity

java.lang.Object
  extended by com.silverpeas.gallery.web.AbstractMediaEntity<SoundEntity>
      extended by com.silverpeas.gallery.web.SoundEntity
All Implemented Interfaces:
com.silverpeas.web.Exposable, Serializable

public class SoundEntity
extends AbstractMediaEntity<SoundEntity>

Author:
Yohann Chastagnier
See Also:
Serialized Form

Constructor Summary
protected SoundEntity()
           
 
Method Summary
static SoundEntity createFrom(Sound sound)
          Creates a new sound entity from the specified sound.
 URI getEmbedUrl()
          Get embed URL.
 
Methods inherited from class com.silverpeas.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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundEntity

protected SoundEntity()
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:


Copyright © 2016 Silverpeas. All Rights Reserved.