org.kuali.rice.kew.engine.node.dao.impl
Class RouteNodeDAOJpa

java.lang.Object
  extended by org.kuali.rice.kew.engine.node.dao.impl.RouteNodeDAOJpa
All Implemented Interfaces:
RouteNodeDAO

public class RouteNodeDAOJpa
extends Object
implements RouteNodeDAO


Field Summary
static String FIND_INITIAL_NODE_INSTANCES_NAME
           
static String FIND_INITIAL_NODE_INSTANCES_QUERY
           
 
Constructor Summary
RouteNodeDAOJpa()
           
 
Method Summary
 void deleteLinksToPreNodeInstances(RouteNodeInstance routeNodeInstance)
           
 void deleteNodeStateById(Long nodeStateId)
           
 void deleteNodeStates(List statesToBeDeleted)
           
 void deleteRouteNodeInstancesHereAfter(RouteNodeInstance routeNodeInstance)
           
 List<RouteNode> findFinalApprovalRouteNodes(String documentTypeId)
           
 NodeState findNodeState(Long nodeInstanceId, String key)
           
 List findProcessNodeInstances(RouteNodeInstance process)
           
 RouteNode findRouteNodeByName(String documentTypeId, String name)
           
 RouteNodeInstance findRouteNodeInstanceById(String nodeInstanceId)
           
 List findRouteNodeInstances(String documentId)
           
 List<RouteNodeInstance> getActiveNodeInstances(String documentId)
           
 List<String> getActiveRouteNodeNames(String documentId)
           
 List<String> getCurrentRouteNodeNames(String documentId)
           
 DataObjectService getDataObjectService()
           
 javax.persistence.EntityManager getEntityManager()
           
 List getInitialNodeInstances(String documentId)
           
 List<RouteNodeInstance> getTerminalNodeInstances(String documentId)
           
 List<String> getTerminalRouteNodeNames(String documentId)
           
 void setDataObjectService(DataObjectService dataObjectService)
           
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIND_INITIAL_NODE_INSTANCES_NAME

public static final String FIND_INITIAL_NODE_INSTANCES_NAME
See Also:
Constant Field Values

FIND_INITIAL_NODE_INSTANCES_QUERY

public static final String FIND_INITIAL_NODE_INSTANCES_QUERY
See Also:
Constant Field Values
Constructor Detail

RouteNodeDAOJpa

public RouteNodeDAOJpa()
Method Detail

getEntityManager

public javax.persistence.EntityManager getEntityManager()
Returns:
the entityManager

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)
Parameters:
entityManager - the entityManager to set

findRouteNodeInstanceById

public RouteNodeInstance findRouteNodeInstanceById(String nodeInstanceId)
Specified by:
findRouteNodeInstanceById in interface RouteNodeDAO

getActiveNodeInstances

public List<RouteNodeInstance> getActiveNodeInstances(String documentId)
Specified by:
getActiveNodeInstances in interface RouteNodeDAO

getCurrentRouteNodeNames

public List<String> getCurrentRouteNodeNames(String documentId)
Specified by:
getCurrentRouteNodeNames in interface RouteNodeDAO

getActiveRouteNodeNames

public List<String> getActiveRouteNodeNames(String documentId)
Specified by:
getActiveRouteNodeNames in interface RouteNodeDAO

getTerminalNodeInstances

public List<RouteNodeInstance> getTerminalNodeInstances(String documentId)
Specified by:
getTerminalNodeInstances in interface RouteNodeDAO

getTerminalRouteNodeNames

public List<String> getTerminalRouteNodeNames(String documentId)
Specified by:
getTerminalRouteNodeNames in interface RouteNodeDAO

getInitialNodeInstances

public List getInitialNodeInstances(String documentId)
Specified by:
getInitialNodeInstances in interface RouteNodeDAO

findNodeState

public NodeState findNodeState(Long nodeInstanceId,
                               String key)
Specified by:
findNodeState in interface RouteNodeDAO

findRouteNodeByName

public RouteNode findRouteNodeByName(String documentTypeId,
                                     String name)
Specified by:
findRouteNodeByName in interface RouteNodeDAO

findFinalApprovalRouteNodes

public List<RouteNode> findFinalApprovalRouteNodes(String documentTypeId)
Specified by:
findFinalApprovalRouteNodes in interface RouteNodeDAO

findProcessNodeInstances

public List findProcessNodeInstances(RouteNodeInstance process)
Specified by:
findProcessNodeInstances in interface RouteNodeDAO

findRouteNodeInstances

public List findRouteNodeInstances(String documentId)
Specified by:
findRouteNodeInstances in interface RouteNodeDAO

deleteLinksToPreNodeInstances

public void deleteLinksToPreNodeInstances(RouteNodeInstance routeNodeInstance)
Specified by:
deleteLinksToPreNodeInstances in interface RouteNodeDAO

deleteRouteNodeInstancesHereAfter

public void deleteRouteNodeInstancesHereAfter(RouteNodeInstance routeNodeInstance)
Specified by:
deleteRouteNodeInstancesHereAfter in interface RouteNodeDAO

deleteNodeStateById

public void deleteNodeStateById(Long nodeStateId)
Specified by:
deleteNodeStateById in interface RouteNodeDAO

deleteNodeStates

public void deleteNodeStates(List statesToBeDeleted)
Specified by:
deleteNodeStates in interface RouteNodeDAO

getDataObjectService

public DataObjectService getDataObjectService()

setDataObjectService

public void setDataObjectService(DataObjectService dataObjectService)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.