Package de.elo.ix.client
Class WFDiagram
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.WFDiagram
- All Implemented Interfaces:
Serializable
This class represents an active or finished workflow or a workflow template
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Access rights to the workflow template for the current user.protected String
Access control list in the internal format.protected AclItem[]
Access control list in a more convenient format than member acl.protected String
Access control list in the internal format.protected AclItem[]
Access control list in a more convenient format than member acl.protected int
The call node id of the main workflow, which call this sub workflow.protected String
Date of completion in ISO format.protected boolean
Flag that indicates whether the workflow template is deleted.protected int
Flags of the begin node.protected String
GUIDprotected boolean
Indicates whether this workflow is hidden.protected int
Workflow ID.protected int
The ID of the user who has currently locked the workflow.protected String
The name of the user who has currently locked the workflow.protected WFNodeMatrix
Node matrix.protected String
Workflow name.protected String
Translation-keyword forname
.protected WFNode[]
Array of nodes.protected String
ID or GUID of the associated folder or document object.protected String
Sord name.protected int
Sord type of the associated folder or document.protected boolean
True, if the workflow exceeds the time limit.protected int
ID of the user who has started the workflow.protected String
Name of the user who has started the workflow.protected String
Package name of WFDiagramprotected int
ID of the parent workflow.protected int
Workflow priortiy: 0...high, 1...medium, 2...low.protected String
This value determines on which replication server a workflow is allowed to be continued.protected String
Date of start in ISO format.Sub workflows.protected int
The workflow was started based on this workflow template.protected String
The workflow was started based on the workflow template with this name.protected int
Time-limit for the entire workflow in minutes.protected WFTimeLimit[]
Additional definitions for time limits.protected String
The entire workflow should be finished by this date.protected int
The ID of the user that should be informed,if the time-limit for the workflow is exceeded.protected String
The name of the user that should be informed, if the time-limit is exceeded.protected String
TStampprotected String
Timestamp of this object's last export by the replication.protected WFTypeZ
Typeof template: template, active or finished.protected WFVersion
Only templates: version information.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getAcl()
AclItem[]
AclItem[]
int
int
getFlags()
getGuid()
int
getId()
int
getName()
WFNode[]
getNodes()
getObjId()
int
int
int
int
getPrio()
int
int
int
getType()
boolean
boolean
isHidden()
boolean
void
setAccess
(int access) void
void
setAclItems
(AclItem[] aclItems) void
setActiveAcl
(String activeAcl) void
setActiveAclItems
(AclItem[] activeAclItems) void
setCallNodeId
(int callNodeId) void
setCompletionDateIso
(String completionDateIso) void
setDeleted
(boolean deleted) void
setFlags
(int flags) void
void
setHidden
(boolean hidden) void
setId
(int id) void
setLockId
(int lockId) void
setLockName
(String lockName) void
setMatrix
(WFNodeMatrix matrix) void
void
setNameTranslationKey
(String nameTranslationKey) void
void
void
setObjName
(String objName) void
setObjType
(int objType) void
setOverTimeLimit
(boolean overTimeLimit) void
setOwnerId
(int ownerId) void
setOwnerName
(String ownerName) void
setPackageName
(String packageName) void
setParentFlowId
(int parentFlowId) void
setPrio
(int prio) void
setProcessOnServerId
(String processOnServerId) void
setStartDateIso
(String startDateIso) void
setSubWorkflows
(Map<Integer, WFDiagram> subWorkflows) void
setTemplateId
(int templateId) void
setTemplateName
(String templateName) void
setTimeLimit
(int timeLimit) void
setTimeLimitEscalations
(WFTimeLimit[] timeLimitEscalation) void
setTimeLimitIso
(String timeLimitIso) void
setTimeLimitUserId
(int timeLimitUserId) void
setTimeLimitUserName
(String timeLimitUserName) void
void
setTStampSync
(String TStampSync) void
void
toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
acl
Access control list in the internal format. It defines who is able to edit the workflow. This member is only valid for workflow templates. -
aclItems
Access control list in a more convenient format than member acl. It defines who is able to edit the workflow. This member is only valid for workflow templates. -
activeAcl
Access control list in the internal format. It defines who is able to edit the workflow. This member is only valid for active workflows.- Since:
- 11.00.000.023
-
activeAclItems
Access control list in a more convenient format than member acl. It defines who is able to edit the workflow. This member is only valid for active workflows- Since:
- 11.00.000.023
-
completionDateIso
Date of completion in ISO format. -
deleted
protected boolean deletedFlag that indicates whether the workflow template is deleted. Only valid for template workflows. -
id
protected int idWorkflow ID. -
lockId
protected int lockIdThe ID of the user who has currently locked the workflow. -
lockName
The name of the user who has currently locked the workflow. -
matrix
Node matrix. -
name
Workflow name. -
nodes
Array of nodes. -
objId
ID or GUID of the associated folder or document object. checkoutWorkFlow will always return the numeric object ID in this field. checkinWorkFlow is able to receive a GUID too. -
objType
protected int objTypeSord type of the associated folder or document. -
ownerId
protected int ownerIdID of the user who has started the workflow. -
ownerName
Name of the user who has started the workflow. -
prio
protected int prioWorkflow priortiy: 0...high, 1...medium, 2...low. -
startDateIso
Date of start in ISO format. -
templateId
protected int templateIdThe workflow was started based on this workflow template. This member is only valid for active and finished workflows.- See Also:
-
templateName
The workflow was started based on the workflow template with this name. This member is only valid for active and finished workflows.- See Also:
-
timeLimit
protected int timeLimitTime-limit for the entire workflow in minutes.- See Also:
-
timeLimitIso
The entire workflow should be finished by this date. Otherwise the time-limit is exceeded. This member is only valid for active and finished workflows. Read-only.- See Also:
-
timeLimitUserId
protected int timeLimitUserIdThe ID of the user that should be informed,if the time-limit for the workflow is exceeded. The Indexserver does not send any notification to the user. The client application is responsible for doing this.- See Also:
-
timeLimitUserName
The name of the user that should be informed, if the time-limit is exceeded. When writing a workflow with checkinWorkFlow, this value has preceedence before timeLimitUserId. Set timeLimitUserName to an empty string, if timeLimitUserId should be used. -
type
Typeof template: template, active or finished. -
overTimeLimit
protected boolean overTimeLimitTrue, if the workflow exceeds the time limit. Read-only.- Since:
- 6.00.096
-
flags
protected int flagsFlags of the begin node. This value is a combination of the node flags suitable to begin nodes, e. g. WFNodeC.FLAG_WORKINGDAYS. To ensure compatibility with older client programs, the WFNode.flags of the start node are or-ed with the WFDiagram.flags.- Since:
- 6.00.098
- See Also:
-
access
protected int accessAccess rights to the workflow template for the current user. A combination of LUR_* constants. Read-only.- Since:
- 7.00.000.007
- See Also:
-
version
Only templates: version information.- Since:
- 7.00.000.008
- See Also:
-
guid
GUID- Since:
- 7.00.000.010
-
tStamp
TStamp- Since:
- 7.00.000.010
-
processOnServerId
This value determines on which replication server a workflow is allowed to be continued. If not empty, the workflow can only be modified and continued on this server (resp. replication branch). Value must match to an existingReplSetName.name
in the replication configuration. The current local replication server id is specified inServerInfo.replProcessOnServerId
. This member is only valid for ACTIVE or FINISHED workflows and is set automatically by the Indexserver. It can be changed within workflows withWFNodeC.TYPE_SET_SERVER_ID
nodes. -
timeLimitEscalations
Additional definitions for time limits.- Since:
- 7.00.000.016
- See Also:
-
objName
Sord name. Readonly.- Since:
- 7.00.026.003
-
TStampSync
Timestamp of this object's last export by the replication.- Since:
- 9.99.009.001
-
nameTranslationKey
Translation-keyword forname
.- Since:
- 9.00.018.005
-
parentFlowId
protected int parentFlowIdID of the parent workflow.- Since:
- 9.00.030.022
-
callNodeId
protected int callNodeIdThe call node id of the main workflow, which call this sub workflow.- Since:
- 10.00.000.004
-
subWorkflows
Sub workflows.- Since:
- 9.00.030.022
-
packageName
Package name of WFDiagram- Since:
- 20.00.000.009
-
-
Constructor Details
-
WFDiagram
public WFDiagram() -
WFDiagram
-
-
Method Details
-
getActiveAcl
-
setActiveAcl
-
getActiveAclItems
-
setActiveAclItems
-
getAcl
-
setAcl
-
getAclItems
-
setAclItems
-
getCompletionDateIso
-
setCompletionDateIso
-
isDeleted
public boolean isDeleted() -
isOverTimeLimit
public boolean isOverTimeLimit() -
setOverTimeLimit
public void setOverTimeLimit(boolean overTimeLimit) -
setDeleted
public void setDeleted(boolean deleted) -
getId
public int getId() -
setId
public void setId(int id) -
getLockId
public int getLockId() -
setLockId
public void setLockId(int lockId) -
getLockName
-
setLockName
-
getMatrix
-
setMatrix
-
getName
-
setName
-
getNodes
-
setNodes
-
getObjId
-
setObjId
-
getObjType
public int getObjType() -
setObjType
public void setObjType(int objType) -
getOwnerId
public int getOwnerId() -
setOwnerId
public void setOwnerId(int ownerId) -
getOwnerName
-
setOwnerName
-
getPrio
public int getPrio() -
setPrio
public void setPrio(int prio) -
getStartDateIso
-
setStartDateIso
-
getTemplateId
public int getTemplateId() -
setTemplateId
public void setTemplateId(int templateId) -
getTemplateName
-
setTemplateName
-
getTimeLimit
public int getTimeLimit() -
setTimeLimit
public void setTimeLimit(int timeLimit) -
getTimeLimitIso
-
setTimeLimitIso
-
getTimeLimitUserId
public int getTimeLimitUserId() -
setTimeLimitUserId
public void setTimeLimitUserId(int timeLimitUserId) -
getTimeLimitUserName
-
setTimeLimitUserName
-
getType
-
setType
-
getFlags
public int getFlags() -
setFlags
public void setFlags(int flags) -
getAccess
public int getAccess() -
setAccess
public void setAccess(int access) -
getVersion
-
setVersion
-
getGuid
-
setGuid
-
getTStamp
-
setTStamp
-
getProcessOnServerId
-
setProcessOnServerId
-
getTimeLimitEscalations
-
setTimeLimitEscalations
-
getObjName
-
setObjName
-
getTStampSync
-
setTStampSync
-
getNameTranslationKey
-
setNameTranslationKey
-
isHidden
public boolean isHidden() -
setHidden
public void setHidden(boolean hidden) -
getParentFlowId
public int getParentFlowId() -
setParentFlowId
public void setParentFlowId(int parentFlowId) -
getSubWorkflows
-
setSubWorkflows
-
getCallNodeId
public int getCallNodeId()- Returns:
- the callNodeId
-
setCallNodeId
public void setCallNodeId(int callNodeId) - Parameters:
callNodeId
- the callNodeId to set
-
getPackageName
-
setPackageName
-
toString
-