Agentflow
V3.1

pe.pase
Class IapTask

java.lang.Object
  extended by pe.pase.Task
      extended by pe.pase.IapTask
All Implemented Interfaces:
com.flowring.entity.Entity, java.io.Serializable, java.lang.Cloneable

public class IapTask
extends Task

An abstract representation of IAP Task.

Version:
1.0,
Author:
zchien
See Also:
Serialized Form

Field Summary
static java.lang.String DISPATCH_ACTION
           
static java.lang.String END_ACTION
           
static java.lang.String GO_BACK_TO_FRONT_SIGNER
           
static java.lang.String GO_BACK_TO_INITIATOR
           
static java.lang.String GO_BACK_TO_INITIATOR_AND_RETURN
           
static java.lang.String GO_BACK_TO_SPECIFIED_PROCESS
           
static java.lang.String GO_BACK_TO_SPECIFIED_PROCESS_AND_RETURN
           
static java.lang.String POST_ACTION
           
static java.lang.String PRE_ACTION
           
static java.lang.String SIGN_AGREE
           
static java.lang.String SIGN_NOCOMMENT
           
static java.lang.String SIGN_REJECT
           
static java.lang.String START_ACTION
           
static java.lang.String TYPE_IAP_ANNEX
           
static java.lang.String TYPE_IAP_REVIEW
           
static java.lang.String TYPE_IAP_SIGN
           
 
Fields inherited from class pe.pase.Task
ADD_DEP_MODE_MANAGER, ADD_DEP_MODE_MEMBERS, ADD_PARALLEL_ANNOUNCE, ADD_SEQUENTIAL_ANNOUNCE, ADD_SEQUENTIAL_SIGN, addASAuditList, addASDepMode, addASTitle, addASType, addPAWeightList, API, attachedFileList, attachedFileListSuspend, bindingPolicy, calendarDeadline, callId, changeArtState, comId, CRON_SERVER, DELIBLE, depId, duration, endTime, executeAddAS, exeId, exeOrder, extCond, frontId, frontUser, GMTLimitTime, GMTStartTime, keyWord, memId, MEMO_BEGIN_STRING, monitorRelation, MRINVISIBLE, note, oprInstanceList, parentId, POPUP, priority, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_NORMAL, privateMemo, prjId, prjName, processId, refInstanceList, roleId, ROOT, rootId, rootName, rootUser, startTime, synopsis, T_STATE_ALL, T_STATE_CLIENT_WAITING, T_STATE_COMPLETE, T_STATE_DEAD, T_STATE_IGNORE, T_STATE_LOCK, T_STATE_QUEUE, T_STATE_READY, T_STATE_RUNNING, T_STATE_SERVER_WAITING, T_STATE_SUSPENDED, TASK_SORT_DEPID, TASK_SORT_ENDTIME, TASK_SORT_EXEID, TASK_SORT_KEYWORD, TASK_SORT_MEMID, TASK_SORT_PRIORITY, TASK_SORT_PROID, TASK_SORT_ROLID, TASK_SORT_STARTTIME, TASK_SORT_STATE, TASK_SORT_TYPE, TASK_STATE_CLIENT_WAITING, TASK_STATE_COMPLETE, TASK_STATE_DEAD, TASK_STATE_IGNORE, TASK_STATE_LOCK, TASK_STATE_PREPARE, TASK_STATE_QUEUE, TASK_STATE_READY, TASK_STATE_RETRIEVED, TASK_STATE_RUNNING, TASK_STATE_SERVER_WAITING, TASK_STATE_SIGNING, TASK_STATE_SUSPENDED, taskId, taskName, taskState, taskType
 
Constructor Summary
IapTask(java.lang.String tID)
          Creates a new IapTask.
 
