@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
InvalidSessionException
void delete(String sid, String workflowName) throws InvalidSessionException
InvalidSessionException
void deleteInstance(String sid, String id) throws InvalidSessionException
InvalidSessionException
GUIWorkflow importSchema(String sid) throws InvalidSessionException
InvalidSessionException
GUIWorkflow save(String sid, GUIWorkflow workflow) throws InvalidSessionException
InvalidSessionException
void deploy(String sid, GUIWorkflow workflow) throws InvalidSessionException
InvalidSessionException
void undeploy(String sid, String workflowName) throws InvalidSessionException
InvalidSessionException
GUIWorkflow[] list(String sid) throws InvalidSessionException
InvalidSessionException
void deleteTrigger(String sid, long id) throws InvalidSessionException
InvalidSessionException
void applyTriggersToTree(String sid, long rootId) throws InvalidSessionException
InvalidSessionException
void saveTrigger(String sid, String folderId, String workflowId, String templateId, int startAtCheckin) throws InvalidSessionException
InvalidSessionException
void startWorkflow(String sid, String workflowName, String workflowDescription, long[] docIds) throws InvalidSessionException
InvalidSessionException
GUIWorkflow getWorkflowDetailsByTask(String sid, String taskId) throws InvalidSessionException
InvalidSessionException
GUIWorkflow claimTask(String sid, String taskId, String userId) throws InvalidSessionException
InvalidSessionException
GUIWorkflow reassignTask(String sid, String taskId, String userId) throws InvalidSessionException
InvalidSessionException
void turnBackTaskToPool(String sid, String taskId) throws InvalidSessionException
InvalidSessionException
void endTask(String sid, String taskId, String transitionName) throws InvalidSessionException
InvalidSessionException
int countActiveUserTasks(String sid, String username) throws InvalidSessionException
InvalidSessionException
void appendDocuments(String sid, String taskId, Long[] docIds) throws InvalidSessionException
InvalidSessionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.