org.kuali.rice.kew.actionrequest.dao.impl
Class ActionRequestDAOOjbImpl

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

public class ActionRequestDAOOjbImpl
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements ActionRequestDAO

OJB implementation of the ActionRequestDAO.

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

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ActionRequestDAOOjbImpl()
           
 
Method Summary
 void delete(String actionRequestId)
           
 void deleteByDocumentId(String documentId)
           
 boolean doesDocumentHaveUserRequest(String principalId, String documentId)
           
 List<ActionRequestValue> findActivatedByGroup(String groupId)
           
 List<ActionRequestValue> findAllByDocId(String documentId)
           
 List<ActionRequestValue> findAllPendingByDocId(String documentId)
           
 List<ActionRequestValue> findAllRootByDocId(String documentId)
           
 List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
           
 List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId)
           
 List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd, String documentId)
           
 List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
           
 List<ActionRequestValue> findPendingByResponsibilityIds(Collection responsibilityIds)
           
 List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
           
 List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId, Integer routeLevel)
           
 List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
           
 List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)
           
 List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
           
 ActionRequestValue getActionRequestByActionRequestId(String actionRequestId)
           
 List<String> getRequestGroupIds(String documentId)
           
 ActionRequestValue getRoleActionRequestByActionTakenId(String actionTakenId)
           
 void saveActionRequest(ActionRequestValue actionRequest)
           
 
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

ActionRequestDAOOjbImpl

public ActionRequestDAOOjbImpl()
Method Detail

getActionRequestByActionRequestId

public ActionRequestValue getActionRequestByActionRequestId(String actionRequestId)
Specified by:
getActionRequestByActionRequestId in interface ActionRequestDAO

saveActionRequest

public void saveActionRequest(ActionRequestValue actionRequest)
Specified by:
saveActionRequest in interface ActionRequestDAO

findPendingByResponsibilityIds

public List<ActionRequestValue> findPendingByResponsibilityIds(Collection responsibilityIds)
Specified by:
findPendingByResponsibilityIds in interface ActionRequestDAO

findPendingByActionRequestedAndDocId

public List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd,
                                                                     String documentId)
Specified by:
findPendingByActionRequestedAndDocId in interface ActionRequestDAO

findByStatusAndDocId

public List<ActionRequestValue> findByStatusAndDocId(String statusCd,
                                                     String documentId)
Specified by:
findByStatusAndDocId in interface ActionRequestDAO

findPendingRootRequestsByDocIdAtRouteLevel

public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId,
                                                                           Integer routeLevel)
Specified by:
findPendingRootRequestsByDocIdAtRouteLevel in interface ActionRequestDAO

findPendingByDocIdAtOrBelowRouteLevel

public List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId,
                                                                      Integer routeLevel)
Specified by:
findPendingByDocIdAtOrBelowRouteLevel in interface ActionRequestDAO

findPendingRootRequestsByDocIdAtOrBelowRouteLevel

public List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId,
                                                                                  Integer routeLevel)
Specified by:
findPendingRootRequestsByDocIdAtOrBelowRouteLevel in interface ActionRequestDAO

delete

public void delete(String actionRequestId)
Specified by:
delete in interface ActionRequestDAO

findAllPendingByDocId

public List<ActionRequestValue> findAllPendingByDocId(String documentId)
Specified by:
findAllPendingByDocId in interface ActionRequestDAO

findAllByDocId

public List<ActionRequestValue> findAllByDocId(String documentId)
Specified by:
findAllByDocId in interface ActionRequestDAO

findAllRootByDocId

public List<ActionRequestValue> findAllRootByDocId(String documentId)
Specified by:
findAllRootByDocId in interface ActionRequestDAO

findByDocumentIdIgnoreCurrentInd

public List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
Specified by:
findByDocumentIdIgnoreCurrentInd in interface ActionRequestDAO

deleteByDocumentId

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

findPendingRootRequestsByDocumentType

public List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)
Specified by:
findPendingRootRequestsByDocumentType in interface ActionRequestDAO

findPendingRootRequestsByDocIdAtRouteNode

public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId,
                                                                          String nodeInstanceId)
Specified by:
findPendingRootRequestsByDocIdAtRouteNode in interface ActionRequestDAO

findRootRequestsByDocIdAtRouteNode

public List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId,
                                                                   String nodeInstanceId)
Specified by:
findRootRequestsByDocIdAtRouteNode in interface ActionRequestDAO

doesDocumentHaveUserRequest

public boolean doesDocumentHaveUserRequest(String principalId,
                                           String documentId)
Specified by:
doesDocumentHaveUserRequest in interface ActionRequestDAO

getRequestGroupIds

public List<String> getRequestGroupIds(String documentId)
Specified by:
getRequestGroupIds in interface ActionRequestDAO

findActivatedByGroup

public List<ActionRequestValue> findActivatedByGroup(String groupId)
Specified by:
findActivatedByGroup in interface ActionRequestDAO
See Also:
ActionRequestDAO.findActivatedByGroup(String)

getRoleActionRequestByActionTakenId

public ActionRequestValue getRoleActionRequestByActionTakenId(String actionTakenId)
Specified by:
getRoleActionRequestByActionTakenId in interface ActionRequestDAO


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