Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.media.video
Interface VideoScreenGrabDAO


public interface VideoScreenGrabDAO

DAO for video screen grab/key frame CRUD


Method Summary
 void add(long vidID, long attachmentID, boolean isDefault)
          Adds the attachment as a screen grab for the video corresponding to vidID
 void delete(long id)
          Deletes the screen grab with the given id
 long getDefault(long vidID)
          Returns the attchment id of the default screen grab for the video with the specified vidID
 List<Long> getPublishedVideosWithoutScreenGrabs()
          Returns a list of all published videos that are missing a generated screen grab
 List<Long> getScreenGrabsForVideo(Video video)
          Retreives a list of all screen grabs for the given video
 void setDefault(long id)
          Deprecated. 
 

Method Detail

add

void add(long vidID,
         long attachmentID,
         boolean isDefault)
Adds the attachment as a screen grab for the video corresponding to vidID

Parameters:
vidID - id of the video to receive the attached screen grab
attachmentID - the id of attachment representing the screen grab to associate with the video
isDefault - if true will set this attachment as the default screen grab

delete

void delete(long id)
Deletes the screen grab with the given id

Parameters:
id - of the screen grab to delete

setDefault

@Deprecated
void setDefault(long id)
Deprecated. 


getDefault

long getDefault(long vidID)
Returns the attchment id of the default screen grab for the video with the specified vidID

Returns:
the id of the default screen grab

getScreenGrabsForVideo

List<Long> getScreenGrabsForVideo(Video video)
Retreives a list of all screen grabs for the given video

Parameters:
video - to retrieve screen grabs for
Returns:
a list of all screen grabs from the given video

getPublishedVideosWithoutScreenGrabs

List<Long> getPublishedVideosWithoutScreenGrabs()
Returns a list of all published videos that are missing a generated screen grab

Returns:
a list of videos missing screen grabs

Jive Product Page

Copyright © 1999-2007 Jive Software.