public class RouteNodeDAOJpaImpl extends Object implements RouteNodeDAO
Constructor and Description |
---|
RouteNodeDAOJpaImpl() |
public RouteNodeDAOJpaImpl()
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setpublic void save(RouteNode node)
save
in interface RouteNodeDAO
public void save(RouteNodeInstance nodeInstance)
save
in interface RouteNodeDAO
public void save(NodeState nodeState)
save
in interface RouteNodeDAO
public void save(Branch branch)
save
in interface RouteNodeDAO
public RouteNode findRouteNodeById(String nodeId)
findRouteNodeById
in interface RouteNodeDAO
public RouteNodeInstance findRouteNodeInstanceById(String nodeInstanceId)
findRouteNodeInstanceById
in interface RouteNodeDAO
public List<RouteNodeInstance> getActiveNodeInstances(String documentId)
getActiveNodeInstances
in interface RouteNodeDAO
public List<String> getCurrentRouteNodeNames(String documentId)
getCurrentRouteNodeNames
in interface RouteNodeDAO
public List<String> getActiveRouteNodeNames(String documentId)
getActiveRouteNodeNames
in interface RouteNodeDAO
public List<RouteNodeInstance> getTerminalNodeInstances(String documentId)
getTerminalNodeInstances
in interface RouteNodeDAO
public List<String> getTerminalRouteNodeNames(String documentId)
getTerminalRouteNodeNames
in interface RouteNodeDAO
public List getInitialNodeInstances(String documentId)
getInitialNodeInstances
in interface RouteNodeDAO
public NodeState findNodeState(Long nodeInstanceId, String key)
findNodeState
in interface RouteNodeDAO
public RouteNode findRouteNodeByName(String documentTypeId, String name)
findRouteNodeByName
in interface RouteNodeDAO
public List<RouteNode> findFinalApprovalRouteNodes(String documentTypeId)
findFinalApprovalRouteNodes
in interface RouteNodeDAO
public List findProcessNodeInstances(RouteNodeInstance process)
findProcessNodeInstances
in interface RouteNodeDAO
public List findRouteNodeInstances(String documentId)
findRouteNodeInstances
in interface RouteNodeDAO
public void deleteLinksToPreNodeInstances(RouteNodeInstance routeNodeInstance)
deleteLinksToPreNodeInstances
in interface RouteNodeDAO
public void deleteRouteNodeInstancesHereAfter(RouteNodeInstance routeNodeInstance)
deleteRouteNodeInstancesHereAfter
in interface RouteNodeDAO
public void deleteNodeStateById(Long nodeStateId)
deleteNodeStateById
in interface RouteNodeDAO
public void deleteNodeStates(List statesToBeDeleted)
deleteNodeStates
in interface RouteNodeDAO
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.