|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkflowAssignment
Method Summary | |
---|---|
void |
abort()
This method abort the assignment |
void |
accept()
This ensure that user in connection take the assignment |
void |
complete()
This method complete the assignment |
java.lang.String |
getActivityDescription()
This method return the description of the activity for the assignment |
java.lang.String |
getActivityKey()
This method return the key of the activity for the assignment |
java.lang.String |
getActivityName()
This method return the name of the activity for the assignment |
short |
getActivityPriority()
This method return the priority of the activity for the assignment |
java.lang.String |
getActivityState()
This method return the state of the activity for the assignment |
java.util.Map |
getContext()
This method return the Context of the process that own the assignment |
java.lang.String |
getMappedForm()
In SpagoWorkflow API an assignment can be associate to a form that must be completed to complete assignment |
java.lang.String |
getProcessDescription()
This method return the description of the process at runtime |
java.lang.String |
getProcessKey()
This method return return the key of the process that own the assignment |
java.lang.String |
getProcessName()
This method return the name of the process that own the assignment |
java.lang.String |
getProcessState()
This method return the state of the process at runtime |
boolean |
isAccepted()
|
void |
reject()
If an assignment have been taken and cannot be complete by a user this method can be called and the assignemnt become available to other users that can be complete it |
void |
setContext(java.util.Map context)
|
Method Detail |
---|
java.lang.String getProcessKey() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getProcessName() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getProcessDescription() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getProcessState() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getActivityKey() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getActivityName() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getActivityDescription() throws WorkflowEngineException
WorkflowEngineException
- if some error occursshort getActivityPriority() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getActivityState() throws WorkflowEngineException
WorkflowEngineException
- if some error occursboolean isAccepted() throws WorkflowEngineException
WorkflowEngineException
- if some error occursvoid complete() throws WorkflowEngineException
WorkflowEngineException
- if some error occursvoid abort() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.util.Map getContext() throws WorkflowEngineException
WorkflowEngineException
- if some error occursvoid setContext(java.util.Map context) throws WorkflowEngineException
context
- the new Context to set in process
WorkflowEngineException
- if some error occursvoid accept() throws WorkflowEngineException
WorkflowEngineException
- if some error occursjava.lang.String getMappedForm()
void reject() throws WorkflowEngineException
WorkflowEngineException
- if some error occurs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |