Class VideoEntity
java.lang.Object
org.silverpeas.components.gallery.web.AbstractMediaEntity<VideoEntity>
org.silverpeas.components.gallery.web.VideoEntity
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.rs.WebEntity
- Author:
- Yohann Chastagnier
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoEntitycreateFrom(Video video) Creates a new video entity from the specified video.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
-
VideoEntity
protected VideoEntity()
-
-
Method Details
-
createFrom
Creates a new video entity from the specified video.- Parameters:
video- the video from which the entity is constructed.- Returns:
- the entity representing the specified video.
-
getEmbedUrl
-