public class VideoInformation
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProviderVideoID()
Return the unique ID of the video within the video cloud provider.
|
VideoCloudState |
getState()
Return the current state in respect to the Video Cloud.
|
java.util.Date |
getValidFrom()
Return the current start date ("embargo date") that the video is published in the Video Cloud.
|
java.util.Date |
getValidTo()
Return the current end date ("expiration date") that the video is published in the Video Cloud.
|
java.lang.String |
getVideoCloudProviderID()
Return the provider ID (if any) or null if no video provider.
|
void |
save()
Save the modified VideoInformation data to the catalog (implicitly causing update of the Cloud Provider information in the background).
|
void |
setValidFrom(java.util.Date date)
Change the start date ("embargo date") that this video is published.
|
void |
setValidTo(java.util.Date date)
Change the end date ("expiration date") that this video is published.
|
public VideoCloudState getState()
null
if not applicable.public java.lang.String getVideoCloudProviderID()
null
if not applicable.public java.lang.String getProviderVideoID()
public java.util.Date getValidFrom()
null
specifies that it is valid from the beginning of time.public void setValidFrom(java.util.Date date)
date
- The new start date. A value of null specifies that it is valid from the beginning of time.public java.util.Date getValidTo()
public void setValidTo(java.util.Date date)
date
- The new end date. A value of null specifies that it is valid until the end of time.public void save()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.