public interface GraphRoute
Modifier and Type | Field and Description |
---|---|
static String |
PROP_AVAILABILITY_FILTER |
static String |
PROP_PARENT_NODE
The id of the node in the parent route from which this route was started.
|
static String |
PROP_PARENT_ROUTE
The id of the parent route instance from which this route was started.
|
static String |
PROP_VARIABLES_FACET |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
getAttachedDocumentModels()
Gets the attached documents.
|
String |
getAvailabilityFilter()
Returns the availability filter name for this graph.
|
GraphNode |
getNode(String id)
Gets the node with the given id.
|
Collection<GraphNode> |
getNodes()
Gets a collection of the route nodes
|
GraphNode |
getStartNode()
Gets the start node for this graph.
|
Map<String,Serializable> |
getVariables()
Gets the graph variables.
|
boolean |
hasParentRoute()
Checks if this graph instance has been started from another graph.
|
void |
resumeParentRoute(CoreSession session)
Resumes execution of the parent route from which this graph was started.
|
void |
setVariables(Map<String,Serializable> map)
Sets the graph variables.
|
static final String PROP_VARIABLES_FACET
static final String PROP_AVAILABILITY_FILTER
static final String PROP_PARENT_ROUTE
static final String PROP_PARENT_NODE
GraphNode getStartNode() throws DocumentRouteException
DocumentRouteException
DocumentModelList getAttachedDocumentModels()
Map<String,Serializable> getVariables()
void setVariables(Map<String,Serializable> map)
map
- the map of variablesGraphNode getNode(String id) throws IllegalArgumentException
id
- IllegalArgumentException
- if there is no such nodeCollection<GraphNode> getNodes()
String getAvailabilityFilter()
boolean hasParentRoute()
true
if this is a sub-route instancevoid resumeParentRoute(CoreSession session)
session
- the sessionCopyright © 2013 Nuxeo SA. All Rights Reserved.