public abstract class NeedsActiveProcessDefinitionCmd<T> extends Object implements Command<T>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
processDefinitionId |
Constructor and Description |
---|
NeedsActiveProcessDefinitionCmd(String processDefinitionId) |
Modifier and Type | Method and Description |
---|---|
T |
execute(CommandContext commandContext) |
protected abstract T |
execute(CommandContext commandContext,
ProcessDefinitionEntity processDefinition)
Subclasses should implement this.
|
protected String processDefinitionId
public NeedsActiveProcessDefinitionCmd(String processDefinitionId)
public T execute(CommandContext commandContext)
protected abstract T execute(CommandContext commandContext, ProcessDefinitionEntity processDefinition)
ProcessDefinition
is
guaranteed to be an active process definition (ie. not suspended).Copyright © 2016 Alfresco. All rights reserved.