org.kuali.rice.kew.actiontaken.dao.impl
Class ActionTakenDAOJpaImpl

java.lang.Object
  extended by org.kuali.rice.kew.actiontaken.dao.impl.ActionTakenDAOJpaImpl
All Implemented Interfaces:
ActionTakenDAO

public class ActionTakenDAOJpaImpl
extends Object
implements ActionTakenDAO

OJB implementation of the ActionTakenDAO.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ActionTakenDAOJpaImpl()
           
 
Method Summary
 void deleteActionTaken(ActionTakenValue actionTaken)
           
 void deleteByRouteHeaderId(Long routeHeaderId)
           
 ActionTakenValue findByActionTakenId(Long actionTakenId)
           
 Collection<ActionTakenValue> findByDocIdAndAction(Long routeHeaderId, String action)
           
 Collection<ActionTakenValue> findByRouteHeaderId(Long routeHeaderId)
           
 List findByRouteHeaderIdIgnoreCurrentInd(Long routeHeaderId)
           
 List<ActionTakenValue> findByRouteHeaderIdWorkflowId(Long routeHeaderId, String workflowId)
           
 javax.persistence.EntityManager getEntityManager()
           
 boolean hasUserTakenAction(String workflowId, Long routeHeaderId)
           
 ActionTakenValue load(Long id)
           
 void saveActionTaken(ActionTakenValue actionTaken)
           
 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

ActionTakenDAOJpaImpl

public ActionTakenDAOJpaImpl()
Method Detail

load

public ActionTakenValue load(Long id)
Specified by:
load in interface ActionTakenDAO

deleteActionTaken

public void deleteActionTaken(ActionTakenValue actionTaken)
Specified by:
deleteActionTaken in interface ActionTakenDAO

findByActionTakenId

public ActionTakenValue findByActionTakenId(Long actionTakenId)
Specified by:
findByActionTakenId in interface ActionTakenDAO

findByDocIdAndAction

public Collection<ActionTakenValue> findByDocIdAndAction(Long routeHeaderId,
                                                         String action)
Specified by:
findByDocIdAndAction in interface ActionTakenDAO

findByRouteHeaderId

public Collection<ActionTakenValue> findByRouteHeaderId(Long routeHeaderId)
Specified by:
findByRouteHeaderId in interface ActionTakenDAO

findByRouteHeaderIdWorkflowId

public List<ActionTakenValue> findByRouteHeaderIdWorkflowId(Long routeHeaderId,
                                                            String workflowId)
Specified by:
findByRouteHeaderIdWorkflowId in interface ActionTakenDAO

findByRouteHeaderIdIgnoreCurrentInd

public List findByRouteHeaderIdIgnoreCurrentInd(Long routeHeaderId)
Specified by:
findByRouteHeaderIdIgnoreCurrentInd in interface ActionTakenDAO

saveActionTaken

public void saveActionTaken(ActionTakenValue actionTaken)
Specified by:
saveActionTaken in interface ActionTakenDAO

deleteByRouteHeaderId

public void deleteByRouteHeaderId(Long routeHeaderId)
Specified by:
deleteByRouteHeaderId in interface ActionTakenDAO

hasUserTakenAction

public boolean hasUserTakenAction(String workflowId,
                                  Long routeHeaderId)
Specified by:
hasUserTakenAction in interface ActionTakenDAO

getEntityManager

public javax.persistence.EntityManager getEntityManager()

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.