Interface ResultMatrix.BackEndAction
- All Superinterfaces:
Serializable
- Enclosing interface:
ResultMatrix
Object representing a button that handles multi-row actions.
The action will be handled by a dedicated logic, which receives an InputMatrix
parameter
named after the provided id String
and featuring the row values of a subset of the columns.
Note: This is available in Unity UI only. No backporting planned for the Classic UI.
See ResultMatrix.rowSelectionBackEndAction(String)
to find out how to create an instance of
ResultMatrixBackEndAction
.
- Since:
- 7.0 Bijou
-
Method Summary
Modifier and TypeMethodDescriptionaddFormulaInput
(String name, Object value) withButtonLabel
(String label) withButtonTooltip
(String tooltip) withColumns
(String... names) withFailureMessage
(String text) withLogicName
(String name) Specifies the logic that is executed as a BackEndAction logic withinResultMatrix.rowSelectionBackEndAction(String)
.
Note: This method refers to the generic nature of the logic.withOptions
(String paramName, Map<String, Object> paramOptions) withSuccessMessage
(String text) withTargetDate
(Date date)
-
Method Details
-
withLogicName
Specifies the logic that is executed as a BackEndAction logic withinResultMatrix.rowSelectionBackEndAction(String)
.
Note: This method refers to the generic nature of the logic.- Parameters:
name
- the name of the logic to be executed- Since:
- 7.0 Bijou
- See Also:
-
withTargetDate
- Parameters:
date
- optional targetDate in case there are multiple active versions with the same name- Since:
- 7.0 Bijou
-
withColumns
- Parameters:
names
- list of column names that will be passed asInputMatrix
to the logic (replaces any previously set column names)- Since:
- 7.0 Bijou
-
addColumn
- Parameters:
name
- name to add in the list of columns that will be passed asInputMatrix
to the logic- Since:
- 7.0 Bijou
-
addFormulaInput
- Parameters:
name
- name of the input parameter that will be passed to the logicvalue
- value of the input parameter that will be passed to the logic (keep in mind that this value makes a round trip to the front end in JSON format)- Since:
- 7.0 Bijou
-
withButtonLabel
- Parameters:
label
- the label of the action button- Since:
- 7.0 Bijou
-
withButtonTooltip
- Parameters:
tooltip
- optional hover message for additional info about the action- Since:
- 7.0 Bijou
-
withOptions
- Parameters:
paramName
- optional header type that can be listed in the button dropdown menuparamOptions
- optional header type that can be listed in the button dropdown menu- Since:
- 11.1 Paper Plane
-
withSuccessMessage
- Parameters:
text
- message to display in case of success of the backend call- Since:
- 7.0 Bijou
-
withFailureMessage
- Parameters:
text
- message to display in case of failure of the backend call- Since:
- 7.0 Bijou
-