Method Summary
 void addAuditMember(java.lang.String[] mdr)
          Add the audit member into the audit list
 java.lang.Object clone()
          Clone the other IapTask
 java.util.List getIapAuditList()
          Get the audit list
 java.lang.String getIapAuditsString()
           
 java.lang.String getIapGoBackToPro()
           
 java.lang.String getIapSignMessage()
           
 java.lang.String getIapSignResult()
           
 java.lang.String getSaveIapFreqMessage()
           
 boolean isAnnexMode()
          Check this IapTask is in annex mode or not
 boolean isReviewMode()
          Check this IapTask is in review mode or not
 boolean isSignMode()
          Check this IapTask is in sign mode or not
 void setAnnexMode()
          Set the task type of this IapTask is in annex mode
 void setIapAuditList(java.util.List list)
          Set the audit list
 void setIapAuditsString(java.lang.String auditString)
           
 void setIapGoBackToPro(java.lang.String iapGoBackToPro)
           
 void setIapSignMessage(java.lang.String iapSignMessage)
           
 void setIapSignResult(java.lang.String iapSignResult)
           
 void setReviewMode()
          Set the task type of this IapTask is in review mode
 void setSaveIapFreqMessage(java.lang.String saveIapFreqMessage)
           
 void setSignMode()
          Set the task type of this IapTask is in sign mode
 void update(java.lang.Object obj)
          Update this IapTask with the specified Task.
 
Methods inherited from class pe.pase.Task
addAddASAudit, addAddASAudit, addExtCond, addMonitorRelation, addMonitorRelation, addOprArtifact, addRefArtifact, equals, getAddASAuditList, getAddASAuditsString, getAddASDepMode, getAddASResultString, getAddASTitle, getAddASType, getAddPAWeight, getAddPAWeightList, getAddPAWeightListStr, getArtInstance, getArtInstanceState, getBindingPolicy, getCalendarDeadline, getCallID, getCompanyID, getDeadLine, getDepartmentID, getDurationInMillis, getEndTime, getExeOrder, getExtCondList, getFrontID, getFrontUser, getGMTLimitTime, getGMTStartTime, getHashKey, getID, getInstanceID, getKeyWord, getMemberID, getMonitorRelation, getName, getOprArtifactList, getParentID, getPriority, getPrivateMemo, getProcessID, getProcessName, getProcessTime, getProjectID, getProjectName, getRealExecutor, getRefArtifactList, getRoleID, getRootID, getRootName, getRootUser, getStartTime, getStartTimeString, getSynopsis, getTaskAttachedFileList, getTaskAttachedFileListSuspend, getTaskID, getTaskNote, getTaskState, getTaskType, hasAccessibleTaskAttachedFileForExecutor, isByPass, isChangeArtState, isDeleteable, isExecuteAddAS, removeMonitorRelation, removeOprArtifact, removeRefArtifact, setAddASAuditList, setAddASAuditsString, setAddASDepMode, setAddASTitle, setAddASType, setAddPAWeight, setAddPAWeight, setAddPAWeightList, setAddPAWeightList, setArtInstance, setBindingPolicy, setByPass, setCalendarDeadline, setCallID, setChangeArtState, setCompanyID, setDepartmentID, setDurationInMillis, setEndTime, setExecuteAddAS, setExeOrder, setExtCondList, setFrontID, setFrontUser, setGMTLimitTime, setGMTStartTime, setKeyWord, setMemberID, setMonitorRelation, setName, setOprArtifactList, setParentID, setPriority, setPrivateMemo, setProcessID, setProcessName, setProjectID, setProjectName, setRealExecutor, setRefArtifactList, setRoleID, setRootID, setRootName, setRootUser, setStartTime, setSynopsis, setTaskAttachedFileList, setTaskAttachedFileListSuspend, setTaskID, setTaskNote, setTaskState, setTaskType
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPATCH_ACTION

public static final java.lang.String DISPATCH_ACTION
See Also:
Constant Field Values

END_ACTION

public static final java.lang.String END_ACTION
See Also:
Constant Field Values

GO_BACK_TO_FRONT_SIGNER

public static final java.lang.String GO_BACK_TO_FRONT_SIGNER
See Also:
Constant Field Values

GO_BACK_TO_INITIATOR

public static final java.lang.String GO_BACK_TO_INITIATOR
See Also:
Constant Field Values

GO_BACK_TO_INITIATOR_AND_RETURN

public static final java.lang.String GO_BACK_TO_INITIATOR_AND_RETURN
See Also:
Constant Field Values

GO_BACK_TO_SPECIFIED_PROCESS

