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(String actionRequestId)
           
 void deleteByDocumentId(String documentId)
           
 boolean doesDocumentHaveUserRequest(String workflowId, 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)
           
 void saveActionRequest(ActionRequestValue actionRequest)
           
 

Method Detail

getActionRequestByActionRequestId

ActionRequestValue getActionRequestByActionRequestId(String actionRequestId)

saveActionRequest

void saveActionRequest(ActionRequestValue actionRequest)

findPendingRootRequestsByDocIdAtRouteLevel

List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId,
                                                                    Integer routeLevel)

findPendingByDocIdAtOrBelowRouteLevel

List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId,
                                                               Integer routeLevel)

findPendingRootRequestsByDocIdAtOrBelowRouteLevel

List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId,
                                                                           Integer routeLevel)

delete

void delete(String actionRequestId)

findPendingByActionRequestedAndDocId

List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd,
                                                              String documentId)

findAllPendingByDocId

List<ActionRequestValue> findAllPendingByDocId(String documentId)

findAllByDocId

List<ActionRequestValue> findAllByDocId(String documentId)

findAllRootByDocId

List<ActionRequestValue> findAllRootByDocId(String documentId)

findByStatusAndDocId

List<ActionRequestValue> findByStatusAndDocId(String statusCd,
                                              String documentId)

findByDocumentIdIgnoreCurrentInd

List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)

findActivatedByGroup

List<ActionRequestValue> findActivatedByGroup(String groupId)

findPendingByResponsibilityIds

List<ActionRequestValue> findPendingByResponsibilityIds(Collection responsibilityIds)

deleteByDocumentId

void deleteByDocumentId(String documentId)

findPendingRootRequestsByDocumentType

List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)

findPendingRootRequestsByDocIdAtRouteNode

List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId,
                                                                   String nodeInstanceId)

findRootRequestsByDocIdAtRouteNode

List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId,
                                                            String nodeInstanceId)

doesDocumentHaveUserRequest

boolean doesDocumentHaveUserRequest(String workflowId,
                                    String documentId)

getRequestGroupIds

List<String> getRequestGroupIds(String documentId)


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