Class CoverImageServiceRemoteImpl

java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.coverimage.remote.CoverImageServiceRemoteImpl
All Implemented Interfaces:
CoverImageService

public class CoverImageServiceRemoteImpl extends RemoteBase implements CoverImageService
Remote implementation for CoverImageService
  • Constructor Details

    • CoverImageServiceRemoteImpl

      public CoverImageServiceRemoteImpl()
      Default constructor
  • Method Details

    • generateCoverImage

      public Job generateCoverImage(String xml, String xsl, String width, String height, String posterImageUri, String targetFlavor) throws CoverImageException
      Description copied from interface: CoverImageService
      Creates a job for creating a cover image for movie/media package.
      Specified by:
      generateCoverImage in interface CoverImageService
      Parameters:
      xml - metadata as XML. Will be handed over to the XSL transformation. Optional, if not given, there should be a fallback
      xsl - the XSL stylesheet used to create the SVG version of the cover image
      width - the width of the resulting image
      height - the height of the resulting image
      posterImageUri - file URI to an additional poster image (optional)
      targetFlavor - target flavor
      Returns:
      a job instance
      Throws:
      CoverImageException - if there is an error while creating the job
    • setTrustedHttpClient

      public void setTrustedHttpClient(TrustedHttpClient trustedHttpClient)
      Description copied from class: RemoteBase
      Sets the trusted http client
      Overrides:
      setTrustedHttpClient in class RemoteBase
      Parameters:
      trustedHttpClient -
    • setRemoteServiceManager

      public void setRemoteServiceManager(ServiceRegistry serviceRegistry)
      Description copied from class: RemoteBase
      Sets the remote service manager.
      Overrides:
      setRemoteServiceManager in class RemoteBase
      Parameters:
      serviceRegistry -