public class ClaimTaskCmd extends NeedsActiveTaskCmd<Void>
Modifier and Type | Field and Description |
---|---|
protected String |
userId |
taskId
Constructor and Description |
---|
ClaimTaskCmd(String taskId,
String userId) |
Modifier and Type | Method and Description |
---|---|
protected Void |
execute(CommandContext commandContext,
TaskEntity task)
Subclasses must implement in this method their normal command logic.
|
protected String |
getSuspendedTaskException()
Subclasses can override this method to provide a customized exception message
that will be thrown when the task is suspended.
|
execute
protected String userId
protected Void execute(CommandContext commandContext, TaskEntity task)
NeedsActiveTaskCmd
execute
in class NeedsActiveTaskCmd<Void>
protected String getSuspendedTaskException()
NeedsActiveTaskCmd
getSuspendedTaskException
in class NeedsActiveTaskCmd<Void>
Copyright © 2016 Alfresco. All rights reserved.