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

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

public class RouteNodeDAOJpaImpl
extends Object
implements RouteNodeDAO


Constructor Summary
RouteNodeDAOJpaImpl()
           
 
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 findRouteNodeById(String nodeId)
           
 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)
           
 javax.persistence.EntityManager getEntityManager()
           
 List getInitialNodeInstances(String documentId)
           
 List<RouteNodeInstance> getTerminalNodeInstances(String documentId)
           
 List<String> getTerminalRouteNodeNames(String documentId)
           
 void save(Branch branch)
           
 void save(NodeState nodeState)
           
 void save(RouteNode node)
           
 void save(RouteNodeInstance nodeInstance)
           
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteNodeDAOJpaImpl

public RouteNodeDAOJpaImpl()
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

save

public void save(RouteNode node)
Specified by:
save in interface RouteNodeDAO

save

public void save(RouteNodeInstance nodeInstance)
Specified by:
save in interface RouteNodeDAO

save

public void save(NodeState nodeState)
Specified by:
save in interface RouteNodeDAO

save

public void save(Branch branch)
Specified by:
save in interface RouteNodeDAO

findRouteNodeById

public RouteNode findRouteNodeById(String nodeId)
Specified by:
findRouteNodeById in interface RouteNodeDAO

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


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