Class ResultMatrix.ResultMatrixBackEndAction
- Object
-
- ResultMatrixBackEndAction
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ResultMatrix
public static class ResultMatrix.ResultMatrixBackEndAction extends Object implements Serializable
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 providedid 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.
SeeResultMatrix.rowSelectionBackEndAction(String)
to find out how to create an instance ofResultMatrixBackEndAction
.- Since:
- 7.0 Bijou
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultMatrix.ResultMatrixBackEndAction
addColumn(String name)
ResultMatrix.ResultMatrixBackEndAction
addFormulaInput(String name, Object value)
ResultMatrix.ResultMatrixBackEndAction
withButtonLabel(String label)
ResultMatrix.ResultMatrixBackEndAction
withButtonTooltip(String tooltip)
ResultMatrix.ResultMatrixBackEndAction
withColumns(String... names)
ResultMatrix.ResultMatrixBackEndAction
withFailureMessage(String text)
ResultMatrix.ResultMatrixBackEndAction
withLogicName(String name)
ResultMatrix.ResultMatrixBackEndAction
withSuccessMessage(String text)
ResultMatrix.ResultMatrixBackEndAction
withTargetDate(Date date)
-
-
-
Method Detail
-
withLogicName
public ResultMatrix.ResultMatrixBackEndAction withLogicName(String name)
- Parameters:
name
- the logic to execute- Since:
- 7.0 Bijou
-
withTargetDate
public ResultMatrix.ResultMatrixBackEndAction withTargetDate(Date date)
- Parameters:
date
- optional targetDate in case there are multiple active versions with the same name- Since:
- 7.0 Bijou
-
withColumns
public ResultMatrix.ResultMatrixBackEndAction withColumns(String... names)
- 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
public ResultMatrix.ResultMatrixBackEndAction addColumn(String name)
- Parameters:
name
- name to add in the list of columns that will be passed asInputMatrix
to the logic- Since:
- 7.0 Bijou
-
addFormulaInput
public ResultMatrix.ResultMatrixBackEndAction addFormulaInput(String name, Object value)
- 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
public ResultMatrix.ResultMatrixBackEndAction withButtonLabel(String label)
- Parameters:
label
- the label of the action button- Since:
- 7.0 Bijou
-
withButtonTooltip
public ResultMatrix.ResultMatrixBackEndAction withButtonTooltip(String tooltip)
- Parameters:
tooltip
- optional hover message for additional info about the action- Since:
- 7.0 Bijou
-
withSuccessMessage
public ResultMatrix.ResultMatrixBackEndAction withSuccessMessage(String text)
- Parameters:
text
- message to display in case of success of the backend call- Since:
- 7.0 Bijou
-
withFailureMessage
public ResultMatrix.ResultMatrixBackEndAction withFailureMessage(String text)
- Parameters:
text
- message to display in case of failure of the backend call- Since:
- 7.0 Bijou
-
-