Class SeriesItem
java.lang.Object
org.opencastproject.message.broker.api.series.SeriesItem
- All Implemented Interfaces:
Serializable,MessageItem
Serializable class that represents all of the possible messages sent through a SeriesService queue.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SeriesItemgetAcl()getId()getType()static SeriesItemupdateAcl(String seriesId, AccessControlList acl, boolean overrideEpisodeAcl) static SeriesItemupdateCatalog(DublinCoreCatalog series) static SeriesItemupdateElement(String seriesId, String type, String data)
-
Method Details
-
updateCatalog
- Parameters:
series- The series to update.- Returns:
- Builds
SeriesItemfor updating a series.
-
updateElement
- Parameters:
seriesId- The unique id for the series to update.type- The type of series element.data- The series element data.- Returns:
- Builds
SeriesItemfor updating series element.
-
updateAcl
public static SeriesItem updateAcl(String seriesId, AccessControlList acl, boolean overrideEpisodeAcl) - Parameters:
seriesId- The unique id for the series to update.acl- The new access control list to update to.overrideEpisodeAcl- Whether to override the episode ACL.- Returns:
- Builds
SeriesItemfor updating the access control list of a series.
-
delete
- Parameters:
seriesId- The unique id of the series to delete.- Returns:
- Builds
SeriesItemfor deleting a series.
-
getId
- Specified by:
getIdin interfaceMessageItem
-
getType
-
getSeriesId
-
getMetadata
-
getExtendedMetadata
-
getAcl
-
getPropertyName
-
getPropertyValue
-
getElement
-
getElementType
-
getOverrideEpisodeAcl
-