@Singleton public class LocalTaskDispatcherManager extends Object implements info.magnolia.task.event.TaskEventHandler
Constructor and Description |
---|
LocalTaskDispatcherManager(info.magnolia.event.EventBus systemEventBus,
javax.inject.Provider<info.magnolia.cms.security.SecuritySupport> securitySupport) |
Modifier and Type | Method and Description |
---|---|
void |
registerLocalTasksListener(String userName,
TaskEventDispatcher listener) |
void |
taskAdded(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskArchived(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskClaimed(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskFailed(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskRemoved(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskResolved(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskScheduled(info.magnolia.task.event.TaskEvent taskEvent) |
void |
unregisterLocalTasksListener(String userName,
TaskEventDispatcher listener) |
@Inject public LocalTaskDispatcherManager(@Named(value="system") info.magnolia.event.EventBus systemEventBus, javax.inject.Provider<info.magnolia.cms.security.SecuritySupport> securitySupport)
public void taskClaimed(info.magnolia.task.event.TaskEvent taskEvent)
taskClaimed
in interface info.magnolia.task.event.TaskEventHandler
public void taskAdded(info.magnolia.task.event.TaskEvent taskEvent)
taskAdded
in interface info.magnolia.task.event.TaskEventHandler
public void taskResolved(info.magnolia.task.event.TaskEvent taskEvent)
taskResolved
in interface info.magnolia.task.event.TaskEventHandler
public void taskFailed(info.magnolia.task.event.TaskEvent taskEvent)
taskFailed
in interface info.magnolia.task.event.TaskEventHandler
public void taskArchived(info.magnolia.task.event.TaskEvent taskEvent)
taskArchived
in interface info.magnolia.task.event.TaskEventHandler
public void taskRemoved(info.magnolia.task.event.TaskEvent taskEvent)
taskRemoved
in interface info.magnolia.task.event.TaskEventHandler
public void taskScheduled(info.magnolia.task.event.TaskEvent taskEvent)
taskScheduled
in interface info.magnolia.task.event.TaskEventHandler
public void registerLocalTasksListener(String userName, TaskEventDispatcher listener)
public void unregisterLocalTasksListener(String userName, TaskEventDispatcher listener)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.