Class VideoDocumentAdapter
- java.lang.Object
-
- org.nuxeo.ecm.platform.video.adapter.VideoDocumentAdapter
-
- All Implemented Interfaces:
VideoDocument
public class VideoDocumentAdapter extends Object implements VideoDocument
Default implementation ofVideoDocument
.- Since:
- 5.5
- Author:
- Thomas Roger
-
-
Constructor Summary
Constructors Constructor Description VideoDocumentAdapter(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscodedVideo
getTranscodedVideo(String name)
Collection<TranscodedVideo>
getTranscodedVideos()
Returns all theTranscodedVideo
s for thisVideoDocument
.Video
getVideo()
Returns the mainVideo
of thisVideoDocument
.
-
-
-
Constructor Detail
-
VideoDocumentAdapter
public VideoDocumentAdapter(DocumentModel doc)
-
-
Method Detail
-
getVideo
public Video getVideo()
Description copied from interface:VideoDocument
Returns the mainVideo
of thisVideoDocument
.- Specified by:
getVideo
in interfaceVideoDocument
-
getTranscodedVideos
public Collection<TranscodedVideo> getTranscodedVideos()
Description copied from interface:VideoDocument
Returns all theTranscodedVideo
s for thisVideoDocument
.- Specified by:
getTranscodedVideos
in interfaceVideoDocument
-
getTranscodedVideo
public TranscodedVideo getTranscodedVideo(String name)
Description copied from interface:VideoDocument
- Specified by:
getTranscodedVideo
in interfaceVideoDocument
-
-