|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RouteNodeService
A service which provides data access for RouteNode, RouteNodeInstance,
NodeState, and Branch objects.
| Method Summary | |
|---|---|
void |
deleteByRouteNodeInstance(RouteNodeInstance routeNodeInstance)
|
void |
deleteNodeStateById(Long nodeStateId)
|
void |
deleteNodeStates(List statesToBeDeleted)
|
List<RouteNode> |
findFinalApprovalRouteNodes(String documentTypeId)
|
List<String> |
findFutureNodeNames(String documentId)
Returns a List of the distinct node names through which this document might pass in it's future routing. |
List |
findNextRouteNodesInPath(RouteNodeInstance nodeInstance,
String nodeName)
|
NodeState |
findNodeState(Long nodeInstanceId,
String key)
|
List<String> |
findPreviousNodeNames(String documentId)
|
List |
findProcessNodeInstances(RouteNodeInstance process)
|
RouteNode |
findRouteNodeById(String nodeId)
|
RouteNode |
findRouteNodeByName(String documentTypeId,
String name)
|
RouteNodeInstance |
findRouteNodeInstanceById(String nodeInstanceId)
|
RouteNodeInstance |
findRouteNodeInstanceById(String nodeInstanceId,
DocumentRouteHeaderValue document)
This method looks though the passed in DocumentRouteHeaderValue and retrieves a nodeInstance that matches the ID passed in. |
List |
findRouteNodeInstances(String documentId)
|
List<RouteNodeInstance> |
getActiveNodeInstances(DocumentRouteHeaderValue document)
|
List<RouteNodeInstance> |
getActiveNodeInstances(DocumentRouteHeaderValue document,
String nodeName)
Returns a list of active node instances associated with the document that are active |
List<RouteNodeInstance> |
getActiveNodeInstances(String documentId)
Retrieves the active node instances of the given Document. |
List<String> |
getActiveRouteNodeNames(String documentId)
Retrieves the names of active node instances for the document with the given id. |
List<RouteNodeInstance> |
getCurrentNodeInstances(String documentId)
Returns the node instances representing the most recent node instances in the document. |
List<String> |
getCurrentRouteNodeNames(String documentId)
Retrieves the names of the route node instances where the document is currently located for the document with the given id. |
List<RouteNodeInstance> |
getFlattenedNodeInstances(DocumentRouteHeaderValue document,
boolean includeProcesses)
Returns a flattened list of RouteNodeInstances on the given document. |
List<RouteNode> |
getFlattenedNodes(DocumentType documentType,
boolean climbHierarchy)
Flatten all the document types route nodes into a single List. |
List<RouteNode> |
getFlattenedNodes(ProcessDefinitionBo process)
|
List |
getInitialNodeInstances(String documentId)
Retrieves the initial node instances of the given document. |
List |
getRevokedNodeInstances(DocumentRouteHeaderValue document)
Returns a List of the revoked RouteNodeInstances on the given Document. |
List<RouteNodeInstance> |
getTerminalNodeInstances(String documentId)
Retrieves the terminal node instances of the given Document. |
List<String> |
getTerminalRouteNodeNames(String documentId)
Retrieves the names of terminal node instances for the document with the given id. |
boolean |
isNodeInPath(DocumentRouteHeaderValue document,
String nodeName)
|
void |
revokeNodeInstance(DocumentRouteHeaderValue document,
RouteNodeInstance nodeInstance)
Record that the given RouteNodeInstance on the Document was revoked. |
Branch |
save(Branch branch)
|
void |
save(NodeState nodeState)
|
RouteNode |
save(RouteNode node)
|
RouteNodeInstance |
save(RouteNodeInstance nodeInstance)
|
NodeGraphSearchResult |
searchNodeGraph(NodeGraphSearchCriteria criteria)
|
| Method Detail |
|---|
RouteNode save(RouteNode node)
RouteNodeInstance save(RouteNodeInstance nodeInstance)
void save(NodeState nodeState)
Branch save(Branch branch)
RouteNode findRouteNodeById(String nodeId)
RouteNodeInstance findRouteNodeInstanceById(String nodeInstanceId)
RouteNodeInstance findRouteNodeInstanceById(String nodeInstanceId,
DocumentRouteHeaderValue document)
nodeInstanceId - document -
List getInitialNodeInstances(String documentId)
List<RouteNodeInstance> getActiveNodeInstances(String documentId)
documentId - of the document
List<String> getCurrentRouteNodeNames(String documentId)
documentId - of the document
List<String> getActiveRouteNodeNames(String documentId)
documentId - of the document
List<RouteNodeInstance> getActiveNodeInstances(DocumentRouteHeaderValue document)
List<String> getTerminalRouteNodeNames(String documentId)
documentId - for the given Document
List<RouteNodeInstance> getTerminalNodeInstances(String documentId)
documentId - for the given Document
List<RouteNodeInstance> getCurrentNodeInstances(String documentId)
NodeState findNodeState(Long nodeInstanceId,
String key)
RouteNode findRouteNodeByName(String documentTypeId,
String name)
List<RouteNode> findFinalApprovalRouteNodes(String documentTypeId)
List findNextRouteNodesInPath(RouteNodeInstance nodeInstance,
String nodeName)
boolean isNodeInPath(DocumentRouteHeaderValue document,
String nodeName)
List findRouteNodeInstances(String documentId)
List findProcessNodeInstances(RouteNodeInstance process)
List<String> findPreviousNodeNames(String documentId)
List<String> findFutureNodeNames(String documentId)
List<RouteNode> getFlattenedNodes(DocumentType documentType,
boolean climbHierarchy)
documentType - DocumentType who's nodes will be flattened.climbHierarchy - whether to include the parents nodes if the passed in DocumentType contains no nodes
List<RouteNode> getFlattenedNodes(ProcessDefinitionBo process)
List<RouteNodeInstance> getFlattenedNodeInstances(DocumentRouteHeaderValue document,
boolean includeProcesses)
document - route header valueincludeProcesses - flag
NodeGraphSearchResult searchNodeGraph(NodeGraphSearchCriteria criteria)
List<RouteNodeInstance> getActiveNodeInstances(DocumentRouteHeaderValue document,
String nodeName)
document - nodeName -
void deleteByRouteNodeInstance(RouteNodeInstance routeNodeInstance)
void deleteNodeStateById(Long nodeStateId)
void deleteNodeStates(List statesToBeDeleted)
void revokeNodeInstance(DocumentRouteHeaderValue document,
RouteNodeInstance nodeInstance)
List getRevokedNodeInstances(DocumentRouteHeaderValue document)
revokeNodeInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||