Package de.elo.ix.client
Class StartAdHocWorkflowInfo
java.lang.Object
de.elo.ix.client.StartAdHocWorkflowInfo
- All Implemented Interfaces:
Serializable
This class contains several options that are used to start the AdHocWorkflow
- Since:
- 9.00.000.038
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
This message is shown if the workflow is accepted by a person.protected String
This message is shown if the workflow is rejected.protected String
This message is send to the user who started the workflow if the workflow is canceled.protected String
The message that is send to the user specified withcancelUserId
, if the workflow is canceled.protected String
If the workflow is canceled, this user receives a message,cancelMessage
.protected boolean
If true, all person nodes are deactivated when the workflow is canceled.protected String
The message that is send to the user specified withfinishedUserId
, if the workflow is finished.protected String
This script is executed, when the workflow is finished.protected String
If the workflow is finished, this user receives a message,finishedMessage
.protected int
Control flags for the node, a combination of WFNode.C.FLAG_* constants.protected boolean
If true, the workflow comes back to the user who started it.protected List<ValueClass>
The information of all nodes in the workflow.protected String
Start node name.protected String
This message is shown if the a person was informed about the workflow.protected boolean
If true, the workflow routes the object from user to user.protected String
This message is shown if the workflow is successfully processed.protected WFTimeLimit
Time-limit for the entire workflow.protected WFTimeLimit[]
Additional definitions for time limits.protected String[]
The list of the person nodes to be deactivated when the workflow is canceled.protected String
This message is send to the user who started the workflow if the workflow is repeated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getFlags()
String[]
boolean
boolean
boolean
void
setAcceptMessage
(String acceptMessage) void
setActionRejectMessage
(String actionRejectMessage) void
setBreakWorkflowMessage
(String breakWorkflowMessage) void
setCancelMessage
(String cancelMessage) void
setCancelUserId
(String cancelUserId) void
setDeactivateNodes
(boolean deactivateNodes) void
setFinishedMessage
(String finishedMessage) void
setFinishedScript
(String finishedScript) void
setFinishedUserId
(String finishedUserId) void
setFlags
(int flags) void
setForValidation
(boolean forValidation) void
setNodeInfos
(List<ValueClass> nodeInfos) void
setNodeName
(String nodeName) void
setNoticeMessage
(String noticeMessage) void
setSerialFlow
(boolean serialFlow) void
setSuccessMessage
(String successMessage) void
setTimeLimit
(WFTimeLimit timeLimit) void
setTimeLimitEscalations
(WFTimeLimit[] timeLimitEscalation) void
setUserIdsToDeactivate
(String[] userIdsToDeactivate) void
setWorkflowRepeatMessage
(String workflowRepeatMessage) toString()
-
Field Details
-
forValidation
protected boolean forValidationIf true, the workflow comes back to the user who started it. -
serialFlow
protected boolean serialFlowIf true, the workflow routes the object from user to user. The workflow finishes when the last user has edited their node. IfserialFlow
is false, the workflow routes the object to all users. The first user who edits their node terminates the workflow. -
cancelUserId
If the workflow is canceled, this user receives a message,cancelMessage
. -
cancelMessage
The message that is send to the user specified withcancelUserId
, if the workflow is canceled. -
finishedUserId
If the workflow is finished, this user receives a message,finishedMessage
. -
finishedMessage
The message that is send to the user specified withfinishedUserId
, if the workflow is finished. -
finishedScript
This script is executed, when the workflow is finished. -
nodeName
Start node name. -
workflowRepeatMessage
This message is send to the user who started the workflow if the workflow is repeated. -
breakWorkflowMessage
This message is send to the user who started the workflow if the workflow is canceled. -
userIdsToDeactivate
The list of the person nodes to be deactivated when the workflow is canceled. This option is only used for "parallel for validation" workflow. Otherwise this option is ignored.- Since:
- 9.00.012.004
-
deactivateNodes
protected boolean deactivateNodesIf true, all person nodes are deactivated when the workflow is canceled. This option is only used for "parallel for validation" workflow. Otherwise this option is ignored.- Since:
- 9.00.012.004
-
acceptMessage
This message is shown if the workflow is accepted by a person.- Since:
- 9.00.012.006
-
noticeMessage
This message is shown if the a person was informed about the workflow.- Since:
- 9.00.012.006
-
actionRejectMessage
This message is shown if the workflow is rejected.- Since:
- 9.00.014.006
-
successMessage
This message is shown if the workflow is successfully processed.- Since:
- 9.00.014.006
-
timeLimit
Time-limit for the entire workflow.- Since:
- 9.00.016.009
- See Also:
-
timeLimitEscalations
Additional definitions for time limits.- Since:
- 9.00.016.009
- See Also:
-
flags
protected int flagsControl flags for the node, a combination of WFNode.C.FLAG_* constants.- Since:
- 9.00.016.013
-
nodeInfos
The information of all nodes in the workflow.- Since:
- 10.00.000.008
-
-
Constructor Details
-
StartAdHocWorkflowInfo
public StartAdHocWorkflowInfo() -
StartAdHocWorkflowInfo
-
-
Method Details
-
isForValidation
public boolean isForValidation() -
setForValidation
public void setForValidation(boolean forValidation) -
isSerialFlow
public boolean isSerialFlow() -
setSerialFlow
public void setSerialFlow(boolean serialFlow) -
getCancelUserId
-
setCancelUserId
-
getCancelMessage
-
setCancelMessage
-
getFinishedUserId
-
setFinishedUserId
-
getFinishedMessage
-
setFinishedMessage
-
getFinishedScript
-
setFinishedScript
-
getNodeName
-
setNodeName
-
getWorkflowRepeatMessage
-
setWorkflowRepeatMessage
-
getBreakWorkflowMessage
-
setBreakWorkflowMessage
-
getUserIdsToDeactivate
-
setUserIdsToDeactivate
-
isDeactivateNodes
public boolean isDeactivateNodes() -
setDeactivateNodes
public void setDeactivateNodes(boolean deactivateNodes) -
getAcceptMessage
-
setAcceptMessage
-
getNoticeMessage
-
setNoticeMessage
-
getActionRejectMessage
-
setActionRejectMessage
-
getSuccessMessage
-
setSuccessMessage
-
getTimeLimit
-
setTimeLimit
-
getTimeLimitEscalations
-
setTimeLimitEscalations
-
getFlags
public int getFlags() -
setFlags
public void setFlags(int flags) -
getNodeInfos
-
setNodeInfos
-
toString
-