| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 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 |  |  import org.kuali.student.common.ui.client.service.exceptions.OperationFailedException; | 
  | 22 |  |   | 
  | 23 |  |  import com.google.gwt.user.client.rpc.RemoteService; | 
  | 24 |  |  import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | 
  | 25 |  |   | 
  | 26 |  |  @RemoteServiceRelativePath("rpcservices/WorkflowRpcService") | 
  | 27 |  |  public interface WorkflowRpcService extends RemoteService { | 
  | 28 |  |           | 
  | 29 |  |           | 
  | 30 |  |   | 
  | 31 |  |   | 
  | 32 |  |   | 
  | 33 |  |   | 
  | 34 |  |          public String getWorkflowIdFromDataId(String workflowDocType, String dataId) throws OperationFailedException; | 
  | 35 |  |           | 
  | 36 |  |   | 
  | 37 |  |           | 
  | 38 |  |   | 
  | 39 |  |   | 
  | 40 |  |   | 
  | 41 |  |   | 
  | 42 |  |          public String getDataIdFromWorkflowId(String workflowId) throws OperationFailedException; | 
  | 43 |  |           | 
  | 44 |  |           | 
  | 45 |  |   | 
  | 46 |  |   | 
  | 47 |  |   | 
  | 48 |  |   | 
  | 49 |  |          public String getDocumentStatus(String workflowId) throws OperationFailedException; | 
  | 50 |  |           | 
  | 51 |  |           | 
  | 52 |  |   | 
  | 53 |  |   | 
  | 54 |  |   | 
  | 55 |  |   | 
  | 56 |  |          public List<String> getWorkflowNodes(String workflowId) throws OperationFailedException; | 
  | 57 |  |           | 
  | 58 |  |           | 
  | 59 |  |   | 
  | 60 |  |   | 
  | 61 |  |   | 
  | 62 |  |   | 
  | 63 |  |          public String getActionsRequested(String workflowId) throws OperationFailedException; | 
  | 64 |  |           | 
  | 65 |  |           | 
  | 66 |  |          public Boolean submitDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 67 |  |      public Boolean cancelDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 68 |  |          public Boolean approveDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 69 |  |          public Boolean disapproveDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 70 |  |          public Boolean acknowledgeDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 71 |  |          public Boolean fyiDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 72 |  |          public Boolean withdrawDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 73 |  |      public Boolean blanketApproveDocumentWithId(String workflowId) throws OperationFailedException; | 
  | 74 |  |      public Boolean returnDocumentWithId(String workflowId, String nodeName) throws OperationFailedException; | 
  | 75 |  |      public List<String> getPreviousRouteNodeNames(String workflowId) throws OperationFailedException; | 
  | 76 |  |           | 
  | 77 |  |          public Boolean adhocRequest(String docId, String recipientPrincipalId, ActionRequestType requestType, String annotation) throws OperationFailedException; | 
  | 78 |  |           | 
  | 79 |  |      public Boolean isAuthorizedAddReviewer(String workflowId) throws OperationFailedException; | 
  | 80 |  |      public Boolean isAuthorizedRemoveReviewers(String workflowId) throws OperationFailedException; | 
  | 81 |  |  } |