public static final java.lang.String GO_BACK_TO_SPECIFIED_PROCESS
See Also:
Constant Field Values

GO_BACK_TO_SPECIFIED_PROCESS_AND_RETURN

public static final java.lang.String GO_BACK_TO_SPECIFIED_PROCESS_AND_RETURN
See Also:
Constant Field Values

POST_ACTION

public static final java.lang.String POST_ACTION
See Also:
Constant Field Values

PRE_ACTION

public static final java.lang.String PRE_ACTION
See Also:
Constant Field Values

SIGN_AGREE

public static final java.lang.String SIGN_AGREE
See Also:
Constant Field Values

SIGN_NOCOMMENT

public static final java.lang.String SIGN_NOCOMMENT
See Also:
Constant Field Values

SIGN_REJECT

public static final java.lang.String SIGN_REJECT
See Also:
Constant Field Values

START_ACTION

public static final java.lang.String START_ACTION
See Also:
Constant Field Values

TYPE_IAP_ANNEX

public static final java.lang.String TYPE_IAP_ANNEX
See Also:
Constant Field Values

TYPE_IAP_REVIEW

public static final java.lang.String TYPE_IAP_REVIEW
See Also:
Constant Field Values

TYPE_IAP_SIGN

public static final java.lang.String TYPE_IAP_SIGN
See Also:
Constant Field Values
Constructor Detail

IapTask

public IapTask(java.lang.String tID)
Creates a new IapTask.

Parameters:
tID - task id.
Since:
version 1.1.5
Method Detail

addAuditMember

public void addAuditMember(java.lang.String[] mdr)
Add the audit member into the audit list

Parameters:
mdr - the given audit member. (String[0]: memID, String[1]: roldID, String[2]: depID)
Since:
version 1.1.5

clone

public java.lang.Object clone()
Clone the other IapTask

Overrides:
clone in class Task
Returns:
the object
Since:
version 1.1.5

getIapAuditList

public java.util.List getIapAuditList()
Get the audit list

Returns:
the audit list. (The element in Vector is String[], String[0]: memID, String[1]: roldID, String[2]: depID)
Since:
version 1.1.5

getIapAuditsString

public java.lang.String getIapAuditsString()

getIapGoBackToPro

public java.lang.String getIapGoBackToPro()

getIapSignMessage

public java.lang.String getIapSignMessage()

getIapSignResult

public java.lang.String getIapSignResult()

getSaveIapFreqMessage

public java.lang.String getSaveIapFreqMessage()

isAnnexMode

public boolean isAnnexMode()
Check this IapTask is in annex mode or not

Returns:
the boolean value
Since:
version 1.1.5

isReviewMode

public boolean isReviewMode()
Check this IapTask is in review mode or not

Returns:
the boolean value
Since:
version 1.1.5

isSignMode

public boolean isSignMode()
Check this IapTask is in sign mode or not

Returns:
the boolean value
Since:
version 2.4

setAnnexMode

public void setAnnexMode()
Set the task type of this IapTask is in annex mode

Since:
version 1.1.5

setIapAuditList

public void setIapAuditList(java.util.List list)
Set the audit list

Parameters:
list - the given audit list. (The element in Vector is String[], String[0]: memID, String[1]: roldID, String[2]: depID)
Since:
version 1.1.5

setIapAuditsString

public void setIapAuditsString(java.lang.String auditString)

setIapGoBackToPro

public void setIapGoBackToPro(java.lang.String iapGoBackToPro)

setIapSignMessage

public void setIapSignMessage(java.lang.String iapSignMessage)

setIapSignResult

public void setIapSignResult(java.lang.String iapSignResult)

setReviewMode

public void setReviewMode()
Set the task type of this IapTask is in review mode

Since:
version 1.1.5

setSaveIapFreqMessage

public void setSaveIapFreqMessage(java.lang.String saveIapFreqMessage)

setSignMode

public void setSignMode()
Set the task type of this IapTask is in sign mode

Since:
version 1.1.5

update

public void update(java.lang.Object obj)
Update this IapTask with the specified Task.

Specified by:
update in interface com.flowring.entity.Entity
Overrides:
update in class Task
Parameters:
obj - the given task
Since:
version 1.1.5

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.