Interface IFD2StatusProvider
- 
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 DefaultFD2StatusProvider
public interface IFD2StatusProvider extends Serializable
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.alibaba.fastjson.JSONArraycreateStatusJSON(long workflowVersionNumber)com.alibaba.fastjson.JSONArraycreateStatusList(long workflowVersionNumber) 
 - 
 
- 
- 
Method Detail
- 
createStatusList
com.alibaba.fastjson.JSONArray createStatusList(long workflowVersionNumber)
- Parameters:
 workflowVersionNumber- The version number of the workflow version containing the states. Ignored when the project uses the old workflow.- Returns:
 - A JSON array of all states for the current project. Contains 
JSONObjects with the following key-value pairs:- id: The ID (number) of the state.
 - name: The given name (string) of the state.
 
 
 
- 
createStatusJSON
com.alibaba.fastjson.JSONArray createStatusJSON(long workflowVersionNumber)
- Parameters:
 workflowVersionNumber- The version number of the workflow version containing the states. Ignored when the project uses the old workflow.- Returns:
 - A JSON array containing information regarding the conditions available to show form elements depending on
 the current state of the form. Contains 
JSONObjects with the following key-value pairs:- id: ID of the state-based condition, eg. 
-1or[!]-1orstatus-effab301-1856816569or[!]status-effab301-1856816569 - name: A textual and localized description of the state-based condition, eg. 
not in state Receivedorform has not status. 
 - id: ID of the state-based condition, eg. 
 
 
 - 
 
 -