Class ConfigurablePublicationServiceImpl

java.lang.Object
org.opencastproject.job.api.AbstractJobProducer
org.opencastproject.publication.configurable.ConfigurablePublicationServiceImpl
All Implemented Interfaces:
org.opencastproject.job.api.JobProducer, org.opencastproject.publication.api.ConfigurablePublicationService

public class ConfigurablePublicationServiceImpl extends org.opencastproject.job.api.AbstractJobProducer implements org.opencastproject.publication.api.ConfigurablePublicationService
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields inherited from class org.opencastproject.job.api.AbstractJobProducer

    ACCEPT_JOB_LOADS_EXCEEDING_PROPERTY, acceptJobLoadsExeedingMaxLoad, DEFAULT_ACCEPT_JOB_LOADS_EXCEEDING, executor, jobType

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

    JOB_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    activate(org.osgi.service.component.ComponentContext cc)
     
     
    protected org.opencastproject.security.api.OrganizationDirectoryService
     
    protected org.opencastproject.security.api.SecurityService
     
    protected org.opencastproject.serviceregistry.api.ServiceRegistry
     
    protected org.opencastproject.security.api.UserDirectoryService
     
    protected String
    process(org.opencastproject.job.api.Job job)
     
    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
    setDownloadDistributionService(org.opencastproject.distribution.api.DownloadDistributionService downloadDistributionService)
     
    void
    setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)
     
    void
    setSecurityService(org.opencastproject.security.api.SecurityService securityService)
     
    void
    setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setUserDirectoryService(org.opencastproject.security.api.UserDirectoryService userDirectoryService)
     

    Methods inherited from class org.opencastproject.job.api.AbstractJobProducer

    acceptJob, countJobs, finallyUpdateJob, incident, isReadyToAccept, isReadyToAcceptJobs

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfigurablePublicationServiceImpl

      public ConfigurablePublicationServiceImpl()
  • Method Details

    • activate

      public void activate(org.osgi.service.component.ComponentContext cc)
      Overrides:
      activate in class org.opencastproject.job.api.AbstractJobProducer
    • getJobType

      public String getJobType()
      Specified by:
      getJobType in interface org.opencastproject.job.api.JobProducer
      Overrides:
      getJobType in class org.opencastproject.job.api.AbstractJobProducer
    • 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
    • process

      protected String process(org.opencastproject.job.api.Job job) throws Exception
      Specified by:
      process in class org.opencastproject.job.api.AbstractJobProducer
      Throws:
      Exception
    • getServiceRegistry

      protected org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
      Specified by:
      getServiceRegistry in class org.opencastproject.job.api.AbstractJobProducer
    • getSecurityService

      protected org.opencastproject.security.api.SecurityService getSecurityService()
      Specified by:
      getSecurityService in class org.opencastproject.job.api.AbstractJobProducer
    • getUserDirectoryService

      protected org.opencastproject.security.api.UserDirectoryService getUserDirectoryService()
      Specified by:
      getUserDirectoryService in class org.opencastproject.job.api.AbstractJobProducer
    • getOrganizationDirectoryService

      protected org.opencastproject.security.api.OrganizationDirectoryService getOrganizationDirectoryService()
      Specified by:
      getOrganizationDirectoryService in class org.opencastproject.job.api.AbstractJobProducer
    • setServiceRegistry

      public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
    • setUserDirectoryService

      public void setUserDirectoryService(org.opencastproject.security.api.UserDirectoryService userDirectoryService)
    • setOrganizationDirectoryService

      public void setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)
    • setDownloadDistributionService

      public void setDownloadDistributionService(org.opencastproject.distribution.api.DownloadDistributionService downloadDistributionService)