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

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kew.actiontaken.dao.impl.ActionTakenDAOOjbImpl
All Implemented Interfaces:
ActionTakenDAO, org.springframework.beans.factory.InitializingBean

public class ActionTakenDAOOjbImpl
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements ActionTakenDAO

OJB implementation of the ActionTakenDAO.

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

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ActionTakenDAOOjbImpl()
           
 
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 principalId)
           
 Timestamp getLastActionTakenDate(String documentId, ActionType actionType)
           
 boolean hasUserTakenAction(String principalId, String documentId)
           
 ActionTakenValue load(String id)
           
 void saveActionTaken(ActionTakenValue actionTaken)
           
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionTakenDAOOjbImpl

public ActionTakenDAOOjbImpl()
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 principalId)
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 principalId,
                                  String documentId)
Specified by:
hasUserTakenAction in interface ActionTakenDAO

getLastActionTakenDate

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


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