Coverage Report - org.kuali.student.core.workflow.ui.client.service.WorkflowRpcServiceAsync
 
Classes in this File Line Coverage Branch Coverage Complexity
WorkflowRpcServiceAsync
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the
 3  
  * Educational Community License, Version 2.0 (the "License"); you may
 4  
  * not use this file except in compliance with the License. You may
 5  
  * obtain a copy of the License at
 6  
  *
 7  
  * http://www.osedu.org/licenses/ECL-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing,
 10  
  * software distributed under the License is distributed on an "AS IS"
 11  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 12  
  * or implied. See the License for the specific language governing
 13  
  * permissions and limitations under the License.
 14  
  */
 15  
 
 16  
 package org.kuali.student.core.workflow.ui.client.service;
 17  
 
 18  
 import java.util.List;
 19  
 
 20  
 import org.kuali.student.common.rice.StudentWorkflowConstants.ActionRequestType;
 21  
 
 22  
 import com.google.gwt.user.client.rpc.AsyncCallback;
 23  
 
 24  
 /**
 25  
  *  Aysnc methods to make workflow rpc service calls. 
 26  
  * 
 27  
  */
 28  
 public interface WorkflowRpcServiceAsync {
 29  
 
 30  
         public void getWorkflowIdFromDataId(String workflowDocType, String dataId, AsyncCallback<String> callback);
 31  
         public void getDataIdFromWorkflowId(String workflowId, AsyncCallback<String> callback);
 32  
         public void getDocumentStatus(String workflowId, AsyncCallback<String> callback);
 33  
         public void getWorkflowNodes(String workflowId, AsyncCallback<List<String>> callback);
 34  
 
 35  
         public void getActionsRequested(String workflowId, AsyncCallback<String> callback);
 36  
         
 37  
         public void submitDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 38  
     public void cancelDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 39  
         public void approveDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 40  
         public void disapproveDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 41  
         public void acknowledgeDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 42  
         public void fyiDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 43  
         public void withdrawDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 44  
     public void blanketApproveDocumentWithId(String workflowId, AsyncCallback<Boolean> callback);
 45  
     public void returnDocumentWithId(String workflowId, String nodeName, AsyncCallback<Boolean> callback);
 46  
     public void getPreviousRouteNodeNames(String workflowId, AsyncCallback<List<String>> callback);
 47  
         
 48  
         public void adhocRequest(String workflowId, String recipientPrincipalId, ActionRequestType requestType, String annotation, AsyncCallback<Boolean> callback);
 49  
         
 50  
     public void isAuthorizedAddReviewer(String docId, AsyncCallback<Boolean> callback);
 51  
     public void isAuthorizedRemoveReviewers(String docId, AsyncCallback<Boolean> callback);
 52  
 }