Class AssetManagerUpdatedEventHandler

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

public class AssetManagerUpdatedEventHandler extends Object
Responds to series events by re-distributing metadata and security policy files to episodes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.opencastproject.assetmanager.api.AssetManager
    The archive
    protected org.opencastproject.security.api.AuthorizationService
    The authorization 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.security.api.SecurityService
    The security service
    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
    setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
     
    void
    setAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService)
     
    void
    setDublinCoreCatalogService(org.opencastproject.metadata.dublincore.DublinCoreCatalogService dublinCoreService)
     
    void
    setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)
     
    void
    setSecurityService(org.opencastproject.security.api.SecurityService securityService)
     
    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
    • assetManager

      protected org.opencastproject.assetmanager.api.AssetManager assetManager
      The archive
    • 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

    • AssetManagerUpdatedEventHandler

      public AssetManagerUpdatedEventHandler()
  • Method Details

    • activate

      protected void activate(org.osgi.framework.BundleContext bundleContext)
      OSGI callback for component activation.
      Parameters:
      bundleContext - the OSGI bundle context
    • 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
    • setAssetManager

      public void setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
      Parameters:
      assetManager - the asset manager 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)