|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowService
Method Summary | |
---|---|
boolean |
addMonitorRelation(java.lang.String sourceTaskID,
java.lang.String createdRootTaskID)
Add task monitor relation, store root task ID and those created root task ID when executed. |
boolean |
addMonitorRelation(java.lang.String sourceTaskID,
java.util.Vector createdRootTaskIDs)
Add task monitor relation, store root task ID and those created root task ID when executed. |
int |
asynGetTaskOfMember(java.lang.String memId)
Return the task count of the specific member |
boolean |
bypassTask(Task task,
java.lang.String stateId)
Bypass a task with a specified condition. |
java.lang.Object |
callServerSideScriptFunction(java.lang.String library,
java.lang.String function,
java.lang.Object[] args)
Call function on server-side script |
boolean |
cancelTaskInClient(Task t)
Cancel the client side Task. |
boolean |
cancelTaskInClient(Task t,
java.lang.String loginID)
Cancel the client side Task |
java.util.HashMap |
completeTask(Task task)
Complete the task |
java.util.HashMap |
completeTask(Task task,
java.lang.String stateId)
Complete the task with changing artifact state |
PASEartInstance |
createArtInstance(java.lang.String aID)
Create artifact instance |
PASEartInstance |
createFreqArtInstance(java.lang.String aID)
Create artifact instance, for FreqAp use |
java.lang.String |
createProcess(java.lang.String memId,
java.lang.String processId,
java.util.HashMap args,
boolean isPopup,
boolean isDelible)
Create a process. |
java.lang.String |
createProcess(java.lang.String memId,
java.lang.String roleId,
java.lang.String processId,
java.util.HashMap args,
boolean isPopup,
boolean isDelible,
java.lang.String taskId,
java.lang.String dtTemplateId,
boolean isShowMonitorRelation)
Create a process. |
java.util.HashMap |
createProcessEx(java.lang.String type,
java.lang.String loginId,
java.lang.String processId,
java.lang.String subject,
int priority,
java.util.List fileList,
java.util.Map args,
java.util.Map artifactArgs)
For mail to create a process. |
boolean |
forceCompleteATask(Task parentTask)
Complete an ATask. |
boolean |
forceReassignTask(java.lang.String taskId,
java.lang.String memberId)
Re-assign a task to another member. |
boolean |
forceReassignTask(Task task,
MemberRecord mbr)
Re-assign a task to another member. |
java.util.Vector |
getAddSignTaskList(java.lang.String signTaskId)
get sign task list of the same singTaskId |
java.util.Collection |
getAllAddASResult(java.lang.String taskId)
Returns all add AS result that were written before the given task. |
java.util.Vector |
getAllCSSignResult(java.lang.String result,
CSTask csTask,
java.lang.String csSignResult,
java.util.Vector auditList)
|
java.util.Vector |
getAllCSSignResult(java.util.Vector parseTaskList)
|
java.util.Collection |
getAllCSTaskNote(java.lang.String taskId)
Returns all CS tasks' note that were written before the given task. |
java.util.Collection |
getAllIapSignResult(java.lang.String taskId)
Returns all add AS result that were written before the given task. |
java.util.Vector |
getAllTskIDListByGPro(java.lang.String gProID,
java.lang.String frontTaskID)
Get the ids of root task list which will trigger the GatherProcess This method will be used in the PreAction and PostAction of the GatherProcess only. |
java.util.Vector |
getApprovalHistoryRootTaskOfJoinMember(java.lang.String memId)
Get root tasks that there are any sub-task are executed by the specified member, where the task member and the task executor are the same. |
PASEartInstance |
getArtInstance(java.lang.String iID)
Return a data object of artifact instance with current Task |
PASEartInstance |
getArtInstance(java.lang.String iID,
java.lang.String tID)
Return a data object of artifact instance with specific task |
java.util.Vector |
getArtInstanceOfArtifact(java.lang.String aID)
Return all artifact instances instanciated by some specific artifact. |
java.util.HashMap |
getATaskNote(java.lang.String taskId)
Get all ATask information for the specified root task. |
java.util.Vector |
getCollectedTskIDListByGPro(java.lang.String gProID,
java.lang.String frontTaskID)
Get the ids of root task list which has triggered the GatherProcess This method will be used in the PreAction and PostAction of the GatherProcess only. |
java.util.Vector |
getCPTaskIDList(java.lang.String cProID,
java.lang.String frontTaskID)
Get the root task id list which created by the CreateProcess with the specified CreateProcess id and front task id. |
java.util.Hashtable |
getCSLockHashtable()
Get the hashtable keep the information about locked countersign tasks. |
CSSignInfo |
getCSSignInfo(Task task)
|
java.util.HashMap |
getCSTaskNote(java.lang.String taskId)
Get all CSTask information for the specified task. |
java.util.Vector |
getFreqMessageByMbrId(java.lang.String mbrId)
|
java.util.Vector |
getGroupSignTinyTaskList(java.lang.String memId)
Return all groupsign tasks of some specific member. |
java.util.Vector |
getHistoryRootTaskOfJoinMember(java.lang.String memId)
Get root tasks that there are any sub-task are executed by the specified member. |
java.util.Vector |
getInvolvedExecutors(java.lang.String rootTaskID)
Get involved executors of Root process |
java.util.Vector |
getInvolvedMembers(java.lang.String rootTaskID)
Get involved members of Root process |
java.util.Vector |
getPDiagramDetail(java.lang.String rootId)
Return the detail of process diagram |
java.util.HashMap |
getPDiagramState(java.lang.String rootId)
Return the states of process diagram |
java.util.HashMap |
getProcessDiagram(java.lang.String rootId,
java.lang.String rootTaskId)
Return a process diagram |
java.util.HashMap |
getProcessDiagramAndState(java.lang.String rootId,
java.lang.String rootTaskId)
Return a process diagram and its states |
java.util.Vector |
getProcessList(java.lang.String memId)
Return processes of the specific member, which these processes could be initialized by member. |
java.util.HashMap |
getProcessView(java.lang.String rootId)
|
java.util.List |
getPumpTaskList(java.lang.String rootID)
|
java.util.Vector |
getRequestHistoryRootTaskOfJoinMember(java.lang.String memId)
Get root tasks that are initializied by the specified member |
java.util.Vector |
getRootTaskOfJoinMember(java.lang.String memId)
Return Root tasks executed by some specific member, including deputy |
java.util.Vector |
getRootTaskOfJoinMember(java.lang.String memId,
int taskState)
Return Root tasks executed by some specific member and states, including deputy |
java.util.Vector |
getRootTaskOfJoinMember(java.lang.String memId,
java.lang.String processID)
Return Root tasks executed by some specific member and states, including deputy |
java.util.Vector |
getRootTaskOfMember(java.lang.String memId)
Return Root tasks executed by some specific member, deputy exclusively |
java.util.Vector |
getRootTaskOfMember(java.lang.String memId,
int taskState)
Return Root tasks executed by some specific member and states, deputy exclusively |
java.util.Vector |
getRootTaskOfProcess(java.lang.String processId)
Retrieving the root Task s of the given
DBProcess id. |
java.util.Vector |
getRootTaskOfProcess(java.lang.String processId,
int taskState)
Retrieving the root Task s of the given
DBProcess id and task state. |
java.lang.String |
getScriptLibrary(java.lang.String fullname)
Get Script Library by name |
java.util.Vector |
getSequelProIDList(java.lang.String callId,
java.lang.String rootId)
Get all call processes ID list in this RootTask. |
java.util.Vector |
getSubTaskList(java.lang.String parentId)
Return subtasks of some specific task |
Task |
getTask(java.lang.String taskId)
Return a data object of task |
java.util.Vector |
getTaskIDListOfMember(java.lang.String memId,
int beginIndex,
int endIndex,
java.lang.String orderBy)
Return task ID list of the specific member |
java.util.Vector |
getTaskList(java.lang.String memId)
Return tasks of the specific member |
java.util.Vector |
getTaskList(java.lang.String memId,
int beginIndex,
int endIndex)
Return tasks of the specific member |
TaskMonitorRelation |
getTaskMonitorRelationByRoot(java.lang.String rootTskID)
Get the task relation info of create process by the rootTask was triggered |
java.util.Vector |
getTaskOfCompany()
Get all tasks. |
java.util.Vector |
getTaskOfCompany(int taskState)
Get tasks with the specified task states. |
java.util.Vector |
getTaskOfDepartment(java.lang.String depId)
Get all tasks for the specified department. |
java.util.Vector |
getTaskOfDepartment(java.lang.String depId,
int taskState)
Get tasks for the specified department, with the specified task states. |
java.util.Vector |
getTaskOfMember(java.lang.String memId)
Return tasks executed by some specific member |
java.util.Vector |
getTaskOfMember(java.lang.String memId,
int taskState)
Return tasks which in some state and executed by some specific member |
java.util.Vector |
getTaskOfProcess(java.lang.String processId)
Return tasks instantiated of some specific process. |
java.util.Vector |
getTaskOfProcess(java.lang.String processId,
int taskState)
Return tasks which are in some state and instantiated of some specific process. |
java.util.Vector |
getTaskOfRole(java.lang.String roleId)
Get all tasks for the specified role. |
java.util.Vector |
getTaskOfRole(java.lang.String roleId,
int taskState)
Get tasks for the specified role, with the specified task states. |
java.util.Vector |
getTaskOfRootTask(java.lang.String rootId)
Return tasks of some specific root task |
java.util.Vector |
getTinyPDiagramDetail(java.lang.String rootId,
java.lang.String memId)
Return the detail of process diagram |
java.util.List |
getTinyRootTaskIdListOfJoinMember(java.lang.String memId,
java.lang.String rootDate,
java.lang.String rootName,
java.lang.String rootState)
Return Root TinyTask(s) executed by some specific member, including deputy |
java.util.Vector |
getTinyRootTaskOfJoinMember(java.lang.String memId)
Return Root TinyTask(s) executed by some specific member, including deputy |
java.util.Vector |
getTinyRootTaskOfJoinMember(java.lang.String memId,
java.lang.String proID)
Return Root TinyTask(s) executed by some specific member, including deputy |
java.util.List |
getTinyTaskIdListTracked(java.lang.String memId,
java.util.List taskIdList,
java.lang.String state)
Return tasks of the specific member and tasks |
java.util.Vector |
getTinyTaskList(java.lang.String memId)
Return tasks of the specific member |
java.util.Vector |
getTinyTaskList(java.lang.String memId,
int beginIndex,
int endIndex,
java.lang.String orderBy)
Return tasks of the specific member |
java.util.Vector |
getTinyTaskList(java.lang.String memId,
java.util.List taskIdList)
Return tasks of the specific member and tasks |
java.util.Vector |
getTranslateArtInsList(java.lang.String aID)
Get all PASEArtInstance data for the specified artifact. |
java.util.HashMap |
getTreeTaskList(java.lang.String memId)
Return tasks of the specific member |
int |
getUncompletePATaskNo(Task parentTask)
Calculate the tasks count which tasks are "Add Parallel Announce" and are complete under the specified task. |
boolean |
goBackTo(java.lang.String fromTaskId,
java.lang.String toProcessId,
boolean artMode)
Sets the executing task back to another process which had been executed. |
boolean |
goBackTo(java.lang.String fromTaskId,
Task toTask,
boolean artMode)
Sets the executing task back to another process which had been executed. |
boolean |
goBackTo(java.lang.String fromTaskID,
Task toTask,
boolean artMode,
boolean isEmailNotify)
Sets the executing task back to another process which had been executed. |
boolean |
goBackTo(Task fromTask,
java.lang.String toProcessId,
boolean artMode)
Sets the executing task back to another process which had been executed. |
java.util.HashMap |
goBackToWithDetailRet(Task fromTask,
java.lang.String toProcessId,
boolean artMode)
Sets the executing task back to another process which had been executed. |
java.util.HashMap |
initProcess(java.lang.String loginId,
PASEProcess process)
Initial the process |
java.util.HashMap |
initProcess(java.lang.String loginId,
java.lang.String roleId,
java.lang.String depId,
java.lang.String processId,
java.lang.String keyword,
int priority)
Initial the process |
boolean |
isATaskComplete(Task t)
|
boolean |
isCSTaskComplete(Task t)
|
boolean |
isLocked(java.lang.String taskId)
Check the task locking state |
void |
lockTask(java.lang.String taskId)
Lock a task. |
java.util.HashMap |
notifyTask(java.lang.String taskId)
Notify a task. |
java.util.Vector |
parseAddASResultString(java.lang.String result)
Parse the countersign result string to CSResultData |
java.util.Vector |
parseCSResultString(java.lang.String result,
java.util.List auditNameList)
Parse the countersign result string to CSResultData |
boolean |
pickQueueTask(Task task)
Pick a task to execute from its queue. |
boolean |
removeAFTVElementVO(java.lang.String subject,
java.lang.String item)
|
boolean |
removeRootTaskByShell(java.lang.String rootId,
java.lang.String memId)
Remove a root task, if the user has permission to remove the task. |
boolean |
removeTaskByAdm(java.lang.String rootId)
Remove a root task. |
boolean |
removeTaskByUser(java.lang.String rootId,
java.lang.String memId)
Remove a root task, if the user has permission to remove the task. |
void |
reScheduleTask(Task task)
Reschedule the task Cron Event(s) |
void |
runScriptOnServer(java.lang.String code,
Task task)
Execute script on the specified task |
boolean |
saveAFTVElementVO(AFTVElementVO vo)
|
boolean |
setArtInsState(PASEartInstance artInstance,
java.lang.String stateID)
Return true for success, else false |
boolean |
setMonitorRelation(java.lang.String sourceTaskID,
java.lang.String createdRootTaskID)
Set task monitor relation, store root task ID and those created root task ID when executed. |
boolean |
setMonitorRelation(java.lang.String sourceTaskID,
java.util.Vector createdRootTaskIDs)
Set task monitor relation, store root task ID and those created root task ID when executed. |
java.util.HashMap |
startTask(Task task)
Start the task |
void |
stopRootTask(java.lang.String rootId)
Stop a root task. |
java.util.HashMap |
suspendTask(Task task)
suspend Task |
void |
unlockCoSign(java.lang.String processId)
Unlock a countrsign task. |
void |
unlockTask(java.lang.String taskId)
UnLock a task. |
boolean |
updateArtInstance(PASEartInstance instance)
Update artifact instance Notice: Artifact instance is carrying artifact state information. |
boolean |
updateArtInstanceLog(java.lang.String taskId,
PASEartInstance instance)
Update artifact instance log |
boolean |
updateTask(Task task)
Update the data object of task. |
boolean |
updateTaskState(Task task)
Update the state of task. |
void |
waitTask(java.lang.String taskId)
Wait a task. |
void |
waitTask(java.lang.String taskId,
java.lang.String timeToNotify)
Wait a task. |
Method Detail |
---|
boolean addMonitorRelation(java.lang.String sourceTaskID, java.lang.String createdRootTaskID)
sourceTaskID
- the given RootTaskIDcreatedRootTaskID
- the given created RootTaskID
boolean addMonitorRelation(java.lang.String sourceTaskID, java.util.Vector createdRootTaskIDs)
sourceTaskID
- the given RootTaskIDcreatedRootTaskIDs
- the given created RootTaskID list
int asynGetTaskOfMember(java.lang.String memId)
memId
- the given member id
boolean bypassTask(Task task, java.lang.String stateId)
task
- the given TaskstateId
- the given artifact state id
java.lang.Object callServerSideScriptFunction(java.lang.String library, java.lang.String function, java.lang.Object[] args)
library
- the given script libraryfunction
- the function nameargs
- the arguments
boolean cancelTaskInClient(Task t)
t
- the given Task
boolean cancelTaskInClient(Task t, java.lang.String loginID)
t
- the given TaskloginID
- the user login ID
java.util.HashMap completeTask(Task task)
task
- the given Task
java.util.HashMap completeTask(Task task, java.lang.String stateId)
task
- the given Task , stateID the prefer state.
PASEartInstance createArtInstance(java.lang.String aID)
iID
- the given ArtifactID
PASEartInstance
PASEartInstance createFreqArtInstance(java.lang.String aID)
aID
- the given ArtifactID
PASEartInstance
java.lang.String createProcess(java.lang.String memId, java.lang.String processId, java.util.HashMap args, boolean isPopup, boolean isDelible)
memId
- the given member idprocessId
- the given process idargs
- the given argumentsisPopup
- whether the root task is popup or notisDelible
- whether the root task is delible or notjava.lang.String createProcess(java.lang.String memId, java.lang.String roleId, java.lang.String processId, java.util.HashMap args, boolean isPopup, boolean isDelible, java.lang.String taskId, java.lang.String dtTemplateId, boolean isShowMonitorRelation)
memId
- the given member idroleId
- the given role idprocessId
- the given process idargs
- the given argumentsisPopup
- whether the root task is popup or notisDelible
- whether the root task is delible or nottaskID
- the specified task id which execute this APIdtTemplateID
- the specified data transfer template idisShowMonitorRelation
- whether the specified task will show monitor relation in monitor or notjava.util.HashMap createProcessEx(java.lang.String type, java.lang.String loginId, java.lang.String processId, java.lang.String subject, int priority, java.util.List fileList, java.util.Map args, java.util.Map artifactArgs)
type
- the given root task typeloginId
- the given user's login idprocessId
- the given process idsubject
- the given mail subjectpriority
- the given mail priorityfileList
- the given attached file listargs
- the given process argumentsartifactArgs
- the given artifact argmentsboolean forceCompleteATask(Task parentTask)
parentTask
- the given parent task
boolean forceReassignTask(java.lang.String taskId, java.lang.String memberId)
taskId
- the given task idmemberId
- the given member id
boolean forceReassignTask(Task task, MemberRecord mbr)
task
- the given Taskmbr
- the given MemberRecord
java.util.Vector getAddSignTaskList(java.lang.String signTaskId)
signTaskId
- signTaskId;
java.util.Collection getAllAddASResult(java.lang.String taskId)
taskID
- the given task id
java.util.Vector getAllCSSignResult(java.lang.String result, CSTask csTask, java.lang.String csSignResult, java.util.Vector auditList)
java.util.Vector getAllCSSignResult(java.util.Vector parseTaskList)
java.util.Collection getAllCSTaskNote(java.lang.String taskId)
taskId
- the given task id
java.util.Collection getAllIapSignResult(java.lang.String taskId)
taskID
- the given task id
java.util.Vector getAllTskIDListByGPro(java.lang.String gProID, java.lang.String frontTaskID)
gProID
- the GatherProcess idfrontTaskID
- the front task id
java.util.Vector getApprovalHistoryRootTaskOfJoinMember(java.lang.String memId)
menId
- the given member id
Task
)Task
PASEartInstance getArtInstance(java.lang.String iID)
iID
- the given ArtifactInstanceID
getArtInstance
PASEartInstance getArtInstance(java.lang.String iID, java.lang.String tID)
iID
- the given ArtifactInstanceID
getArtInstance
java.util.Vector getArtInstanceOfArtifact(java.lang.String aID)
aID
- the given ArtifactID
PASEartInstance
)PASEartInstance
java.util.HashMap getATaskNote(java.lang.String taskId)
taskId
- the given task id
java.util.Vector getCollectedTskIDListByGPro(java.lang.String gProID, java.lang.String frontTaskID)
gProID
- the GatherProcess idfrontTaskID
- the front task id
java.util.Vector getCPTaskIDList(java.lang.String cProID, java.lang.String frontTaskID)
cProID
- the CreateProcess idfrontTaskID
- the front task id
java.util.Hashtable getCSLockHashtable()
CSSignInfo getCSSignInfo(Task task)
java.util.HashMap getCSTaskNote(java.lang.String taskId)
taskId
- the given task id
java.util.Vector getFreqMessageByMbrId(java.lang.String mbrId)
java.util.Vector getGroupSignTinyTaskList(java.lang.String memId)
memId
- the given member id
TinyTask
java.util.Vector getHistoryRootTaskOfJoinMember(java.lang.String memId)
memId
- the given member id
Task
)Task
java.util.Vector getInvolvedExecutors(java.lang.String rootTaskID)
rootTaskID
- the given RootTaskID
java.util.Vector getInvolvedMembers(java.lang.String rootTaskID)
rootTaskID
- the given RootTaskID
java.util.Vector getPDiagramDetail(java.lang.String rootId)
rootId
- the given root task id
PDiagramManager
,
PDiagramManager.getPDiagramDetail
java.util.HashMap getPDiagramState(java.lang.String rootId)
rootId
- the given root task id
PDiagramManager
,
PDiagramManager.getPDiagramState
java.util.HashMap getProcessDiagram(java.lang.String rootId, java.lang.String rootTaskId)
rootId
- the given root proccess idrootTaskId
- the given root task id
PDiagramManager
,
PDiagramManager.getProcessDiagram
java.util.HashMap getProcessDiagramAndState(java.lang.String rootId, java.lang.String rootTaskId)
rootId
- the given root process idrootTaskId
- the given root task id
PDiagramManager
java.util.Vector getProcessList(java.lang.String memId)
memId
- the given member id
PASEProcess
)PASEProcess
java.util.HashMap getProcessView(java.lang.String rootId)
java.util.List getPumpTaskList(java.lang.String rootID)
java.util.Vector getRequestHistoryRootTaskOfJoinMember(java.lang.String memId)
memId
- the given member id
Task
)Task
java.util.Vector getRootTaskOfJoinMember(java.lang.String memId)
memId
- the given member id
Task
java.util.Vector getRootTaskOfJoinMember(java.lang.String memId, int taskState)
memId
- the given member idtaskState
- the given state of task
Task
java.util.Vector getRootTaskOfJoinMember(java.lang.String memId, java.lang.String processID)
memId
- the given member idprocessID
- the given ID of process
Task
java.util.Vector getRootTaskOfMember(java.lang.String memId)
memId
- the given member id
Task
java.util.Vector getRootTaskOfMember(java.lang.String memId, int taskState)
memId
- the given member idtaskState
- the given state of task
Task
java.util.Vector getRootTaskOfProcess(java.lang.String processId)
Task
s of the given
DBProcess
id.
processId
- the given process id
Task
)java.util.Vector getRootTaskOfProcess(java.lang.String processId, int taskState)
Task
s of the given
DBProcess
id and task state.
processId
- the given process idtaskState
- the given state of task
Task
)java.lang.String getScriptLibrary(java.lang.String fullname)
fullname
- the given script library name
java.util.Vector getSequelProIDList(java.lang.String callId, java.lang.String rootId)
callId
- the given call process idrootId
- the given root task id
ProcessID
)java.util.Vector getSubTaskList(java.lang.String parentId)
parentId
- the given parent task id
Task
)Task
Task getTask(java.lang.String taskId)
taskId
- the given task id
Task
java.util.Vector getTaskIDListOfMember(java.lang.String memId, int beginIndex, int endIndex, java.lang.String orderBy)
memId
- the given member idbeginIndex
- the given start indexendIndex
- the given end indexorderBy
- the given field name to order
Task ID
)java.util.Vector getTaskList(java.lang.String memId)
memId
- the given member id
Task
)Task
java.util.Vector getTaskList(java.lang.String memId, int beginIndex, int endIndex)
memId
- the given member idbeginIndex
- the given start indexendIndex
- the given end index
Task
)Task
TaskMonitorRelation getTaskMonitorRelationByRoot(java.lang.String rootTskID)
rootTskID
- the given task id
java.util.Vector getTaskOfCompany()
Task
)Task
java.util.Vector getTaskOfCompany(int taskState)
taskState
- the given state of task
Task
)Task
java.util.Vector getTaskOfDepartment(java.lang.String depId)
depId
- the given department id
Task
)Task
java.util.Vector getTaskOfDepartment(java.lang.String depId, int taskState)
depId
- the given department idtaskState
- the given state of task
Task
)Task
java.util.Vector getTaskOfMember(java.lang.String memId)
memId
- the given member id
Task
)Task
java.util.Vector getTaskOfMember(java.lang.String memId, int taskState)
memId
- the given member idtaskState
- the given state of task
Task
)Task
java.util.Vector getTaskOfProcess(java.lang.String processId)
processId
- the given process id
Task
)Task
java.util.Vector getTaskOfProcess(java.lang.String processId, int taskState)
processId
- the given process idtaskState
- the given state of task
Task
)Task
java.util.Vector getTaskOfRole(java.lang.String roleId)
roleId
- the given role id
Task
)Task
java.util.Vector getTaskOfRole(java.lang.String roleId, int taskState)
roleId
- the given role idstate
- the given state of task
Task
)Task
java.util.Vector getTaskOfRootTask(java.lang.String rootId)
rootId
- the given root task id
Task
)Task
java.util.Vector getTinyPDiagramDetail(java.lang.String rootId, java.lang.String memId)
rootId
- the given root task idmemId
- the given member Id for permission check
PDiagramManager
,
PDiagramManager.getPDiagramDetail
java.util.List getTinyRootTaskIdListOfJoinMember(java.lang.String memId, java.lang.String rootDate, java.lang.String rootName, java.lang.String rootState)
memId
- the given member idrootDate
- the given condition, daterootName
- the given condition, methodrootState
- the given condition, state
TinyTask
AF-2248, by Jason
java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String memId)
memId
- the given member id
TinyTask
java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String memId, java.lang.String proID)
memId
- the given member idproID
- the given process id
TinyTask
java.util.List getTinyTaskIdListTracked(java.lang.String memId, java.util.List taskIdList, java.lang.String state)
memId
- the given member ididList
- the given task id in the liststate
- the given task state
TinyTask
)TinyTask
AF-2248
java.util.Vector getTinyTaskList(java.lang.String memId)
memId
- the given member id
TinyTask
)TinyTask
java.util.Vector getTinyTaskList(java.lang.String memId, int beginIndex, int endIndex, java.lang.String orderBy)
memId
- the given Member IDbeginIndex
- the given start indexendIndex
- the given end indexorderBy
- the given field name to order
TinyTask
)TinyTask
java.util.Vector getTinyTaskList(java.lang.String memId, java.util.List taskIdList)
memId
- the given member ididList
- the given task id in the list
TinyTask
)TinyTask
java.util.Vector getTranslateArtInsList(java.lang.String aID)
aID
- the given ArtifactID
TranslateArtIns
)TranslateArtIns
java.util.HashMap getTreeTaskList(java.lang.String memId)
memId
- the given member id
ProcessTask
int getUncompletePATaskNo(Task parentTask)
parentTask
- the given parent task
Task
boolean goBackTo(java.lang.String fromTaskId, java.lang.String toProcessId, boolean artMode)
Examples:
var fromTaskID = "Tsk000000226229"; var toProID = "PRO00440363552012"; var Result = WFCI.goBackTo(fromTaskID, toProID, true);
fromTaskId
- the given TasktoProcessId
- the given process idartMode
- an artifact content mode. True for present artifact content or
false for archived artifact content in the specified process.
Task
boolean goBackTo(java.lang.String fromTaskId, Task toTask, boolean artMode)
Examples:
var fromTaskID = "Tsk000000226229"; var toTask = WFCI.getTask("Tsk0001134355209"); var Result = WFCI.goBackTo(fromTaskID, toTask, true);
fromTaskId
- the given task idtoTask
- the given TaskartMode
- an artifact content mode. True for present artifact content or
false for archived artifact content in the specified process.
Task
boolean goBackTo(java.lang.String fromTaskID, Task toTask, boolean artMode, boolean isEmailNotify) throws java.rmi.RemoteException
Examples:
var fromTaskID = "Tsk000000226229"; var toTask = WFCI.getTask("Tsk0001134355209"); var Result = WFCI.goBackTo(fromTaskID, toTask, true);
fromTaskID
- a Task ID.toTask
- a Task.artMode
- an artifact content mode. True for present artifact content or false for archived artifact content in the specified process.isEmailNotify,
- true if asking to sand email notification.
java.rmi.RemoteException
Task
boolean goBackTo(Task fromTask, java.lang.String toProcessId, boolean artMode)
Examples:
var fromTask = WFCI.getTask("Tsk000000226229"); var toProID = "PRO00440363552012"; var Result = WFCI.goBackTo(fromTask, toProID, true);
fromTask
- the given TasktoProcessId
- the given process idartMode
- an artifact content mode. true for present artifact content.
false for archived artifact content in the specified process.
Task
java.util.HashMap goBackToWithDetailRet(Task fromTask, java.lang.String toProcessId, boolean artMode)
fromTask
- the given TasktoProcessId
- the given process idartMode
- an artifact content mode. true for present artifact content.
false for archived artifact content in the specified process.
Task
java.util.HashMap initProcess(java.lang.String loginId, PASEProcess process)
process
- the given PASEProcess
java.util.HashMap initProcess(java.lang.String loginId, java.lang.String roleId, java.lang.String depId, java.lang.String processId, java.lang.String keyword, int priority)
loginId
- the user's loginIdprocessId
- the process Idkeyword
- keywordpriority
- priority
boolean isATaskComplete(Task t)
boolean isCSTaskComplete(Task t)
boolean isLocked(java.lang.String taskId)
taskId
- the given task id
Task
void lockTask(java.lang.String taskId)
taskId
- the given task idjava.util.HashMap notifyTask(java.lang.String taskId)
taskId
- the given task idjava.util.Vector parseAddASResultString(java.lang.String result)
result
- the given countersign result string
CSResultData
)CSResultData
java.util.Vector parseCSResultString(java.lang.String result, java.util.List auditNameList)
result
- the given countersign result stringauditNameList
- the given auditing member list(each elemen in Vector are
instance of String[3]
, String[0] for MemberID,
String[1] for RoleID, String[2] for DepartmentID)
CSResultData
)CSResultData
boolean pickQueueTask(Task task)
task
- the given Taskboolean removeAFTVElementVO(java.lang.String subject, java.lang.String item)
boolean removeRootTaskByShell(java.lang.String rootId, java.lang.String memId)
rootId
- the given root task idmemId
- the member id
boolean removeTaskByAdm(java.lang.String rootId)
rootId
- the given root task id
boolean removeTaskByUser(java.lang.String rootId, java.lang.String memId)
rootId
- the given root task idmemId
- the member id
void reScheduleTask(Task task)
task
- the Taskvoid runScriptOnServer(java.lang.String code, Task task)
code
- the given script contexttask
- the given TaskTask
boolean saveAFTVElementVO(AFTVElementVO vo)
boolean setArtInsState(PASEartInstance artInstance, java.lang.String stateID)
artInstance
- the given PASEartInstance, stateID for ArtStateID
getArtInstance
boolean setMonitorRelation(java.lang.String sourceTaskID, java.lang.String createdRootTaskID)
sourceTaskID
- the given RootTaskIDcreatedRootTaskIDs
- the given created RootTaskID list
boolean setMonitorRelation(java.lang.String sourceTaskID, java.util.Vector createdRootTaskIDs)
sourceTaskID
- the given RootTaskIDcreatedRootTaskIDs
- the given created RootTaskID list
java.util.HashMap startTask(Task task)
task
- the given Task
void stopRootTask(java.lang.String rootId)
rootId
- the given root task idjava.util.HashMap suspendTask(Task task)
task
- the given Task
void unlockCoSign(java.lang.String processId)
processId
- the given process id of root taskvoid unlockTask(java.lang.String taskId)
taskId
- the given task idboolean updateArtInstance(PASEartInstance instance)
instance
- the given PASEartInstance
PASEartInstance
boolean updateArtInstanceLog(java.lang.String taskId, PASEartInstance instance)
taskId
- the given task idinstance
- the given PASEartInstance
PASEartInstance
boolean updateTask(Task task)
task
- the given task
Task
boolean updateTaskState(Task task)
task
- the given task
Task
void waitTask(java.lang.String taskId)
taskId
- the given task idvoid waitTask(java.lang.String taskId, java.lang.String timeToNotify)
taskId
- the given task idtimeToNotify
- the given time (ex: 2003/06/23/11/30) to notify
|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |