org.kuali.rice.kew.actionrequest.dao
Interface ActionRequestDAO

All Known Implementing Classes:
ActionRequestDAOJpaImpl, ActionRequestDAOOjbImpl

public interface ActionRequestDAO

Data Access Object for ActionRequestValues.

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

Method Summary
 void delete(Long actionRequestId)
           
 void deleteByRouteHeaderId(Long routeHeaderId)
           
 boolean doesDocumentHaveUserRequest(String workflowId, Long documentId)
           
 List findActivatedByGroup(String groupId)
           
 List findAllByDocId(Long routeHeaderId)
           
 List findAllPendingByDocId(Long routeHeaderId)
           
 List findAllRootByDocId(Long routeHeaderId)
           
 List findByRouteHeaderIdIgnoreCurrentInd(Long routeHeaderId)
           
 List<ActionRequestValue> findByStatusAndDocId(String statusCd, Long routeHeaderId)
           
 List findPendingByActionRequestedAndDocId(String actionRequestedCd, Long routeHeaderId)
           
 List findPendingByDocIdAtOrBelowRouteLevel(Long routeHeaderId, Integer routeLevel)
           
 List findPendingByResponsibilityIds(Collection responsibilityIds)
           
 List findPendingRootRequestsByDocIdAtOrBelowRouteLevel(Long routeHeaderId, Integer routeLevel)
           
 List findPendingRootRequestsByDocIdAtRouteLevel(Long routeHeaderId, Integer routeLevel)
           
 List findPendingRootRequestsByDocIdAtRouteNode(Long routeHeaderId, Long nodeInstanceId)
           
 List findPendingRootRequestsByDocumentType(Long documentTypeId)
           
 List findRootRequestsByDocIdAtRouteNode(Long documentId, Long nodeInstanceId)
           
 ActionRequestValue getActionRequestByActionRequestId(Long actionRequestId)
           
 List<String> getRequestGroupIds(Long documentId)
           
 void saveActionRequest(ActionRequestValue actionRequest)
           
 

Method Detail

getActionRequestByActionRequestId

ActionRequestValue getActionRequestByActionRequestId(Long actionRequestId)

saveActionRequest

void saveActionRequest(ActionRequestValue actionRequest)

findPendingRootRequestsByDocIdAtRouteLevel

List findPendingRootRequestsByDocIdAtRouteLevel(Long routeHeaderId,
                                                Integer routeLevel)

findPendingByDocIdAtOrBelowRouteLevel

List findPendingByDocIdAtOrBelowRouteLevel(Long routeHeaderId,
                                           Integer routeLevel)

findPendingRootRequestsByDocIdAtOrBelowRouteLevel

List findPendingRootRequestsByDocIdAtOrBelowRouteLevel(Long routeHeaderId,
                                                       Integer routeLevel)

delete

void delete(Long actionRequestId)

findPendingByActionRequestedAndDocId

List findPendingByActionRequestedAndDocId(String actionRequestedCd,
                                          Long routeHeaderId)

findAllPendingByDocId

List findAllPendingByDocId(Long routeHeaderId)

findAllByDocId

List findAllByDocId(Long routeHeaderId)

findAllRootByDocId

List findAllRootByDocId(Long routeHeaderId)

findByStatusAndDocId

List<ActionRequestValue> findByStatusAndDocId(String statusCd,
                                              Long routeHeaderId)

findByRouteHeaderIdIgnoreCurrentInd

List findByRouteHeaderIdIgnoreCurrentInd(Long routeHeaderId)

findActivatedByGroup

List findActivatedByGroup(String groupId)

findPendingByResponsibilityIds

List findPendingByResponsibilityIds(Collection responsibilityIds)

deleteByRouteHeaderId

void deleteByRouteHeaderId(Long routeHeaderId)

findPendingRootRequestsByDocumentType

List findPendingRootRequestsByDocumentType(Long documentTypeId)

findPendingRootRequestsByDocIdAtRouteNode

List findPendingRootRequestsByDocIdAtRouteNode(Long routeHeaderId,
                                               Long nodeInstanceId)

findRootRequestsByDocIdAtRouteNode

List findRootRequestsByDocIdAtRouteNode(Long documentId,
                                        Long nodeInstanceId)

doesDocumentHaveUserRequest

boolean doesDocumentHaveUserRequest(String workflowId,
                                    Long documentId)

getRequestGroupIds

List<String> getRequestGroupIds(Long documentId)


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