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 AssetManagerThe archiveprotected AuthorizationServiceThe authorization serviceprotected DublinCoreCatalogServiceDublin core catalog serviceprotected static final org.slf4j.LoggerThe loggerprotected OrganizationDirectoryServiceThe organization directoryprotected SecurityServiceThe security serviceprotected StringThe system account to use for running asynchronous eventsprotected WorkspaceThe workspace -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext bundleContext) OSGI callback for component activation.voidhandleEvent(SeriesItem seriesItem) voidsetAssetManager(AssetManager assetManager) voidsetAuthorizationService(AuthorizationService authorizationService) voidsetDublinCoreCatalogService(DublinCoreCatalogService dublinCoreService) voidsetOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) voidsetSecurityService(SecurityService securityService) voidsetWorkspace(Workspace workspace)
-
Field Details
-
logger
protected static final org.slf4j.Logger loggerThe logger -
assetManager
The archive -
securityService
The security service -
authorizationService
The authorization service -
organizationDirectoryService
The organization directory -
dublinCoreService
Dublin core catalog service -
workspace
The 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
- Parameters:
workspace- the workspace to set
-
setDublinCoreCatalogService
- Parameters:
dublinCoreService- the dublin core service to set
-
setAssetManager
- Parameters:
assetManager- the asset manager to set
-
setSecurityService
- Parameters:
securityService- the securityService to set
-
setAuthorizationService
- Parameters:
authorizationService- the authorizationService to set
-
setOrganizationDirectoryService
public void setOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) - Parameters:
organizationDirectoryService- the organizationDirectoryService to set
-
handleEvent
-