public interface Process extends Serializable
In Alfresco a Process or Workflow is a sequence of connected tasks applied to a document or other item of content. Each task can be performed by a person, a group, or automatically.
For example, you might have a document that you needed reviewing and approving by a number of people. The sequence of connected tasks would be:
Modifier and Type | Method and Description |
---|---|
String |
getDefinitionIdentifier()
Returns the unique identifier of the process definition associated to the
process.
|
String |
getDescription()
Returns the description of the process.
|
GregorianCalendar |
getEndedAt()
Returns the timestamp in the session’s locale when the process was
completed.
|
String |
getIdentifier()
Returns the unique identifier of the Process.
|
String |
getInitiatorIdentifier()
Returns the username of the person who start the process.
|
String |
getKey()
Refers to a logical process definition.
|
String |
getName()
Returns the name of the process.
|
Integer |
getPriority()
Returns the priority of the process.
|
GregorianCalendar |
getStartedAt()
Returns the timestamp in the session’s locale when the process was
started.
|
Property |
getVariable(String name)
Returns the requested variable.
|
Map<String,Property> |
getVariables()
Returns a Map of all available variables for the specific process object.
|
<T> T |
getVariableValue(String name)
Returns the value of the variable with the given name.
|
boolean |
hasAllVariables()
Indicates whether the process has all it’s variables populated.
|
boolean |
hasCompleted()
Returns true if the task has completed.
|
String getIdentifier()
String getDefinitionIdentifier()
String getKey()
GregorianCalendar getStartedAt()
GregorianCalendar getEndedAt()
Integer getPriority()
PRIORITY_MEDIUM
String getInitiatorIdentifier()
String getName()
String getDescription()
boolean hasAllVariables()
Property getVariable(String name)
name
- : unique identifier of your variable.Map<String,Property> getVariables()
<T> T getVariableValue(String name)
name
- : unique identifier label of the variableboolean hasCompleted()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.