Class ConfigurablePublicationServiceRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.publication.configurable.remote.ConfigurablePublicationServiceRemoteImpl
- All Implemented Interfaces:
org.opencastproject.publication.api.ConfigurablePublicationService
public class ConfigurablePublicationServiceRemoteImpl
extends org.opencastproject.serviceregistry.api.RemoteBase
implements org.opencastproject.publication.api.ConfigurablePublicationService
A remote publication service invoker.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.serviceregistry.api.RemoteBase.HttpClientClosingInputStream -
Field Summary
Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase
client, elementsFromHttpResponse, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.publication.api.ConfigurablePublicationService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.Jobreplace(org.opencastproject.mediapackage.MediaPackage mediaPackage, String channelId, Collection<? extends org.opencastproject.mediapackage.MediaPackageElement> addElements, Set<String> retractElementIds) org.opencastproject.mediapackage.PublicationreplaceSync(org.opencastproject.mediapackage.MediaPackage mediaPackage, String channelId, Collection<? extends org.opencastproject.mediapackage.MediaPackageElement> addElements, Set<String> retractElementIds) voidsetRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) voidsetTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, getResponse, getResponse, runRequest
-
Constructor Details
-
ConfigurablePublicationServiceRemoteImpl
public ConfigurablePublicationServiceRemoteImpl()
-
-
Method Details
-
replace
public org.opencastproject.job.api.Job replace(org.opencastproject.mediapackage.MediaPackage mediaPackage, String channelId, Collection<? extends org.opencastproject.mediapackage.MediaPackageElement> addElements, Set<String> retractElementIds) throws org.opencastproject.publication.api.PublicationException, org.opencastproject.mediapackage.MediaPackageException - Specified by:
replacein interfaceorg.opencastproject.publication.api.ConfigurablePublicationService- Throws:
org.opencastproject.publication.api.PublicationExceptionorg.opencastproject.mediapackage.MediaPackageException
-
replaceSync
public org.opencastproject.mediapackage.Publication replaceSync(org.opencastproject.mediapackage.MediaPackage mediaPackage, String channelId, Collection<? extends org.opencastproject.mediapackage.MediaPackageElement> addElements, Set<String> retractElementIds) throws org.opencastproject.publication.api.PublicationException, org.opencastproject.mediapackage.MediaPackageException - Specified by:
replaceSyncin interfaceorg.opencastproject.publication.api.ConfigurablePublicationService- Throws:
org.opencastproject.publication.api.PublicationExceptionorg.opencastproject.mediapackage.MediaPackageException
-
setTrustedHttpClient
public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) - Overrides:
setTrustedHttpClientin classorg.opencastproject.serviceregistry.api.RemoteBase
-
setRemoteServiceManager
public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) - Overrides:
setRemoteServiceManagerin classorg.opencastproject.serviceregistry.api.RemoteBase
-