com.silverpeas.gallery.web
Class VideoEntity

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

public class VideoEntity
extends AbstractMediaEntity<VideoEntity>

Author:
Yohann Chastagnier
See Also:
Serialized Form

Constructor Summary
protected VideoEntity()
           
 
Method Summary
static VideoEntity createFrom(Video video)
          Creates a new video entity from the specified video.
 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

VideoEntity

protected VideoEntity()
Method Detail

createFrom

public static VideoEntity createFrom(Video video)
Creates a new video entity from the specified video.

Parameters:
video -
Returns:
the entity representing the specified video.

getEmbedUrl

public URI getEmbedUrl()
Get embed URL.

Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.