Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.media.video
Interface Video

All Superinterfaces:
AttachmentContentResource, ExternalContent, JiveContentObject, JiveObject, Media, UserAuthoredObject

public interface Video
extends Media, ExternalContent, AttachmentContentResource

Video content object


Nested Class Summary
static class Video.TranscodingStatus
           
 
Nested classes/interfaces inherited from interface com.jivesoftware.community.JiveContentObject
JiveContentObject.Field, JiveContentObject.Status
 
Method Summary
 int getCommentStatus()
           
 long getDuration()
           
 String getExternalID()
           
 int getHours()
           
 int getMinutes()
           
 RatingDelegator getRatingDelegator()
           
 int getSeconds()
           
 byte[] getVideoBytes()
           
 int getViewCount()
           
 boolean isDoneTranscoding()
           
 void isDoneTranscoding(int done)
           
 boolean isEmbedded()
          Returns true if the video only exists as embedded content, false if the video is a standalone piece of content
 void setCommentStatus(int commentStatus)
           
 void setDuration(long duration)
           
 void setEmbedded(boolean embeddedInContent)
          Sets whether this video exists only as an item embedded in content or if the video exists as a standalone piece of content
 void setID(long id)
           
 
Methods inherited from interface com.jivesoftware.community.media.Media
getJiveContainer, getTagDelegator, setBody, setContainerID, setContainerType, setCreationDate, setModificationDate, setStatus, setSubject, setUserID
 
Methods inherited from interface com.jivesoftware.community.JiveContentObject
getBody, getContainerID, getContainerType, getCreationDate, getJiveObjectType, getModificationDate, getPlainBody, getPlainSubject, getStatus, getSubject, getUnfilteredSubject
 
Methods inherited from interface com.jivesoftware.community.JiveObject
getID, getObjectType
 
Methods inherited from interface com.jivesoftware.community.UserAuthoredObject
getAuthors, getUser
 
Methods inherited from interface com.jivesoftware.community.media.ExternalContent
setExternalID
 

Method Detail

setID

void setID(long id)

setEmbedded

void setEmbedded(boolean embeddedInContent)
Sets whether this video exists only as an item embedded in content or if the video exists as a standalone piece of content

Parameters:
embeddedInContent - Set to true if this video only exists embedded in another piece of content. Set to false if the video is standalone content

isEmbedded

boolean isEmbedded()
Returns true if the video only exists as embedded content, false if the video is a standalone piece of content

Returns:
true if the video is embedded

setCommentStatus

void setCommentStatus(int commentStatus)

getCommentStatus

int getCommentStatus()

getRatingDelegator

RatingDelegator getRatingDelegator()

getDuration

long getDuration()

setDuration

void setDuration(long duration)

getHours

int getHours()

getMinutes

int getMinutes()

getSeconds

int getSeconds()

getViewCount

int getViewCount()

getVideoBytes

byte[] getVideoBytes()

isDoneTranscoding

boolean isDoneTranscoding()

isDoneTranscoding

void isDoneTranscoding(int done)

getExternalID

String getExternalID()
Specified by:
getExternalID in interface ExternalContent

Jive Product Page

Copyright © 1999-2007 Jive Software.