Class SearchUpdatedEventHandler

java.lang.Object
org.opencastproject.event.handler.SearchUpdatedEventHandler

public class SearchUpdatedEventHandler extends Object
Responds to series events by re-distributing metadata and security policy files for published mediapackages.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.opencastproject.security.api.AuthorizationService
    The authorization service
    protected org.opencastproject.distribution.api.DistributionService
    The distribution service
    protected org.opencastproject.metadata.dublincore.DublinCoreCatalogService
    Dublin core catalog service
    protected static final org.slf4j.Logger
    The logger
    protected org.opencastproject.security.api.OrganizationDirectoryService
    The organization directory
    protected org.opencastproject.search.api.SearchService
    The search service
    protected org.opencastproject.security.api.SecurityService
    The security service
    protected org.opencastproject.serviceregistry.api.ServiceRegistry
    The service registry
    protected String
    The system account to use for running asynchronous events
    protected org.opencastproject.workspace.api.Workspace
    The workspace
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    activate(org.osgi.framework.BundleContext bundleContext)
    OSGI callback for component activation.
    void
    handleEvent(org.opencastproject.message.broker.api.series.SeriesItem seriesItem)
     
    void
    setAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService)
     
    void
    setDistributionService(org.opencastproject.distribution.api.DistributionService distributionService)
     
    void
    setDublinCoreCatalogService(org.opencastproject.metadata.dublincore.DublinCoreCatalogService dublinCoreService)
     
    void
    setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)
     
    void
    setSearchService(org.opencastproject.search.api.SearchService searchService)
     
    void
    setSecurityService(org.opencastproject.security.api.SecurityService securityService)
     
    void
    setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
     

    Methods inherited from class java.lang.Object

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

    • logger

      protected static final org.slf4j.Logger logger
      The logger
    • serviceRegistry

      protected org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry
      The service registry
    • distributionService

      protected org.opencastproject.distribution.api.DistributionService distributionService
      The distribution service
    • searchService

      protected org.opencastproject.search.api.SearchService searchService
      The search service
    • securityService

      protected org.opencastproject.security.api.SecurityService securityService
      The security service
    • authorizationService

      protected org.opencastproject.security.api.AuthorizationService authorizationService
      The authorization service
    • organizationDirectoryService

      protected org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService
      The organization directory
    • dublinCoreService

      protected org.opencastproject.metadata.dublincore.DublinCoreCatalogService dublinCoreService
      Dublin core catalog service
    • workspace

      protected org.opencastproject.workspace.api.Workspace workspace
      The workspace
    • systemAccount

      protected String systemAccount
      The system account to use for running asynchronous events
  • Constructor Details

    • SearchUpdatedEventHandler

      public SearchUpdatedEventHandler()
  • Method Details

    • activate

      protected void activate(org.osgi.framework.BundleContext bundleContext)
      OSGI callback for component activation.
      Parameters:
      bundleContext - the OSGI bundle context
    • setServiceRegistry

      public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Parameters:
      serviceRegistry - the serviceRegistry to set
    • setWorkspace

      public void setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
      Parameters:
      workspace - the workspace to set
    • setDublinCoreCatalogService

      public void setDublinCoreCatalogService(org.opencastproject.metadata.dublincore.DublinCoreCatalogService dublinCoreService)
      Parameters:
      dublinCoreService - the dublin core service to set
    • setDistributionService

      public void setDistributionService(org.opencastproject.distribution.api.DistributionService distributionService)
      Parameters:
      distributionService - the distributionService to set
    • setSearchService

      public void setSearchService(org.opencastproject.search.api.SearchService searchService)
      Parameters:
      searchService - the searchService to set
    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
      Parameters:
      securityService - the securityService to set
    • setAuthorizationService

      public void setAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService)
      Parameters:
      authorizationService - the authorizationService to set
    • setOrganizationDirectoryService

      public void setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)
      Parameters:
      organizationDirectoryService - the organizationDirectoryService to set
    • handleEvent

      public void handleEvent(org.opencastproject.message.broker.api.series.SeriesItem seriesItem)