public class SubmitTaskFormCmd extends AbstractCompleteTaskCmd
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
completeTask |
protected Map<String,String> |
properties |
protected String |
taskId |
| Constructor and Description |
|---|
SubmitTaskFormCmd(String taskId,
Map<String,String> properties,
boolean completeTask) |
| 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.
|
executeTaskCompleteexecuteprotected String taskId
protected boolean completeTask
protected Void execute(CommandContext commandContext, TaskEntity task)
NeedsActiveTaskCmdexecute in class NeedsActiveTaskCmd<Void>protected String getSuspendedTaskException()
NeedsActiveTaskCmdgetSuspendedTaskException in class NeedsActiveTaskCmd<Void>Copyright © 2015 Alfresco. All rights reserved.