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 findFinalApprovalRouteNodes(Long documentTypeId)
           
 NodeState findNodeState(Long nodeInstanceId, String key)
           
 List findProcessNodeInstances(RouteNodeInstance process)
           
 RouteNode findRouteNodeById(Long nodeId)
           
 RouteNode findRouteNodeByName(Long documentTypeId, String name)
           
 RouteNodeInstance findRouteNodeInstanceById(Long nodeInstanceId)
           
 List findRouteNodeInstances(Long documentId)
           
 List<RouteNodeInstance> getActiveNodeInstances(Long documentId)
           
 javax.persistence.EntityManager getEntityManager()
           
 List getInitialNodeInstances(Long documentId)
           
 List<RouteNodeInstance> getTerminalNodeInstances(Long 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(Long nodeId)
Specified by:
findRouteNodeById in interface RouteNodeDAO

findRouteNodeInstanceById

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

getActiveNodeInstances

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

getTerminalNodeInstances

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

getInitialNodeInstances

public List getInitialNodeInstances(Long 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(Long documentTypeId,
                                     String name)
Specified by:
findRouteNodeByName in interface RouteNodeDAO

findFinalApprovalRouteNodes

public List findFinalApprovalRouteNodes(Long documentTypeId)
Specified by:
findFinalApprovalRouteNodes in interface RouteNodeDAO

findProcessNodeInstances

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

findRouteNodeInstances

public List findRouteNodeInstances(Long 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 © 2007-2011 The Kuali Foundation. All Rights Reserved.