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 Details

    • logger

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

      protected static final String DISTRIBUTION_CHECK_AVAILABILITY
      See Also:
    • downloadDistributionService

      protected DownloadDistributionService downloadDistributionService
      The distribution service
    • searchService

      protected SearchService searchService
      The search service
    • securityService

      protected SecurityService securityService
      The security service
    • authorizationService

      protected AuthorizationService authorizationService
      The authorization service
    • dublinCoreService

      protected DublinCoreCatalogService dublinCoreService
      Dublin core catalog service
    • workspace

      protected 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.service.component.ComponentContext componentContext)
      OSGI callback for component activation.
      Parameters:
      componentContext - the OSGI component context
    • updated

      protected void updated(org.osgi.service.component.ComponentContext componentContext)
    • setWorkspace

      public void setWorkspace(Workspace workspace)
      Parameters:
      workspace - the workspace to set
    • setDublinCoreCatalogService

      public void setDublinCoreCatalogService(DublinCoreCatalogService dublinCoreService)
      Parameters:
      dublinCoreService - the dublin core service to set
    • setDownloadDistributionService

      public void setDownloadDistributionService(DownloadDistributionService downloadDistributionService)
      Parameters:
      downloadDistributionService - the downloadDstributionService to set
    • setSearchService

      public void setSearchService(SearchService searchService)
      Parameters:
      searchService - the searchService to set
    • setSecurityService

      public void setSecurityService(SecurityService securityService)
      Parameters:
      securityService - the securityService to set
    • setAuthorizationService

      public void setAuthorizationService(AuthorizationService authorizationService)
      Parameters:
      authorizationService - the authorizationService to set
    • handleEvent

      public void handleEvent(SeriesItem seriesItem)