|
Agentflow V3.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsi.wfcidata.AFTaskManager
public class AFTaskManager
AFTaskManager
| Constructor Summary | |
|---|---|
AFTaskManager(WFCI wfci)
Constructor |
|
| Method Summary | |
|---|---|
void |
bypassAFTask(AFTask task,
java.lang.String astID)
Bypass the AFTask. |
java.util.HashMap |
completeAFTask(AFTask task)
Complete the AFTask. |
boolean |
deleteGlobals(java.lang.String rootTaskID)
Delete Globals data from database. |
boolean |
forceReassignAFTask(AFTask task,
AFMemberRecord member)
Force to reassign the AFTask. |
boolean |
forceReassignAFTask(java.lang.String taskID,
java.lang.String memID)
Force to reassign the AFTask. |
AFArtInstance |
getAFArtInstance(java.lang.String iID)
Return an AFartInstance object by ID. |
AFArtInstance |
getAFArtInstance(java.lang.String iID,
java.lang.String tID)
Return an AFartInstance object by the specific ID and task. |
AFTask |
getAFTask(java.lang.String tID)
Return an AFTask object by ID. |
java.util.HashMap |
getGlobals(java.lang.String rootTaskID)
Get Globals data from previous setGlobals function. |
AFTaskList |
getRootTaskOfJoinMember(java.lang.String mID)
Return root tasks with some specific member is involved in. |
AFTaskList |
getRootTaskOfJoinMember(java.lang.String mID,
int state)
Return root tasks with the specific member is involved in and the specific state. |
AFTaskList |
getRootTaskOfJoinMember(java.lang.String mID,
java.lang.String proID)
Return root tasks with the specific member is involved in and the specific state. |
AFTaskList |
getRootTaskOfMember(java.lang.String mID)
Return root tasks executed by some specific member. |
AFTaskList |
getRootTaskOfMember(java.lang.String mID,
int state)
Return root tasks which in some state and executed by some specific member. |
AFTaskList |
getSubTaskList(java.lang.String parentID)
Return subtasks of some specific task. |
java.util.Vector |
getTaskIDListOfMember(java.lang.String mID,
int sc,
int ec,
java.lang.String order)
Return all task id of some specific member. |
AFTaskList |
getTaskList(java.lang.String mID)
Return all tasks of some specific member. |
AFTaskList |
getTaskOfMember(java.lang.String mID)
Return tasks executed by some specific member. |
AFTaskList |
getTaskOfMember(java.lang.String mID,
int state)
Return root tasks which in some state and executed by some specific member. |
AFTaskList |
getTaskOfRootTask(java.lang.String rootTID)
Return tasks of some specific root task. |
boolean |
goBackTo(java.lang.String fromTaskID,
java.lang.String toProID,
boolean artMode)
Go back to a former task node in the same process. |
boolean |
goBackTo(java.lang.String fromTaskID,
Task toTask,
boolean artMode)
Go back to a former task node in the same process. |
boolean |
goBackTo(Task fromTask,
java.lang.String toProID,
boolean artMode)
Go back to a former task node in the same process. |
java.util.HashMap |
goBackToWithDetailRet(Task fromTask,
java.lang.String toProID,
boolean artMode)
Go back to a former task node in the same process. |
boolean |
isLocked(java.lang.String tskID)
Check if the task is locked. |
void |
lockAFTask(java.lang.String tskID)
Lock the root AFTask of the AFTask. |
java.util.HashMap |
notifyAFTask(java.lang.String tskID)
Remove be state of waiting of the AFTask. |
boolean |
pickQueueAFTask(AFTask task)
Pick the queue of the AFTask. |
boolean |
removeTaskByAdm(java.lang.String p_RootTaskID)
Force to remove task. |
boolean |
removeTaskByUser(java.lang.String p_RootTaskID,
java.lang.String p_MemID)
Force to remove task by the specific member. |
void |
setGlobals(java.lang.String rootTaskID,
java.util.HashMap args)
Keep data into database and then reuse. |
java.util.HashMap |
startAFTask(AFTask task)
Start the AFTask. |
void |
stopRootTask(java.lang.String rootTaskID)
Stop the root task. |
java.util.HashMap |
suspendAFTask(AFTask task)
Suspend the AFTask. |
void |
unlockAFTask(java.lang.String tskID)
UnLock the root AFTask of the AFTask. |
boolean |
updateAFArtInstance(AFArtInstance instance)
Update an AFArtInstance instance |
boolean |
updateAFArtInstance(java.lang.String tID,
AFArtInstance instance)
Update an AFArtInstance instance |
boolean |
updateAFTask(AFTask t)
Update the data object of task. |
void |
waitAFTask(java.lang.String tskID)
Set the AFTask to be state of waiting |
void |
waitAFTask(java.lang.String tskID,
java.lang.String timeString)
Set the AFTask to be state of waiting, and the waiting duration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AFTaskManager(WFCI wfci)
wfci - WFCI interface| Method Detail |
|---|
public void bypassAFTask(AFTask task,
java.lang.String astID)
throws WFCIException
p_Task - the given AFTaskp_AstID - the given PASEartStateID
WFCIException
public java.util.HashMap completeAFTask(AFTask task)
throws WFCIException
t - the given AFTask
WFCIException
public boolean deleteGlobals(java.lang.String rootTaskID)
throws WFCIException
rootTaskID - the givin root TaskID
WFCIException
public boolean forceReassignAFTask(AFTask task,
AFMemberRecord member)
throws WFCIException
p_Task - the given AFTaskp_MR - the given MemberRecord
WFCIException
public boolean forceReassignAFTask(java.lang.String taskID,
java.lang.String memID)
throws WFCIException
p_TaskID - the given TaskIDp_MemID - the given MemberRecordID
WFCIException
public AFArtInstance getAFArtInstance(java.lang.String iID)
throws WFCIException
iID - AFArtInstance ID
WFCIException
public AFArtInstance getAFArtInstance(java.lang.String iID,
java.lang.String tID)
throws WFCIException
iID - AFArtInstance IDtID - AFTask ID
WFCIException
public AFTask getAFTask(java.lang.String tID)
throws WFCIException
tID - AFTask ID
WFCIException
public java.util.HashMap getGlobals(java.lang.String rootTaskID)
throws WFCIException
rootTaskID - the givin root TaskID
WFCIException
public AFTaskList getRootTaskOfJoinMember(java.lang.String mID)
throws WFCIException
mID - the given MemberID
WFCIExceptionAFTaskList
public AFTaskList getRootTaskOfJoinMember(java.lang.String mID,
int state)
throws WFCIException
mID - the given MemberIDstate - the given TaskState,see attributes TASK_STATE_XXX in pe.pase.Task
WFCIExceptionAFTaskList
public AFTaskList getRootTaskOfJoinMember(java.lang.String mID,
java.lang.String proID)
throws WFCIException
mID - the given MemberIDproID - the given ProcessID
WFCIExceptionAFTaskList
public AFTaskList getRootTaskOfMember(java.lang.String mID)
throws WFCIException
mID - the given MemberID
WFCIExceptionAFTaskList
public AFTaskList getRootTaskOfMember(java.lang.String mID,
int state)
throws WFCIException
mID - the given MemberIDstate - the given TaskState,see attributes TASK_STATE_XXX in pe.pase.Task
WFCIExceptionAFTaskList
public AFTaskList getSubTaskList(java.lang.String parentID)
throws WFCIException
parentTID - the given TaskID
WFCIExceptionAFTaskList
public java.util.Vector getTaskIDListOfMember(java.lang.String mID,
int sc,
int ec,
java.lang.String order)
throws WFCIException
mID - the given MemberIDsc - start indexec - end indexorder - for sorting
WFCIExceptionTask
public AFTaskList getTaskList(java.lang.String mID)
throws WFCIException
mID - the given MemberID
WFCIExceptionAFTaskList
public AFTaskList getTaskOfMember(java.lang.String mID)
throws WFCIException
mID - the given MemberID
WFCIExceptionAFTaskList
public AFTaskList getTaskOfMember(java.lang.String mID,
int state)
throws WFCIException
mID - the given MemberIDstate - the given TaskState, see attributes TASK_STATE_XXX in pe.pase.Task
WFCIExceptionAFTaskList
public AFTaskList getTaskOfRootTask(java.lang.String rootTID)
throws WFCIException
rootTID - the given TaskID
WFCIExceptionAFTaskList
public boolean goBackTo(java.lang.String fromTaskID,
java.lang.String toProID,
boolean artMode)
throws WFCIException
fromTaskID - a Task ID.toProID - a ProcessID.artMode - true if a new artifact is used.
WFCIExceptionWFCI
public boolean goBackTo(java.lang.String fromTaskID,
Task toTask,
boolean artMode)
throws WFCIException
fromTaskID - a TaskID.toTask - a previous Task.artMode - true if a new artifact is used.
WFCIExceptionWFCI
public boolean goBackTo(Task fromTask,
java.lang.String toProID,
boolean artMode)
throws WFCIException
fromTask - a Task.toProID - a ProcessID.artMode - true if a new artifact is used.
WFCIExceptionWFCI
public java.util.HashMap goBackToWithDetailRet(Task fromTask,
java.lang.String toProID,
boolean artMode)
throws WFCIException
fromTaskID - the given TaskIDtoProID - the given ProcessIDartMode - true if a new artifact is used.
WFCIException
public boolean isLocked(java.lang.String tskID)
throws WFCIException
tskID - the given TaskID
WFCIException
public void lockAFTask(java.lang.String tskID)
throws WFCIException
tskID - the given TaskID
WFCIException
public java.util.HashMap notifyAFTask(java.lang.String tskID)
throws WFCIException
tskID - the given TaskID
WFCIException
public boolean pickQueueAFTask(AFTask task)
throws WFCIException
t - the given AFTask
WFCIException
public boolean removeTaskByAdm(java.lang.String p_RootTaskID)
throws WFCIException
p_RootTaskID - the given RootTaskID
WFCIException
public boolean removeTaskByUser(java.lang.String p_RootTaskID,
java.lang.String p_MemID)
throws WFCIException
p_RootTaskID - the given RootTaskIDp_MemID - the given MemberRecordID
WFCIException
public void setGlobals(java.lang.String rootTaskID,
java.util.HashMap args)
throws WFCIException
rootTaskID - the givin root TaskIDargs - the givin a HashMap data ( [Key:Value] = [retValue:Boolean(true/false)])
WFCIException
public java.util.HashMap startAFTask(AFTask task)
throws WFCIException
t - the given AFTask
WFCIException
public void stopRootTask(java.lang.String rootTaskID)
throws WFCIException
rootTaskID - the root task id.
WFCIException
public java.util.HashMap suspendAFTask(AFTask task)
throws WFCIException
t - the given AFTask
WFCIException
public void unlockAFTask(java.lang.String tskID)
throws WFCIException
tskID - the given TaskID
WFCIException
public boolean updateAFArtInstance(AFArtInstance instance)
throws WFCIException
instance - the givin AFArtInstance
WFCIExceptionAFArtInstance
public boolean updateAFArtInstance(java.lang.String tID,
AFArtInstance instance)
throws WFCIException
tID - the givin AFTaskIDinstance - the givin AFArtInstance
WFCIExceptionAFArtInstance
public boolean updateAFTask(AFTask t)
throws WFCIException
t - the given AFTask
WFCIException
public void waitAFTask(java.lang.String tskID)
throws WFCIException
tskID - the given TaskID
WFCIException
public void waitAFTask(java.lang.String tskID,
java.lang.String timeString)
throws WFCIException
tskID - the given TaskIDtimeString - the running time with format "yyyy/mm/dd/hh/mm"
WFCIException
|
Agentflow V3.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||