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, remoteServiceManager, serviceType

    Fields inherited from interface org.opencastproject.publication.api.ConfigurablePublicationService

    JOB_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opencastproject.job.api.Job
    replace(org.opencastproject.mediapackage.MediaPackage mediaPackage, String channelId, Collection<? extends org.opencastproject.mediapackage.MediaPackageElement> addElements, Set<String> retractElementIds)
     
    org.opencastproject.mediapackage.Publication
    replaceSync(org.opencastproject.mediapackage.MediaPackage mediaPackage, String channelId, Collection<? extends org.opencastproject.mediapackage.MediaPackageElement> addElements, Set<String> retractElementIds)
     
    void
    setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
     

    Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      replace in interface org.opencastproject.publication.api.ConfigurablePublicationService
      Throws:
      org.opencastproject.publication.api.PublicationException
      org.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:
      replaceSync in interface org.opencastproject.publication.api.ConfigurablePublicationService
      Throws:
      org.opencastproject.publication.api.PublicationException
      org.opencastproject.mediapackage.MediaPackageException
    • setTrustedHttpClient

      public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
      Overrides:
      setTrustedHttpClient in class org.opencastproject.serviceregistry.api.RemoteBase
    • setRemoteServiceManager

      public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Overrides:
      setRemoteServiceManager in class org.opencastproject.serviceregistry.api.RemoteBase