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