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 deleteByDocumentId(String documentId)
           
 ActionTakenValue findByActionTakenId(String actionTakenId)
           
 Collection<ActionTakenValue> findByDocIdAndAction(String documentId, String action)
           
 Collection<ActionTakenValue> findByDocumentId(String documentId)
           
 List findByDocumentIdIgnoreCurrentInd(String documentId)
           
 List<ActionTakenValue> findByDocumentIdWorkflowId(String documentId, String workflowId)
           
 javax.persistence.EntityManager getEntityManager()
           
 Timestamp getLastActionTakenDate(String documentId, ActionType actionType)
           
 boolean hasUserTakenAction(String workflowId, String documentId)
           
 ActionTakenValue load(String 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(String id)
Specified by:
load in interface ActionTakenDAO

deleteActionTaken

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

findByActionTakenId

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

findByDocIdAndAction

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

findByDocumentId

public Collection<ActionTakenValue> findByDocumentId(String documentId)
Specified by:
findByDocumentId in interface ActionTakenDAO

findByDocumentIdWorkflowId

public List<ActionTakenValue> findByDocumentIdWorkflowId(String documentId,
                                                         String workflowId)
Specified by:
findByDocumentIdWorkflowId in interface ActionTakenDAO

findByDocumentIdIgnoreCurrentInd

public List findByDocumentIdIgnoreCurrentInd(String documentId)
Specified by:
findByDocumentIdIgnoreCurrentInd in interface ActionTakenDAO

saveActionTaken

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

deleteByDocumentId

public void deleteByDocumentId(String documentId)
Specified by:
deleteByDocumentId in interface ActionTakenDAO

hasUserTakenAction

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

getLastActionTakenDate

public Timestamp getLastActionTakenDate(String documentId,
                                        ActionType actionType)
Specified by:
getLastActionTakenDate in interface ActionTakenDAO

getEntityManager

public javax.persistence.EntityManager getEntityManager()

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)


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