Coverage Report - org.kuali.rice.kew.actionrequest.dao.ActionRequestDAO
 
Classes in this File Line Coverage Branch Coverage Complexity
ActionRequestDAO
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.kew.actionrequest.dao;
 17  
 
 18  
 import org.kuali.rice.kew.actionrequest.ActionRequestValue;
 19  
 
 20  
 import java.util.Collection;
 21  
 import java.util.List;
 22  
 
 23  
 
 24  
 /**
 25  
  * Data Access Object for {@link ActionRequestValue}s.
 26  
  *
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  */
 29  
 public interface ActionRequestDAO {
 30  
 
 31  
     public ActionRequestValue getActionRequestByActionRequestId(String actionRequestId);
 32  
 
 33  
     public void saveActionRequest(ActionRequestValue actionRequest);
 34  
 
 35  
     public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId, Integer routeLevel);
 36  
 
 37  
     public List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel);
 38  
 
 39  
     public List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel);
 40  
 
 41  
     public void delete(String actionRequestId);
 42  
 
 43  
      public List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd, String documentId);
 44  
 
 45  
     public List<ActionRequestValue> findAllPendingByDocId(String documentId);
 46  
 
 47  
     public List<ActionRequestValue> findAllByDocId(String documentId);
 48  
 
 49  
     public List<ActionRequestValue> findAllRootByDocId(String documentId);
 50  
 
 51  
     public List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId);
 52  
 
 53  
     public List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId);
 54  
 
 55  
     public List<ActionRequestValue> findActivatedByGroup(String groupId);
 56  
 
 57  
     public List<ActionRequestValue> findPendingByResponsibilityIds(Collection responsibilityIds);
 58  
 
 59  
     public  void deleteByDocumentId(String documentId);
 60  
 
 61  
     public List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId);
 62  
 
 63  
     public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId);
 64  
 
 65  
     public List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId);
 66  
 
 67  
     //public List findFutureAdHocRequestsByDocIdAtRouteNode(String documentId, String nodeName);
 68  
 
 69  
     public boolean doesDocumentHaveUserRequest(String workflowId, String documentId);
 70  
   
 71  
     public List<String> getRequestGroupIds(String documentId);
 72  
 
 73  
 }