|
DOCUMENTS 5 - PortalScripting API
|
The ControlFlow class has been added to the DOCUMENTS PortalScripting API to gain full control over a file's workflow by scripting means. More...
Public Member Functions | |
| String | getAttribute (String attribute) |
| Get the String value of an attribute of the ControlFlow. More... | |
| String | getLastError () |
| Function to get the description of the last error that occurred. More... | |
| boolean | setAttribute (String attribute, String value) |
| Set the String value of an attribute of the ControlFlow to the desired value. More... | |
Public Attributes | |
| String | id |
| String value containing the unique internal ID of the ControlFlow. More... | |
| String | label |
| String value containing the ergonomic label of the ControlFlow. More... | |
| String | name |
| String value containing the technical name of the ControlFlow. More... | |
The ControlFlow class has been added to the DOCUMENTS PortalScripting API to gain full control over a file's workflow by scripting means.
You may access ControlFlow objects of a certain WorkflowStep by the different methods described in the WorkflowStep chapter. The objects of this class reflect only outgoing control flows of a WorkflowStep object.
| String ControlFlow::getAttribute | ( | String | attribute | ) |
Get the String value of an attribute of the ControlFlow.
| attribute | String containing the name of the desired attribute |
| String ControlFlow::getLastError | ( | ) |
Function to get the description of the last error that occurred.
| boolean ControlFlow::setAttribute | ( | String | attribute, |
| String | value | ||
| ) |
Set the String value of an attribute of the ControlFlow to the desired value.
| attribute | String containing the name of the desired attribute |
| value | String containing the desired value of the attribute |
true if successful, false in case of any error | String ControlFlow::id |
String value containing the unique internal ID of the ControlFlow.
| String ControlFlow::label |
String value containing the ergonomic label of the ControlFlow.
This is usually the label of the according button in the web surface.
| String ControlFlow::name |
String value containing the technical name of the ControlFlow.