@RemoteServiceRelativePath(value="workflow")
public interface WorkflowService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
void |
appendDocuments(String sid,
String taskId,
Long[] docIds)
Appends to the workflow of the given taskId the documents with the given
doc ids.
|
void |
applyTriggersToTree(String sid,
long rootId)
Applies the triggers on a root folder to all the subtree
|
GUIWorkflow |
claimTask(String sid,
String taskId,
String userId)
The given user take the ownership of the task.
|
int |
countActiveUserTasks(String sid,
String username)
Counts all the tasks assigned to the given user.
|
void |
delete(String sid,
String workflowName)
Deletes a given workflow
|
void |
deleteInstance(String sid,
String id)
Deletes a given workflow instance
|
void |
deleteTrigger(String sid,
long id)
Deletes a workflow trigger
|
void |
deploy(String sid,
GUIWorkflow workflow)
Deploys a given workflow
|
void |
endTask(String sid,
String taskId,
String transitionName)
Ends a task invoking the transition.
|
GUIWorkflow |
get(String sid,
String workflowName)
Loads a given workflow from the database
|
GUIWorkflow |
getWorkflowDetailsByTask(String sid,
String taskId)
Retrieves all the info of the workflow of the given task.
|
GUIWorkflow |
importSchema(String sid)
Imports a new workflow schema.
|
GUIWorkflow[] |
list(String sid)
Lists all the workflows on the database
|
GUIWorkflow |
reassignTask(String sid,
String taskId,
String userId)
The task is assigned to another user
|
GUIWorkflow |
save(String sid,
GUIWorkflow workflow)
Creates or updates a workflow
|
void |
saveTrigger(String sid,
String folderId,
String workflowId,
String templateId,
int startAtCheckin)
Save a new workflow trigger on the given folder with the given workflowId
and templateId.
|
void |
startWorkflow(String sid,
String workflowName,
String workflowDescription,
long[] docIds)
Start a workflow with the given name and associated to the documents with
the given doc ids.
|
void |
turnBackTaskToPool(String sid,
String taskId)
The task is reassigned to the pooled users.
|
void |
undeploy(String sid,
String workflowName)
Undeploys a given workflow
|
GUIWorkflow get(String sid, String workflowName) throws InvalidSessionException
InvalidSessionExceptionvoid delete(String sid, String workflowName) throws InvalidSessionException
InvalidSessionExceptionvoid deleteInstance(String sid, String id) throws InvalidSessionException
InvalidSessionExceptionGUIWorkflow importSchema(String sid) throws InvalidSessionException
InvalidSessionExceptionGUIWorkflow save(String sid, GUIWorkflow workflow) throws InvalidSessionException
InvalidSessionExceptionvoid deploy(String sid, GUIWorkflow workflow) throws InvalidSessionException
InvalidSessionExceptionvoid undeploy(String sid, String workflowName) throws InvalidSessionException
InvalidSessionExceptionGUIWorkflow[] list(String sid) throws InvalidSessionException
InvalidSessionExceptionvoid deleteTrigger(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionvoid applyTriggersToTree(String sid, long rootId) throws InvalidSessionException
InvalidSessionExceptionvoid saveTrigger(String sid, String folderId, String workflowId, String templateId, int startAtCheckin) throws InvalidSessionException
InvalidSessionExceptionvoid startWorkflow(String sid, String workflowName, String workflowDescription, long[] docIds) throws InvalidSessionException
InvalidSessionExceptionGUIWorkflow getWorkflowDetailsByTask(String sid, String taskId) throws InvalidSessionException
InvalidSessionExceptionGUIWorkflow claimTask(String sid, String taskId, String userId) throws InvalidSessionException
InvalidSessionExceptionGUIWorkflow reassignTask(String sid, String taskId, String userId) throws InvalidSessionException
InvalidSessionExceptionvoid turnBackTaskToPool(String sid, String taskId) throws InvalidSessionException
InvalidSessionExceptionvoid endTask(String sid, String taskId, String transitionName) throws InvalidSessionException
InvalidSessionExceptionint countActiveUserTasks(String sid, String username) throws InvalidSessionException
InvalidSessionExceptionvoid appendDocuments(String sid, String taskId, Long[] docIds) throws InvalidSessionException
InvalidSessionExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.