Class YouTubePublicationServiceRemoteImpl

java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.publication.youtube.remote.YouTubePublicationServiceRemoteImpl
All Implemented Interfaces:
org.opencastproject.publication.api.YouTubePublicationService

public class YouTubePublicationServiceRemoteImpl extends org.opencastproject.serviceregistry.api.RemoteBase implements org.opencastproject.publication.api.YouTubePublicationService
A remote youtube 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.YouTubePublicationService

    JOB_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opencastproject.job.api.Job
    publish(org.opencastproject.mediapackage.MediaPackage mediaPackage, org.opencastproject.mediapackage.Track track)
     
    org.opencastproject.job.api.Job
    retract(org.opencastproject.mediapackage.MediaPackage mediaPackage)
     
    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

    • YouTubePublicationServiceRemoteImpl

      public YouTubePublicationServiceRemoteImpl()
  • Method Details

    • publish

      public org.opencastproject.job.api.Job publish(org.opencastproject.mediapackage.MediaPackage mediaPackage, org.opencastproject.mediapackage.Track track) throws org.opencastproject.publication.api.PublicationException
      Specified by:
      publish in interface org.opencastproject.publication.api.YouTubePublicationService
      Throws:
      org.opencastproject.publication.api.PublicationException
    • retract

      public org.opencastproject.job.api.Job retract(org.opencastproject.mediapackage.MediaPackage mediaPackage) throws org.opencastproject.publication.api.PublicationException
      Specified by:
      retract in interface org.opencastproject.publication.api.YouTubePublicationService
      Throws:
      org.opencastproject.publication.api.PublicationException
    • 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