Agentflow
V3.1

pe.pase
Class CSTask

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

public class CSTask
extends Task

An abstract representation of CounterSign Task.

Version:
1.1.5,
Author:
yschen
See Also:
Serialized Form

Field Summary
static java.lang.String ANNOUNCE_AGREE
           
static java.lang.String ANNOUNCE_DISAGREE
           
static java.lang.String ANNOUNCE_NOCOMMENT
           
 
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
CSTask(java.lang.String tID)
          Creates a new CSTask.
 
Method Summary
 void addAuditMember(java.lang.String[] mdr)
          Add the audit member into the audit list
 java.lang.Object clone()
          Clone the other CSTask
 java.util.List getAuditList()
          Get the audit list
 java.lang.String getCSFormID()
          Get the id of CSForm.
 CSInstance getCSInstance()
          Get the CSInstance.
 CSSignInfo getCSSignInfo()
          Only use internal Get the CSTask sign info
 java.lang.String getCsSignMessage()
           
 long getSignTime()
           
 boolean isAnnexMode()
          Check this CSTask is in annex mode or not
 boolean isAuditMode()
          Check this CSTask is in audit mode or not
 boolean isReviewMode()
          Check this CSTask is in review mode or not
 boolean isSignMode()
          Check this CSTask is in sign mode or not
 void setAnnexMode()
          Set the task type of this CSTask is in annex mode
 void setAuditList(java.util.List list)
          Set the audit list
 void setAuditMode()
          Set the task type of this CSTask is in audit mode
 void setCSFormID(java.lang.String id)
          Set the id of CSForm.
 void setCSInstance(CSInstance instance)
          Set the CSInstance.
 void setCSSignInfo(CSSignInfo signInfo)
           
 void setCsSignMessage(java.lang.String csSignMessage)
           
 void setReviewMode()
          Set the task type of this CSTask is in review mode
 void setSignMode()
          Set the task type of this CSTask is in sign mode
 void setSignTime(long signTime)
           
 void update(java.lang.Object obj)
          Update this CSTask 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

ANNOUNCE_AGREE

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

ANNOUNCE_DISAGREE

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

ANNOUNCE_NOCOMMENT

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

CSTask

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

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 CSTask

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

getAuditList

public java.util.List getAuditList()
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

getCSFormID

public java.lang.String getCSFormID()
Get the id of CSForm. The CSForm is the CSInstance.

Returns:
id
Since:
version 1.1.5

getCSInstance

public CSInstance getCSInstance()
Get the CSInstance. This CSInstance gathers the review message of CSTasks.

Returns:
the CSInstance
Since:
version 1.1.5

getCSSignInfo

public CSSignInfo getCSSignInfo()
Only use internal Get the CSTask sign info

Returns:
CSSignInfo
Since:
2.4

getCsSignMessage

public java.lang.String getCsSignMessage()

getSignTime

public long getSignTime()

isAnnexMode

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

Returns:
the boolean value
Since:
version 1.1.5

isAuditMode

public boolean isAuditMode()
Check this CSTask is in audit mode or not

Returns:
the boolean value
Since:
version 1.1.5

isReviewMode

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

Returns:
the boolean value
Since:
version 1.1.5

isSignMode

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

Returns:
the boolean value
Since:
version 2.4

setAnnexMode

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

Since:
version 1.1.5

setAuditList

public void setAuditList(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

setAuditMode

public void setAuditMode()
Set the task type of this CSTask is in audit mode

Since:
version 1.1.5

setCSFormID

public void setCSFormID(java.lang.String id)
Set the id of CSForm. The CSForm is the CSInstance.

Parameters:
id - the given id
Since:
version 1.1.5

setCSInstance

public void setCSInstance(CSInstance instance)
Set the CSInstance. This CSInstance gathers the review message of CSTasks.

Parameters:
instance - the given CSInstance
Since:
version 1.1.5

setCSSignInfo

public void setCSSignInfo(CSSignInfo signInfo)

setCsSignMessage

public void setCsSignMessage(java.lang.String csSignMessage)

setReviewMode

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

Since:
version 1.1.5

setSignMode

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

Since:
version 1.1.5

setSignTime

public void setSignTime(long signTime)

update

public void update(java.lang.Object obj)
Update this CSTask 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.