Class AssetManagerUpdatedEventHandler
java.lang.Object
org.opencastproject.event.handler.AssetManagerUpdatedEventHandler
Responds to series events by re-distributing metadata and security policy files to episodes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.opencastproject.assetmanager.api.AssetManagerThe archiveprotected org.opencastproject.security.api.AuthorizationServiceThe authorization serviceprotected org.opencastproject.metadata.dublincore.DublinCoreCatalogServiceDublin core catalog serviceprotected static final org.slf4j.LoggerThe loggerprotected org.opencastproject.security.api.OrganizationDirectoryServiceThe organization directoryprotected org.opencastproject.security.api.SecurityServiceThe security serviceprotected StringThe system account to use for running asynchronous eventsprotected org.opencastproject.workspace.api.WorkspaceThe workspace -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext bundleContext) OSGI callback for component activation.voidhandleEvent(org.opencastproject.message.broker.api.series.SeriesItem seriesItem) voidsetAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager) voidsetAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService) voidsetDublinCoreCatalogService(org.opencastproject.metadata.dublincore.DublinCoreCatalogService dublinCoreService) voidsetOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService) voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) voidsetWorkspace(org.opencastproject.workspace.api.Workspace workspace)
-
Field Details
-
logger
protected static final org.slf4j.Logger loggerThe logger -
assetManager
protected org.opencastproject.assetmanager.api.AssetManager assetManagerThe archive -
securityService
protected org.opencastproject.security.api.SecurityService securityServiceThe security service -
authorizationService
protected org.opencastproject.security.api.AuthorizationService authorizationServiceThe authorization service -
organizationDirectoryService
protected org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryServiceThe organization directory -
dublinCoreService
protected org.opencastproject.metadata.dublincore.DublinCoreCatalogService dublinCoreServiceDublin core catalog service -
workspace
protected org.opencastproject.workspace.api.Workspace workspaceThe workspace -
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)
-