public class ClaimTasksAction extends AbstractAction<ClaimTasksActionDefinition>
ClaimTasksAction
allows the current user
for claiming
a set of tasks for himself via TasksManager
. Should the operation be executed successfully for
all the tasks - a corresponding notification message is displayed.TasksManager
Constructor and Description |
---|
ClaimTasksAction(ClaimTasksActionDefinition definition,
info.magnolia.task.TasksManager taskManager,
info.magnolia.context.Context context,
MessagesManager messagesManager,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.cms.security.SecuritySupport securitySupport,
ValueContext<info.magnolia.task.Task> valueContext) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
getDefinition
@Inject public ClaimTasksAction(ClaimTasksActionDefinition definition, info.magnolia.task.TasksManager taskManager, info.magnolia.context.Context context, MessagesManager messagesManager, info.magnolia.i18nsystem.SimpleTranslator i18n, info.magnolia.cms.security.SecuritySupport securitySupport, ValueContext<info.magnolia.task.Task> valueContext)
public void execute()
Action
Copyright © 2021 Magnolia International Ltd.. All rights reserved.