public class DBProcess
extends java.lang.Object
implements java.io.Serializable
The Process is the step in the Work Flow. For example, consider a Work Flow about the purchasing. It is composed by several steps such as purchase requirement introducing, vender survey, merchandise ordering, reception, payment, and so on. Each step can be regarded as a Process. To describe a Process, the class has to provide the fields to define all related factors such as how to execute, who is permitted to execute, how to invoke the next process while this step is complete(the features is denoted as Procss-Routing), and so on.
The fields in the class are introduced by dividing into several catagories, the self-information, the Role information, the Artifact information, the relationship information, and the display information.
Self information:
The information related to the Process itself shows in the following:
Descriptor | Comment |
ProcessID | the identifier of Process in the Agentflow System |
ProcessName | the name of the Process |
ProcessInfoSpec | the guide to describe how to execute the Process |
ProcessSynopsis | the comment of the Process |
ProcessDefaultKeyWord | the default key word of the Process |
ProjectID | the ID of the attached project |
ProcessDuration | the time by witch user is asked to complete the Process |
ProcessWarnMsg | the operation to inform the user while overtime |
The following are some field to denote the state of Process:
Descriptor | Type | Comment |
pPolicy | POLICY_RANDOM, POLICY_QUEUE, POLICY_PREVIOUS, POLICY_ALL, POLICY_AUDIT | the policy of Procss-Routing |
pType | TYPE_ROOT, TYPE_COMPOUND, TYPE_SINGLE, TYPE_CALLPROCESS, TYPE_COUNTERSIGN | different type the Agentflow System supports |
ProcessEmailNotify | true/false | true to sent E-Mail to user while the Process is invoked; false otherwise |
ProcessDisableDeputy | true/false | true if the Process is Non-deputized; false otherwise |
ProcessDisableRetrieve | true/false | true if the Process is Non-Retrieved; false otherwise |
ProcessAutoExec | true/false | true if the Process is executed by Agentflow System; false by user |
The field ProcessAutoExec in the previous table is part of the programmable interface in Agentflow System. The interface is used to exetend System functionality. You can write Agentflow Script Code attached to the Process. The Agentflow System will execute the code while the Process is invoking, running, or completing. The Script executed in these trigger time are stores in ProcessPreAction, ProcessAction, and ProcessPostAction.
Role-information:
The user permitted to execute the Process are stored in the Role-information.
Three kinds of Roles are provided in the Agentflow System: DepartmentRole,
ProjectRole, and SpecialRole. They are stored in DepartmentRoleList,
ProjectRoleList, and SpecialRoleList. The detail of
these roles can reference the class Role
, ProjectRole
,
and SpecialRole
.
Artifact-information:
In Agentflow System, the Artifact is the electronic-document. The OprArtifact represents the Artifact operated by user in the Process. Then the RefArtifact represents the e-documents necessary to as reference user while executing the Process.
Relationship-information:
The Agentflow provides several kinds of Process. The Work Flow is denoted as the RootProcess, and the step in the Work Flow is defined as the SingleProcess. To increase the convenience to design the Work Flow, the CompoundProcess is used to gather the connatural Processes. For example, the by the front example of purchasing, the sub-steps of reception can by divided into merchandise reception, inventory, and quality inspection. The sub-steps are the SingleProcess and the reception are the CompoundProcess. Moreover, for the benefit of reuse, the existed Work Flow can be use in another Work Flow. This kind of Process is named CallProcess. Thus, the Work Flow is a tree-structured composed by several different Process.
Besides the parent-child relationship, the flow-relationship exists in the Work Flow. It defines the relationship among sibling Process(with the same ParentNode) in the tree-structure.
The fields to descibe the parent-child relationship include
ParentProcessID, RootProcessID, and
SubProcessList. Then we use ProcessEntryCond,
ProcessExitCond, ProcessExitCondList,
OutProcessList, and InProcessList to define the
sibling relationship. The former two fields are type of LINK_OR
,
LINK_AND
, or LINK_XOR
.
Graphy-information:
Because the Work Flow is designed by the graphical-interface, the class provides some field to setup the coordinate.
Task
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
LINK_AND
Task Condition: LINK_AND
|
static java.lang.String |
LINK_OR
Task Condition: LINK_OR
|
static java.lang.String |
LINK_XOR
Task Condition: LINK_XOR
|
static java.lang.String |
POLICY_ALL
The Process will send to all authorized-member.
|
static java.lang.String |
POLICY_AUDIT
The Process will send to all authorized-member.
|
static java.lang.String |
POLICY_PREVIOUS
The Process will send to all authorized-member.
|
static java.lang.String |
POLICY_QUEUE
The Process will send to all authorized-member.
|
static java.lang.String |
POLICY_RANDOM
Randomly select a member to execute the Process.
|
static int |
POSITION_END
The Process position: POSITION_END
|
static int |
POSITION_START
The Process position: POSITION_START
|
static java.lang.String |
PRO_SIGN_EXECUTE |
static java.lang.String |
PRO_SIGN_NOTE |
static java.lang.String |
PRO_SIGN_STATE_DISPLAY_NAME |
static java.lang.String |
PRO_SIGN_STATE_ID |
static java.lang.String |
PRO_SIGN_STATE_NAME |
static java.lang.String |
REJPOINT_PREVIOUS |
static java.lang.String |
REJPOINT_START |
static java.lang.String |
RETPOINT_NEXT |
static java.lang.String |
RETPOINT_START |
static java.lang.String |
RETPOINT_USER |
static java.lang.String |
TYPE_ARTIFACTTOPDFADAPTERDBPROCESS |
static java.lang.String |
TYPE_CALLPROCESS
Process type: CallProcess
|
static java.lang.String |
TYPE_COMPOUND
Process type: CompoundProcess
|
static java.lang.String |
TYPE_COUNTERSIGN
Process type: CountersignProcess
|
static java.lang.String |
TYPE_CREATE |
static java.lang.String |
TYPE_DATATRANSFER |
static java.lang.String |
TYPE_DBADAPTERPROCESS |
static java.lang.String |
TYPE_FILESERVERADAPTERDBPROCESS |
static java.lang.String |
TYPE_GATHER |
static java.lang.String |
TYPE_IAP |
static java.lang.String |
TYPE_MAILNOTIFYADAPTERDBPROCESS |
static java.lang.String |
TYPE_MFP |
static java.lang.String |
TYPE_PRO_SIGN
Process type: SingleProcess using process sign func
|
static java.lang.String |
TYPE_ROOT
Process type: RootProcess
|
static java.lang.String |
TYPE_SINGLE
Process type: SingleProcess
|
static java.lang.String |
TYPE_WEBSERVICEPROCESS |
Constructor and Description |
---|
DBProcess() |
DBProcess(java.lang.String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArtifactToPdfAdapterProcess(java.lang.String dbaProID) |
void |
addCron(CronEntry cron) |
void |
addDBAdapterProcess(java.lang.String dbaProID) |
void |
addEnCondID(java.lang.String enCondID) |
void |
addException(ProException item) |
void |
addExtCond(ProLinkTerm enCondID) |
void |
addFileServerAdapterProcess(java.lang.String fsaProID) |
void |
addFromStartLink(ProcessLink toProID) |
void |
addInProcess(PASEProcessLink link)
Deprecated.
|
void |
addMailNotifyAdapterProcess(java.lang.String mnaProID) |
void |
addOutProcess(PASEProcessLink link)
Deprecated.
|
void |
addProWarning(long p_Time,
java.lang.String p_FuncName)
Set the operation to inform the user while overtime
|
void |
addRole(AFCompoundRole role) |
void |
addSpeRole(SpecialRole role)
Add a special role to the special role list
|
void |
addSubProcess(DBProcess process)
Add a porcess into the list of sub-processes
|
void |
addTimeCtrlItem(TimeCtrlItem item) |
void |
addToLinkList(ProcessLink toProID) |
void |
addTrack(PASETaskTrackPermission track)
Deprecated.
|
void |
addWebServicesProcess(java.lang.String wsProID) |
boolean |
containsFromStartLink(java.lang.String toID) |
boolean |
containsFromStartLink(java.lang.String termID,
java.lang.String toID) |
boolean |
containsRole(AFCompoundRole rol) |
boolean |
containsToLinkList(java.lang.String termID,
java.lang.String toID) |
java.lang.String |
getAction()
Get the Agentflow Script defined in the process running time
|
int |
getAddAnnounceQuantity() |
PASEartState |
getAddASArtState() |
java.lang.String |
getAddASAstID() |
java.lang.String |
getAddASDispatchAction() |
java.lang.String |
getAddASEmailTemplateId() |
java.lang.String |
getAddASEndAction() |
java.lang.String |
getAddASMsgTemplateId() |
java.lang.String |
getAddASPostAction() |
java.lang.String |
getAddASPreAction() |
java.lang.String |
getAddASReturnPoint() |
java.lang.String |
getAddASReturnPoint(Task task) |
java.lang.String |
getAddASStartAction() |
java.util.HashMap<java.lang.Integer,java.lang.Float> |
getAddPAWeightList() |
java.lang.String |
getAddPAWeightListStr() |
int |
getAddSignQuantity() |
java.lang.String |
getAddSignRejectPoint() |
java.util.Vector<java.lang.String> |
getArtifactToPdfAdapterProcessIDList() |
java.util.Vector<CronEntry> |
getCronList() |
java.util.Vector<java.lang.String> |
getDBAdapterProcessIDList() |
java.lang.String |
getDeadline() |
java.lang.String |
getDefaultKeyWord()
Get the process synopsis
|
java.lang.String |
getDispatchAction() |
long |
getDuration()
Get the time by which user is asked to complete the process
|
java.lang.String |
getEmailTemplateID() |
java.lang.String |
getEnCond()
Get the end condition.
|
java.util.Vector<java.lang.String> |
getEnCondList() |
java.lang.String |
getEndImageType() |
int |
getEndX()
Deprecated.
|
int |
getEndY()
Deprecated.
|
java.util.List |
getExceptionList() |
java.lang.String |
getExCond()
Get the exit condition.
|
java.util.Vector<ProLinkTerm> |
getExtCond()
Get the exit condition list.
|
java.util.Vector<java.lang.String> |
getFileServerAdapterProcessIDList() |
java.util.Vector<ProcessLink> |
getFromStartLinkList() |
java.lang.String |
getGoBackToEmailTemplateId() |
java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> |
getGoBackToProList() |
java.util.Vector<GroupSignArtComponent> |
getGroupSignArtComponent() |
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> |
getGroupSignLocaleInfo() |
java.lang.Object |
getHashKey() |
int |
getHeight() |
java.lang.String |
getID()
Get the process id
|
java.lang.String |
getImageType() |
java.lang.String |
getInfoSpec()
Get the process information specification.
|
java.util.Vector<PASEProcessLink> |
getInProcessList()
Deprecated.
|
java.util.HashMap |
getLocaleInfo() |
java.util.Vector<java.lang.String> |
getMailNotifyAdapterProcessIDList() |
java.util.Vector<GroupSignArtComponent> |
getMobilePushArtComponent() |
java.lang.String |
getMsgTemplateID() |
java.lang.String |
getName()
Get the process name
|
java.lang.String |
getName(java.lang.String locale) |
java.lang.String |
getNotifyMailContent()
Get the mail content sent while the process is email-notify
|
java.lang.String |
getNotifyMailSubject()
Get the mail subject sent while the process is email-notify
|
java.lang.String |
getOprArtifact()
The recent Agentflow System only support one OprArtifact, so the method
is used to get the only one operation artifact's id.
|
java.util.Vector<java.lang.String> |
getOprArtifactList()
Get the list of operation artifacts' id
|
java.util.Vector<PASEProcessLink> |
getOutProcessList()
Deprecated.
|
java.lang.String |
getParentID()
Get the process id of parent process
|
java.lang.String |
getPolicy()
Get the process policy
|
java.lang.String |
getPostAction()
Get the Agentflow Script defined in the process completing time
|
java.lang.String |
getPreAction()
Get the Agentflow Script defined in the process invokating time
|
java.lang.String |
getPrjID()
Get the project id
|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> |
getPrjLocaleInfo() |
java.lang.String |
getPrjName()
Get the project name
|
java.lang.String |
getPrjName(java.lang.String locale) |
java.lang.String |
getProcessType()
Get the process type
|
java.util.Vector<java.lang.String> |
getProjectRoleList()
Get the project role list
|
java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> |
getProSignStateList()
Get the process signing-artstate mapping.
|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> |
getProSignStateLocaleInfo() |
java.util.Vector<java.lang.Object[]> |
getProWarning()
Get the operation to inform the user while overtime
|
java.lang.String |
getQueueType()
Get the process queueType
|
java.util.Vector<java.lang.String> |
getRefArtifactList()
Get the list of reference artifacts' id
|
java.util.Vector<AFCompoundRole> |
getRoleIDList() |
java.util.Vector<java.lang.String> |
getRoleList()
Get the department role list
|
java.lang.String |
getRootID()
Get process id of root process(the Work Flow)
|
int |
getRootSiblingOrder() |
int |
getSiblingOrder() |
java.util.Vector<SpecialRole> |
getSpeRoleList()
Get the special role list
|
java.lang.String |
getStartImageType() |
int |
getStartX()
Deprecated.
|
int |
getStartY()
Deprecated.
|
java.util.Vector<DBProcess> |
getSubProcessList()
Get the list of sub-processes
|
java.lang.String |
getSynopsis()
Get the process synopsis
|
java.lang.String |
getSynopsis(java.lang.String locale) |
java.util.Vector<PASETaskTrackPermission> |
getTaskTrackList()
Deprecated.
|
java.util.Vector<TimeCtrlItem> |
getTimeCtrlItemList() |
java.util.Vector<ProcessLink> |
getToLinkList() |
ProcessVersion |
getVersion() |
java.util.Vector<java.lang.String> |
getWebServicesProcessIDList() |
int |
getWidth() |
int |
getX()
Get the coordinate x of the process in the process diagram
|
int |
getY()
Get the coordinate y of the process in the process diagram
|
boolean |
isAddASEmailNotify()
AF-4379 by Kai
Check whether the process is addas email-notify
|
boolean |
isAddASExecuteArtFunc() |
boolean |
isAddASGoBackToNotify()
add by wenchao for AF-7669
Check whether the process is addas GoBackTo-notify
|
boolean |
isAddASMsgNotify()
add by abin for IMA
Check whether the process is addas MSG-notify
|
boolean |
isAddSignAllowReverify() |
boolean |
isAllEmpolyee()
Check whether the role ID is AllEmpolyee
|
boolean |
isAllowAddAandS() |
boolean |
isAllowAddAnnounce() |
boolean |
isAllowAddSandA() |
boolean |
isAllowAddSign() |
boolean |
isAllowGoBackTo() |
boolean |
isAllowModifyAddSignArtifact() |
boolean |
isAllowModifyKeyWord() |
boolean |
isAllowViewOtherPAOpinion() |
boolean |
isAutoExecution()
Check whether the process is auto-execution
|
boolean |
isDefaultKeyWordEveryTime() |
boolean |
isDisableDeputy()
Check whether the process is non-deputized.
|
boolean |
isDisableRetrieve()
Check whether the process is non-Retrieved.
|
boolean |
isEmailNotify()
Check whether the process is email-notify
|
boolean |
isEmailNotifyExcludeStart()
·íÃö¥d³]©w¨ìÃö³qª¾®É¡AYÃö¥d¬°°_³æ«áªº²Ä¤@Ãö¡A¬O§_°µ³qª¾
|
boolean |
isExcludeViewModeInTracking() |
boolean |
isGoBackToEmailNotify()
Check whether the process is email-notify
|
boolean |
isGroupSign() |
boolean |
isGroupSignCloseFormAction() |
boolean |
isGroupSignOKAction() |
boolean |
isGroupSignOpenFormAction() |
boolean |
isGroupSignPostAction() |
boolean |
isGroupSignPreAction() |
boolean |
isMobilePush() |
boolean |
isMsgNotify() |
boolean |
isPositionEnd()
Deprecated.
|
boolean |
isPositionStart()
Deprecated.
|
boolean |
isProSign()
Check whether the process is using process signing
|
boolean |
isRootProcess() |
boolean |
removeArtifactToPdfAdapterProcess(java.lang.String dbaProID) |
boolean |
removeCron(CronEntry cron) |
boolean |
removeDBAdapterProcess(java.lang.String dbaProID) |
boolean |
removeEnCondID(java.lang.String enCondID) |
boolean |
removeException(ProException item) |
boolean |
removeExtCond(ProLinkTerm enCondID) |
boolean |
removeFileServerAdapterProcess(java.lang.String fsaProID) |
boolean |
removeFromStartLink(ProcessLink toProID) |
boolean |
removeMailNotifyAdapterProcess(java.lang.String mnaProID) |
boolean |
removeRole(AFCompoundRole role) |
boolean |
removeTimeCtrlItem(TimeCtrlItem item) |
boolean |
removeToLinkList(ProcessLink toProID) |
void |
removeTrack(PASETaskTrackPermission track)
Deprecated.
|
void |
removeTrack(java.lang.String rID)
Deprecated.
|
boolean |
removeWebServicesProcess(java.lang.String wsProID) |
void |
setAction(java.lang.String action)
Set the Agentflow Script defined in the process running time
|
void |
setAddAnnounceQuantity(int quantity) |
void |
setAddASArtState(PASEartState state) |
void |
setAddASAstID(java.lang.String id) |
void |
setAddASDispatchAction(java.lang.String action) |
void |
setAddASEmailNotify(boolean b)
AF-4379 by Kai
Set the process email notify
|
void |
setAddASEmailTemplateId(java.lang.String id) |
void |
setAddASEndAction(java.lang.String action) |
void |
setAddASExecuteArtFunc(boolean flag) |
void |
setAddASGoBackToNotify(boolean b)
add by wenchao for AF-7669
Set the process goBackTo notify
|
void |
setAddASMsgNotify(boolean b)
add by abin for IMA
Set the process msg notify
|
void |
setAddASMsgTemplateId(java.lang.String id) |
void |
setAddASPostAction(java.lang.String action) |
void |
setAddASPreAction(java.lang.String action) |
void |
setAddASReturnPoint(java.lang.String retPoint) |
void |
setAddASStartAction(java.lang.String action) |
void |
setAddPAWeightList(java.util.HashMap<java.lang.Integer,java.lang.Float> list) |
void |
setAddPAWeightListString(java.lang.String listStr) |
void |
setAddSignAllowReverify(boolean flag) |
void |
setAddSignQuantity(int quantity) |
void |
setAddSignRejectPoint(java.lang.String rejectPoint) |
void |
setAllowAddAandS(boolean isAllow) |
void |
setAllowAddAnnounce(boolean isAllow) |
void |
setAllowAddSandA(boolean isAllow) |
void |
setAllowAddSign(boolean isAllow) |
void |
setAllowGoBackTo(boolean flag) |
void |
setAllowModifyAddSignArtifact(boolean isAllow) |
void |
setAllowModifyKeyWord(boolean allowModifyKeyWord) |
void |
setAllowViewOtherPAOpinion(boolean flag) |
void |
setArtifactToPdfAdapterProcessIDList(java.util.Vector<java.lang.String> dbaList) |
void |
setAutoExecution(boolean b)
Set the process auto-execution
|
void |
setCronList(java.util.Vector<CronEntry> list) |
void |
setDBAdapterProcessIDList(java.util.Vector<java.lang.String> dbaList) |
void |
setDeadline(java.lang.String deadline) |
void |
setDefaultKeyWord(java.lang.String defaultKeyWord)
Set the process synopsis
|
void |
setDefaultKeyWordEveryTime(boolean defaultKeyWordEveryTime) |
void |
setDisableDeputy(boolean b)
Set the process disable deputy
|
void |
setDisableRetrieve(boolean b)
Set the process disable Retrieve
|
void |
setDispatchAction(java.lang.String action) |
void |
setDuration(long time)
Set the time by which user is asked to complete the process
|
void |
setEmailNotify(boolean b)
Set the process email notify
|
void |
setEmailNotifyExcludeStart(boolean b) |
void |
setEmailTemplateID(java.lang.String id) |
void |
setEnCond(java.lang.String cond)
Set the end condition.
|
void |
setEnCondList(java.util.Vector<java.lang.String> prList) |
void |
setEndImageType(java.lang.String imgID) |
void |
setEndX(int x)
Deprecated.
|
void |
setEndY(int y)
Deprecated.
|
void |
setExceptionList(java.util.List exceptionList) |
void |
setExcludeViewModeInTracking(boolean excludeViewModeInTracking) |
void |
setExCond(java.lang.String cond)
Set the exit condition.
|
void |
setExtCond(java.util.Vector<ProLinkTerm> v)
Set the exit condition list.
|
void |
setFileServerAdapterProcessIDList(java.util.Vector<java.lang.String> fsaList) |
void |
setFromStartLinkList(java.util.Vector<ProcessLink> prList) |
void |
setGoBackToEmailNotify(boolean b)
Set the process goBackTo email notify
|
void |
setGoBackToEmailTemplateId(java.lang.String id) |
void |
setGoBackToProList(java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> list) |
void |
setGroupSign(boolean flag) |
void |
setGroupSignArtComponent(java.util.Vector<GroupSignArtComponent> comps) |
void |
setGroupSignCloseFormAction(boolean groupSignCloseFormAction) |
void |
setGroupSignLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> groupSignLoacleInfo) |
void |
setGroupSignOKAction(boolean flag) |
void |
setGroupSignOpenFormAction(boolean groupSignOpenFormAction) |
void |
setGroupSignPostAction(boolean groupSignPostAction) |
void |
setGroupSignPreAction(boolean groupSignPreAction) |
void |
setHeight(int height) |
void |
setID(java.lang.String id)
Set the process id
|
void |
setImageType(java.lang.String pImage) |
void |
setInfoSpec(java.lang.String spec)
Set the process information specification
|
void |
setInProcesslist(java.util.Vector<PASEProcessLink> list)
Deprecated.
|
void |
setIsAllEmpolyee(boolean isAllEmpolyee)
Set isAllEmpolyee
|
void |
setLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> localeInfo) |
void |
setLocation(int x,
int y) |
void |
setMailNotifyAdapterProcessIDList(java.util.Vector<java.lang.String> mnaList) |
void |
setMobilePush(boolean flag) |
void |
setMobilePushArtComponent(java.util.Vector<GroupSignArtComponent> comps) |
void |
setMsgNotify(boolean b) |
void |
setMsgTemplateID(java.lang.String id) |
void |
setName(java.lang.String name)
Set the process name
|
void |
setOprArtifactList(java.util.Vector<java.lang.String> list)
Set the list of operation artifacts' id
|
void |
setOutProcessList(java.util.Vector<PASEProcessLink> list)
Deprecated.
|
void |
setParentID(java.lang.String id)
Set the process id of parent process
|
void |
setPolicy(java.lang.String policy)
Set the process policy
|
void |
setPosition(int position)
Deprecated.
|
void |
setPostAction(java.lang.String action)
Set the Agentflow Script defined in the process completing time
|
void |
setPreAction(java.lang.String action)
Set the Agentflow Script defined in the process invokating time
|
void |
setPrjID(java.lang.String id)
Set the project id
|
void |
setPrjLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> prjLocaleInfo) |
void |
setPrjName(java.lang.String name)
Set the project name
|
void |
setProcessType(java.lang.String type)
Set the process type
|
void |
setProjectRoleList(java.util.Vector<java.lang.String> list)
Set the project role list
|
void |
setProSign(boolean b)
Set the process using process signing
|
void |
setProSignStateList(java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> proSignStateList)
Set the process signing-artstate mapping.
|
void |
setProSignStateLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> proSignStateLocaleInfo) |
void |
setProWarning(java.util.Vector<java.lang.Object[]> pProWarning) |
void |
setQueueType(java.lang.String queueType)
Set the process QueueType
|
void |
setRefArtifactList(java.util.Vector<java.lang.String> list)
Set the list of reference artifacts' id
|
void |
setRoleIDList(java.util.Vector<AFCompoundRole> prList) |
void |
setRoleList(java.util.Vector<java.lang.String> list)
Set the department role list
|
void |
setRootID(java.lang.String id)
Set the process id of root process(the Work Flow)
|
void |
setRootProcess(boolean b) |
void |
setRootSiblingOrder(int order) |
void |
setSiblingOrder(int order) |
void |
setSize(int width,
int height) |
void |
setSpeRoleList(java.util.Vector<SpecialRole> list)
Set the special role list
|
void |
setStartImageType(java.lang.String imgID) |
void |
setStartX(int x)
Deprecated.
|
void |
setStartY(int y)
Deprecated.
|
void |
setSubProcessList(java.util.Vector<DBProcess> list)
Set the list of sub-processes
|
void |
setSynopsis(java.lang.String syn)
Set the process synopsis
|
void |
setTaskTrackList(java.util.Vector<PASETaskTrackPermission> taskTrack) |
void |
setTimeCtrlItemList(java.util.Vector<TimeCtrlItem> list) |
void |
setToLinkList(java.util.Vector<ProcessLink> prList) |
void |
setVersion(ProcessVersion pv) |
void |
setWebServicesProcessIDList(java.util.Vector<java.lang.String> wsList) |
void |
setWidth(int width) |
void |
setX(int x)
Set the coordinate x of the process in the process diagram
|
void |
setY(int y)
Set the coordinate y of the process in the process diagram
|
java.lang.String |
toString()
Get a string representation of the
DBProcess . |
void |
update(java.lang.Object obj) |
void |
updateAddAS(java.lang.Object obj) |
public static final java.lang.String LINK_OR
public static final java.lang.String LINK_AND
public static final java.lang.String LINK_XOR
public static final java.lang.String POLICY_RANDOM
public static final java.lang.String POLICY_QUEUE
public static final java.lang.String POLICY_ALL
public static final java.lang.String POLICY_PREVIOUS
public static final java.lang.String POLICY_AUDIT
public static final int POSITION_START
public static final int POSITION_END
public static final java.lang.String TYPE_ROOT
public static final java.lang.String TYPE_COMPOUND
public static final java.lang.String TYPE_SINGLE
public static final java.lang.String TYPE_CALLPROCESS
public static final java.lang.String TYPE_COUNTERSIGN
public static final java.lang.String TYPE_DATATRANSFER
public static final java.lang.String TYPE_CREATE
public static final java.lang.String TYPE_GATHER
public static final java.lang.String TYPE_IAP
public static final java.lang.String TYPE_MFP
public static final java.lang.String TYPE_WEBSERVICEPROCESS
public static final java.lang.String TYPE_DBADAPTERPROCESS
public static final java.lang.String TYPE_ARTIFACTTOPDFADAPTERDBPROCESS
public static final java.lang.String TYPE_FILESERVERADAPTERDBPROCESS
public static final java.lang.String TYPE_MAILNOTIFYADAPTERDBPROCESS
public static final java.lang.String TYPE_PRO_SIGN
public static final java.lang.String PRO_SIGN_EXECUTE
public static final java.lang.String PRO_SIGN_NOTE
public static final java.lang.String PRO_SIGN_STATE_ID
public static final java.lang.String PRO_SIGN_STATE_NAME
public static final java.lang.String PRO_SIGN_STATE_DISPLAY_NAME
public static final java.lang.String REJPOINT_START
public static final java.lang.String REJPOINT_PREVIOUS
public static final java.lang.String RETPOINT_START
public static final java.lang.String RETPOINT_NEXT
public static final java.lang.String RETPOINT_USER
public DBProcess()
public DBProcess(java.lang.String id)
DBProcess
with the
specified id.id
- the process idpublic java.lang.String getID()
public void setID(java.lang.String id)
id
- the given process idpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the given process namepublic java.lang.String getInfoSpec()
public void setInfoSpec(java.lang.String spec)
spec
- the given process information specificationpublic java.lang.String getSynopsis()
public void setSynopsis(java.lang.String syn)
syn
- the given process synopsispublic java.lang.String getDefaultKeyWord()
public void setDefaultKeyWord(java.lang.String defaultKeyWord)
syn
- the given process synopsispublic java.lang.String getPolicy()
public void setPolicy(java.lang.String policy)
policy
- one of POLICY_RANDOM, POLICY_QUEUE, POLICY_PREVIOUS,
POLICY_ALL, or POLICY_AUDITpublic java.lang.String getProcessType()
public void setProcessType(java.lang.String type)
type
- one of TYPE_ROOT, TYPE_COMPOUND, TYPE_SINGLE,
TYPE_CALLPROCESS, or TYPE_COUNTERSIGNpublic java.lang.String getAction()
public void setAction(java.lang.String action)
action
- the Agentflow Scriptpublic java.lang.String getPreAction()
public void setPreAction(java.lang.String action)
action
- the Agentflow Scriptpublic java.lang.String getPostAction()
public void setPostAction(java.lang.String action)
action
- the Agentflow Scriptpublic java.lang.String getDispatchAction()
public void setDispatchAction(java.lang.String action)
public java.lang.String getPrjID()
public void setPrjID(java.lang.String id)
id
- the given project idpublic java.lang.String getPrjName()
public void setPrjName(java.lang.String name)
id
- the given project namepublic long getDuration()
public void setDuration(long time)
time
- the given process durationpublic java.util.Vector<java.lang.Object[]> getProWarning()
public void setProWarning(java.util.Vector<java.lang.Object[]> pProWarning)
public void addProWarning(long p_Time, java.lang.String p_FuncName)
p_Time
- the overtimep_FuncName
- the operationpublic boolean isEmailNotify()
public void setEmailNotify(boolean b)
b
- true to sent E-Mail to user while the process is
invoked; false otherwisepublic boolean isEmailNotifyExcludeStart()
public void setEmailNotifyExcludeStart(boolean b)
public boolean isMsgNotify()
public void setMsgNotify(boolean b)
public boolean isGoBackToEmailNotify()
public void setGoBackToEmailNotify(boolean b)
b
- true to sent E-Mail to user while the process is
went back ; false otherwisepublic boolean isAddASEmailNotify()
public void setAddASEmailNotify(boolean b)
b
- true to sent E-Mail to user while the process addaas is
invoked; false otherwisepublic boolean isAddASMsgNotify()
public void setAddASMsgNotify(boolean b)
b
- true to sent msg to user while the process addaas is
invoked; false otherwisepublic boolean isAddASGoBackToNotify()
public void setAddASGoBackToNotify(boolean b)
b
- true to sent goBackTo E-Mail to user while the process addaas is
rejected; false otherwisepublic java.lang.String getNotifyMailSubject()
public java.lang.String getNotifyMailContent()
public java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> getProSignStateList()
public void setProSignStateList(java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> proSignStateList)
Vector>
- with key={DBProcess.PRO_SIGN_STATE_ID,DBProcess.PRO_SIGN_STATE_NAME,DBProcess.PRO_SIGN_STATE_DISPLAY_NAME}public boolean isProSign()
public void setProSign(boolean b)
public boolean isAutoExecution()
public void setAutoExecution(boolean b)
b
- true if the process is executed by Agentflow
System; false by userpublic boolean isDisableDeputy()
public void setDisableDeputy(boolean b)
b
- true if the process is non-deputized; false
otherwisepublic boolean isDisableRetrieve()
public void setDisableRetrieve(boolean b)
b
- true if the process is non-Retrieved; false
otherwisepublic java.util.Vector<java.lang.String> getRoleList()
Vector
is instance of String
)public void setRoleList(java.util.Vector<java.lang.String> list)
list
- the given department role ID list (each element in Vector
is instance of String
)public boolean isAllEmpolyee()
public void setIsAllEmpolyee(boolean isAllEmpolyee)
isAllEmpolyee
- true the role ID is AllEmpolyee; false otherwisepublic java.util.Vector<java.lang.String> getProjectRoleList()
Vector
is
instance of String
)public void setProjectRoleList(java.util.Vector<java.lang.String> list)
list
- the given project role ID list (each element in Vector
is instance of String
)public java.util.Vector<SpecialRole> getSpeRoleList()
Vector
is
instance of public void setSpeRoleList(java.util.Vector<SpecialRole> list)
list
- the given special role list (each element in Vector
is instance of SpecialRole
)public void addSpeRole(SpecialRole role)
role
- the given special rolepublic java.util.Vector<java.lang.String> getOprArtifactList()
Vector
is instance of artifact id)public java.lang.String getOprArtifact()
public void setOprArtifactList(java.util.Vector<java.lang.String> list)
list
- the operation artifact list. (each element in Vector
is instance of artifact's id)public java.util.Vector<java.lang.String> getRefArtifactList()
Vector
is instance of artifact's id)public void setRefArtifactList(java.util.Vector<java.lang.String> list)
list
- the reference artifact list. (each element in Vector
is instance of artifact's id)public java.lang.String getParentID()
public void setParentID(java.lang.String id)
id
- the given process idpublic java.lang.String getRootID()
public void setRootID(java.lang.String id)
id
- the given process idpublic java.util.Vector<DBProcess> getSubProcessList()
Vector
is
instance of DBProcess
)public void setSubProcessList(java.util.Vector<DBProcess> list)
list
- the given sub-process list. (each element in Vector
is instance of DBProcess
)public void addSubProcess(DBProcess process)
process
- the given sub-processpublic void setPosition(int position)
position
- the given process positionpublic boolean isPositionStart()
public boolean isPositionEnd()
public java.util.Vector<PASEProcessLink> getInProcessList()
PASEProcessLink
)public void setInProcesslist(java.util.Vector<PASEProcessLink> list)
list
- the given process link list.public void addInProcess(PASEProcessLink link)
link
- the given instance of PASEProcessLink
public java.util.Vector<PASEProcessLink> getOutProcessList()
public void setOutProcessList(java.util.Vector<PASEProcessLink> list)
list
- the given process link listpublic void addOutProcess(PASEProcessLink link)
link
- the given instance of PASEProcessLink
public java.lang.String getEnCond()
public void setEnCond(java.lang.String cond)
cond
- the given end conditionpublic java.lang.String getExCond()
public void setExCond(java.lang.String cond)
cond
- the given exit condition.public java.util.Vector<ProLinkTerm> getExtCond()
public void setExtCond(java.util.Vector<ProLinkTerm> v)
v
- the given exit condition listpublic void addExtCond(ProLinkTerm enCondID)
public boolean removeExtCond(ProLinkTerm enCondID)
public int getX()
public void setX(int x)
x
- the given coordinate xpublic int getY()
public void setY(int y)
y
- the given coordinate ypublic int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public int getStartX()
public void setStartX(int x)
x
- the given coordinate xpublic int getStartY()
public void setStartY(int y)
y
- the given coordinate ypublic int getEndX()
public void setEndX(int x)
x
- the given coordinate xpublic int getEndY()
public void setEndY(int y)
y
- the given coordinate ypublic void setAllowAddAnnounce(boolean isAllow)
public boolean isAllowAddAnnounce()
public void setAllowAddSign(boolean isAllow)
public boolean isAllowAddSign()
public void setAllowAddAandS(boolean isAllow)
public boolean isAllowAddAandS()
public void setAllowAddSandA(boolean isAllow)
public boolean isAllowAddSandA()
public void setAddSignRejectPoint(java.lang.String rejectPoint)
public java.lang.String getAddSignRejectPoint()
public void setAddASReturnPoint(java.lang.String retPoint)
public java.lang.String getAddASReturnPoint()
public java.lang.String getAddASReturnPoint(Task task)
public void setAddAnnounceQuantity(int quantity)
public int getAddAnnounceQuantity()
public void setAddSignQuantity(int quantity)
public int getAddSignQuantity()
public void setAllowModifyAddSignArtifact(boolean isAllow)
public boolean isAllowModifyAddSignArtifact()
public void setAddSignAllowReverify(boolean flag)
public boolean isAddSignAllowReverify()
public void setAllowViewOtherPAOpinion(boolean flag)
public boolean isAllowViewOtherPAOpinion()
public void setAddPAWeightList(java.util.HashMap<java.lang.Integer,java.lang.Float> list)
public void setAddPAWeightListString(java.lang.String listStr)
public java.util.HashMap<java.lang.Integer,java.lang.Float> getAddPAWeightList()
public java.lang.String getAddPAWeightListStr()
public void setAddASPreAction(java.lang.String action)
public java.lang.String getAddASPreAction()
public java.lang.String getAddASDispatchAction()
public void setAddASDispatchAction(java.lang.String action)
public void setAddASPostAction(java.lang.String action)
public java.lang.String getAddASPostAction()
public void setAddASStartAction(java.lang.String action)
public java.lang.String getAddASStartAction()
public void setAddASEndAction(java.lang.String action)
public java.lang.String getAddASEndAction()
public void setAddASExecuteArtFunc(boolean flag)
public boolean isAddASExecuteArtFunc()
public void setAddASArtState(PASEartState state)
public PASEartState getAddASArtState()
public void updateAddAS(java.lang.Object obj)
public void setGroupSign(boolean flag)
public boolean isGroupSign()
public void setGroupSignArtComponent(java.util.Vector<GroupSignArtComponent> comps)
public java.util.Vector<GroupSignArtComponent> getGroupSignArtComponent()
public void setGroupSignOKAction(boolean flag)
public boolean isGroupSignOKAction()
public void setSiblingOrder(int order)
public int getSiblingOrder()
public void setRootSiblingOrder(int order)
public int getRootSiblingOrder()
public void setAllowGoBackTo(boolean flag)
public boolean isAllowGoBackTo()
public void setGoBackToProList(java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> list)
public java.util.Vector<java.util.HashMap<java.lang.String,java.lang.String>> getGoBackToProList()
public java.util.Vector<PASETaskTrackPermission> getTaskTrackList()
Vector
is the
instance of PASETaskTrackPermission
)public void setTaskTrackList(java.util.Vector<PASETaskTrackPermission> taskTrack)
public void addTrack(PASETaskTrackPermission track)
track
- the given PASETaskTrackPermission
instancepublic void removeTrack(java.lang.String rID)
rID
- the given role idpublic void removeTrack(PASETaskTrackPermission track)
track
- the given PASETaskTrackPermission
instance.public java.lang.String toString()
DBProcess
.toString
in class java.lang.Object
DBProcess
namepublic void setImageType(java.lang.String pImage)
public java.lang.String getImageType()
public void setStartImageType(java.lang.String imgID)
public java.lang.String getStartImageType()
public void setEndImageType(java.lang.String imgID)
public java.lang.String getEndImageType()
public java.util.List getExceptionList()
public void setExceptionList(java.util.List exceptionList)
public void addException(ProException item)
public boolean removeException(ProException item)
public void update(java.lang.Object obj)
public java.lang.Object getHashKey()
public java.lang.String getQueueType()
public void setQueueType(java.lang.String queueType)
queueType
- one of QUEUE_ACTIVE, QUEUE_PASSIVE, QUEUE_NONEpublic boolean isAllowModifyKeyWord()
public void setAllowModifyKeyWord(boolean allowModifyKeyWord)
public boolean isGroupSignPreAction()
public void setGroupSignPreAction(boolean groupSignPreAction)
public boolean isGroupSignOpenFormAction()
public void setGroupSignOpenFormAction(boolean groupSignOpenFormAction)
public boolean isGroupSignCloseFormAction()
public void setGroupSignCloseFormAction(boolean groupSignCloseFormAction)
public boolean isGroupSignPostAction()
public void setGroupSignPostAction(boolean groupSignPostAction)
public java.util.HashMap getLocaleInfo()
public void setLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> localeInfo)
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> getPrjLocaleInfo()
public void setPrjLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> prjLocaleInfo)
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> getProSignStateLocaleInfo()
public void setProSignStateLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> proSignStateLocaleInfo)
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> getGroupSignLocaleInfo()
public void setGroupSignLocaleInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> groupSignLoacleInfo)
public java.lang.String getName(java.lang.String locale)
public java.lang.String getSynopsis(java.lang.String locale)
public java.lang.String getPrjName(java.lang.String locale)
public boolean isDefaultKeyWordEveryTime()
public void setDefaultKeyWordEveryTime(boolean defaultKeyWordEveryTime)
public boolean isExcludeViewModeInTracking()
public void setExcludeViewModeInTracking(boolean excludeViewModeInTracking)
public java.util.Vector<java.lang.String> getEnCondList()
public void setEnCondList(java.util.Vector<java.lang.String> prList)
public void addEnCondID(java.lang.String enCondID)
public boolean removeEnCondID(java.lang.String enCondID)
public java.util.Vector<ProcessLink> getToLinkList()
public void setToLinkList(java.util.Vector<ProcessLink> prList)
public void addToLinkList(ProcessLink toProID)
public boolean removeToLinkList(ProcessLink toProID)
public boolean containsToLinkList(java.lang.String termID, java.lang.String toID)
public java.util.Vector<ProcessLink> getFromStartLinkList()
public void setFromStartLinkList(java.util.Vector<ProcessLink> prList)
public void addFromStartLink(ProcessLink toProID)
public boolean removeFromStartLink(ProcessLink toProID)
public boolean containsFromStartLink(java.lang.String termID, java.lang.String toID)
public boolean containsFromStartLink(java.lang.String toID)
public java.lang.String getEmailTemplateID()
public void setEmailTemplateID(java.lang.String id)
public java.lang.String getMsgTemplateID()
public void setMsgTemplateID(java.lang.String id)
public java.lang.String getAddASEmailTemplateId()
public void setAddASEmailTemplateId(java.lang.String id)
public java.lang.String getAddASMsgTemplateId()
public void setAddASMsgTemplateId(java.lang.String id)
public java.lang.String getGoBackToEmailTemplateId()
public void setGoBackToEmailTemplateId(java.lang.String id)
public void setDeadline(java.lang.String deadline)
public java.lang.String getDeadline()
public void setMobilePush(boolean flag)
public boolean isMobilePush()
public void setMobilePushArtComponent(java.util.Vector<GroupSignArtComponent> comps)
public java.util.Vector<GroupSignArtComponent> getMobilePushArtComponent()
public boolean isRootProcess()
public void setRootProcess(boolean b)
public ProcessVersion getVersion()
public void setVersion(ProcessVersion pv)
public java.util.Vector<TimeCtrlItem> getTimeCtrlItemList()
public void setTimeCtrlItemList(java.util.Vector<TimeCtrlItem> list)
public void addTimeCtrlItem(TimeCtrlItem item)
public boolean removeTimeCtrlItem(TimeCtrlItem item)
public java.util.Vector<java.lang.String> getWebServicesProcessIDList()
public void setWebServicesProcessIDList(java.util.Vector<java.lang.String> wsList)
public void addWebServicesProcess(java.lang.String wsProID)
public boolean removeWebServicesProcess(java.lang.String wsProID)
public java.util.Vector<java.lang.String> getDBAdapterProcessIDList()
public void setDBAdapterProcessIDList(java.util.Vector<java.lang.String> dbaList)
public void addDBAdapterProcess(java.lang.String dbaProID)
public boolean removeDBAdapterProcess(java.lang.String dbaProID)
public java.util.Vector<java.lang.String> getArtifactToPdfAdapterProcessIDList()
public void setArtifactToPdfAdapterProcessIDList(java.util.Vector<java.lang.String> dbaList)
public void addArtifactToPdfAdapterProcess(java.lang.String dbaProID)
public boolean removeArtifactToPdfAdapterProcess(java.lang.String dbaProID)
public java.util.Vector<java.lang.String> getMailNotifyAdapterProcessIDList()
public void setMailNotifyAdapterProcessIDList(java.util.Vector<java.lang.String> mnaList)
public void addMailNotifyAdapterProcess(java.lang.String mnaProID)
public boolean removeMailNotifyAdapterProcess(java.lang.String mnaProID)
public java.util.Vector<java.lang.String> getFileServerAdapterProcessIDList()
public void setFileServerAdapterProcessIDList(java.util.Vector<java.lang.String> fsaList)
public void addFileServerAdapterProcess(java.lang.String fsaProID)
public boolean removeFileServerAdapterProcess(java.lang.String fsaProID)
public java.util.Vector<CronEntry> getCronList()
public void setCronList(java.util.Vector<CronEntry> list)
public void addCron(CronEntry cron)
public boolean removeCron(CronEntry cron)
public void setAddASAstID(java.lang.String id)
public java.lang.String getAddASAstID()
public void setLocation(int x, int y)
public void setSize(int width, int height)
public java.util.Vector<AFCompoundRole> getRoleIDList()
public void setRoleIDList(java.util.Vector<AFCompoundRole> prList)
public void addRole(AFCompoundRole role)
public boolean removeRole(AFCompoundRole role)
public boolean containsRole(AFCompoundRole rol)
Copyright ? 2022. All Rights Reserved.