|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VideoDAO
DAO for video CRUD
| Method Summary | |
|---|---|
void |
delete(Video video)
Deletes the given video |
void |
deleteAllContainerVideos(long containerID,
int containerType)
Deletes all videos in the container with the given container id and of the given container type |
void |
deleteAllUserVideos(long userID)
Deletes all videos created by the user with the given user id |
Video |
getVideoByExternalID(String externalID)
Retrieves a video using the externalID of the video at the external video service provider ( VideoProvider) |
Video |
getVideoByID(long id)
Returns the video with the matching object id |
int |
getVideoCount(TagSet tagSet)
Returns the count of all videos within the given tag set |
int |
getVideoCount(VideoResultFilter resultFilter)
Returns the count of all videos matching the given result filter |
JiveIterator<Video> |
getVideos(TagSet tagSet,
VideoResultFilter videoResultFilter)
Returns all videos matching the given result filter in the given tag set |
JiveIterator<Video> |
getVideos(VideoResultFilter videoResultFilter)
Returns all videos matching the given result filter |
Video |
insert(Video video)
Persists the given video and all associated metadata |
void |
move(Video video,
JiveContainer target)
Moves a video from its current location to the given target location |
void |
update(Video video)
Updates the video with an id that matches the id in the given video instance with the values encapsulated in the video instance |
| Method Detail |
|---|
void delete(Video video)
throws DAOException
video - to delete
DAOException
void update(Video video)
throws DAOException
video - to update
DAOException
Video insert(Video video)
throws DAOException
video - to insert
DAOException
Video getVideoByExternalID(String externalID)
throws DAOException
VideoProvider)
externalID - of a video that exists in the system and at the external service provider
DAOException
Video getVideoByID(long id)
throws DAOException
id - of the video to retrieve
DAOExceptionJiveIterator<Video> getVideos(VideoResultFilter videoResultFilter)
videoResultFilter - used to constrain the query
JiveIterator<Video> getVideos(TagSet tagSet,
VideoResultFilter videoResultFilter)
tagSet - used to constrain the queryvideoResultFilter - used to constrain the query
int getVideoCount(TagSet tagSet)
tagSet - used to constrain the query
int getVideoCount(VideoResultFilter resultFilter)
resultFilter - used to constrain the query
void deleteAllUserVideos(long userID)
userID - of the user whose videos will be deleted
void deleteAllContainerVideos(long containerID,
int containerType)
containerID - of the container whose videos will be deletedcontainerType - the type of container
void move(Video video,
JiveContainer target)
video - to be movedtarget - destination container
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||