|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkflowConnection
Method Summary | |
---|---|
void |
close()
Interrupt the connection with the engine |
IWorkflowProcess |
createProcess(java.lang.String workflowPackageID,
java.lang.String workflowID)
Crate an instance of the Process with the given packageId and workflowId |
IWorkflowProcess |
createProcessWithInitialContext(java.lang.String workflowPackageID,
java.lang.String workflowID,
java.util.Map context)
Crate an instance of the Process with the given packageId and workflowId and the given context |
void |
deleteProcess(IWorkflowProcess process)
Delete a process instance from the engine |
java.util.List |
getAllWorkflowProcessDefinition()
The list of the Workflow defintion object in the system |
java.util.List |
getAssignments()
The List assignemt activity associated with the user that has establishe the connection |
java.util.List |
getProcessForPackage(IWorkflowPackage pkg)
Given the package identifier return the list of the runtime process for the package |
IWorkflowAssignment |
getWorkflowAssignment(java.lang.String activityId)
List assignemt activity associated with the user that has establishe the connection |
java.util.List |
getWorkflowProcessDefinition(IWorkflowPackage pkg)
|
void |
open(java.lang.String userId,
java.lang.String userPassword)
This method establish the connection with the engine using the user and passord credential |
Method Detail |
---|
void open(java.lang.String userId, java.lang.String userPassword) throws WorkflowEngineException
userId
- The user etsablishing connection with the engineuserPassword
- The password of the user etsablishing connection with the engine
WorkflowEngineException
- if some errors occursIWorkflowProcess createProcess(java.lang.String workflowPackageID, java.lang.String workflowID) throws WorkflowEngineException
workflowPackageID
- The package IdentifierworkflowID
- The workflow identifier
WorkflowEngineException
- if some errors occursIWorkflowProcess createProcessWithInitialContext(java.lang.String workflowPackageID, java.lang.String workflowID, java.util.Map context) throws WorkflowEngineException
workflowPackageID
- The package IdentifierworkflowID
- The workflow identifiercontext
- the initial context of the process
WorkflowEngineException
- if some errors occursjava.util.List getAssignments() throws WorkflowEngineException
WorkflowEngineException
- if some errors occursvoid close() throws WorkflowEngineException
WorkflowEngineException
IWorkflowAssignment getWorkflowAssignment(java.lang.String activityId) throws WorkflowEngineException
activityId
- The activity Id
WorkflowEngineException
- if some errors occurs
WorkflowEngineException
java.util.List getProcessForPackage(IWorkflowPackage pkg) throws WorkflowEngineException
pkg
- The package identifier
WorkflowEngineException
void deleteProcess(IWorkflowProcess process) throws WorkflowEngineException
process
- the process to delete
WorkflowEngineException
java.util.List getAllWorkflowProcessDefinition() throws WorkflowEngineException
WorkflowEngineException
java.util.List getWorkflowProcessDefinition(IWorkflowPackage pkg) throws WorkflowEngineException
pkg
- The IWorkflowPackage
WorkflowEngineException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |