Interface WorkflowServiceAsync


  • public interface WorkflowServiceAsync
    • Method Detail

      • delete

        void delete​(String name,
                    com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • get

        void get​(String workflowName,
                 Integer version,
                 com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • deploy

        void deploy​(GUIWorkflow workflow,
                    com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • list

        void list​(com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow[]> callback)
      • save

        void save​(GUIWorkflow workflow,
                  com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • deleteTrigger

        void deleteTrigger​(long id,
                           com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • saveTrigger

        void saveTrigger​(String folderId,
                         String workflowId,
                         String templateId,
                         String events,
                         com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • startWorkflow

        void startWorkflow​(String workflowName,
                           String workflowDescription,
                           String tag,
                           long[] docIds,
                           com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • getWorkflowDetailsByTask

        void getWorkflowDetailsByTask​(String taskId,
                                      com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • endTask

        void endTask​(String taskId,
                     String transitionName,
                     com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • claimTask

        void claimTask​(String taskId,
                       String userId,
                       com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • turnBackTaskToPool

        void turnBackTaskToPool​(String taskId,
                                com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • countAssignedTasks

        void countAssignedTasks​(String username,
                                com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback)
      • appendDocuments

        void appendDocuments​(String taskId,
                             Long[] docIds,
                             com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • importSchema

        void importSchema​(com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • applyTriggersToTree

        void applyTriggersToTree​(long rootId,
                                 com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • deleteInstance

        void deleteInstance​(String id,
                            com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • reassignTask

        void reassignTask​(String taskId,
                          String userId,
                          com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)
      • undeploy

        void undeploy​(String workflowName,
                      com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • addNote

        void addNote​(String taskId,
                     String note,
                     com.google.gwt.user.client.rpc.AsyncCallback<Long> callback)
      • deleteNote

        void deleteNote​(long noteId,
                        com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • removeDocument

        void removeDocument​(String instanceId,
                            long docId,
                            com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      • getCompletionDiagram

        void getCompletionDiagram​(String workflowName,
                                  Integer version,
                                  String processInstanceId,
                                  com.google.gwt.user.client.rpc.AsyncCallback<GUIWorkflow> callback)