Interface ConfigurablePublicationService
- All Known Implementing Classes:
ConfigurablePublicationServiceImpl,ConfigurablePublicationServiceRemoteImpl
public interface ConfigurablePublicationService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionreplace(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) Replaces media package elements.replaceSync(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) Synchronously replaces media package elements.
-
Field Details
-
JOB_TYPE
- See Also:
-
-
Method Details
-
replace
Job replace(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) throws PublicationException, MediaPackageException Replaces media package elements.- Parameters:
mediaPackage- the media packagechannelId- the id of the publication channeladdElements- the media package elements to be addedretractElementIds- the ids of the media package elements to be removed- Returns:
- The job
- Throws:
PublicationException- if there was a problem publishing the mediaMediaPackageException- if there was a problem with the mediapackage element
-
replaceSync
Publication replaceSync(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) throws PublicationException, MediaPackageException Synchronously replaces media package elements.- Parameters:
mediaPackage- the media packagechannelId- the id of the publication channeladdElements- the media package elements to be addedretractElementIds- the ids of the media package elements to be removed- Returns:
- The publication with the updated media package.
- Throws:
PublicationException- if there was a problem publishing the mediaMediaPackageException- if there was a problem with the mediapackage element
-