Interface IManagedUiTableAction
-
- All Superinterfaces:
IManagedUiAction,java.io.Serializable
- All Known Implementing Classes:
ManagedUiTableActionDescription
public interface IManagedUiTableAction extends IManagedUiAction
Extension ofIManagedUiActionfor actions assigned with a table output.Every table action can specify table selection mode required for the action to be enabled. If an action requires table rows to be selected than it will contain list of indices of selected rows.
For actions that require single row to be selected it is possible to bind values of selected row's columns with input fields (e.g. useful in edit actions).
- See Also:
ManagedTableActionRowSelectionType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IManagedUiTableActionaddBinding(java.lang.String inputLabel, java.lang.String columnTitle)Adds a binding between input field and table column.java.util.Map<java.lang.String,java.lang.String>getBindings()Returns map of bindings between input fields and table columns.java.util.List<java.lang.Integer>getSelectedRows()Returns list of indices of selected rows (empty if no row was selected).ManagedTableActionRowSelectionTypegetSelectionType()Returns selection type specifying when the action should be enabled.IManagedUiTableActionsetRowSelectionNotRequired()Sets the selection type toManagedTableActionRowSelectionType.NOT_REQUIRED.IManagedUiTableActionsetRowSelectionRequired()Sets the selection type toManagedTableActionRowSelectionType.REQUIRED.IManagedUiTableActionsetRowSelectionRequiredSingle()Sets the selection type toManagedTableActionRowSelectionType.REQUIRED_SINGLE.-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.IManagedUiAction
addInputWidgets, getDescription, getInputValue, getInputWidgetDescriptions, getName, getPerson, setDescription
-
-
-
-
Method Detail
-
getSelectionType
ManagedTableActionRowSelectionType getSelectionType()
Returns selection type specifying when the action should be enabled.
-
setRowSelectionNotRequired
IManagedUiTableAction setRowSelectionNotRequired()
Sets the selection type toManagedTableActionRowSelectionType.NOT_REQUIRED.- Returns:
- this (for method chaining)
-
setRowSelectionRequired
IManagedUiTableAction setRowSelectionRequired()
Sets the selection type toManagedTableActionRowSelectionType.REQUIRED.- Returns:
- this (for method chaining)
-
setRowSelectionRequiredSingle
IManagedUiTableAction setRowSelectionRequiredSingle()
Sets the selection type toManagedTableActionRowSelectionType.REQUIRED_SINGLE.- Returns:
- this (for method chaining)
-
getSelectedRows
java.util.List<java.lang.Integer> getSelectedRows()
Returns list of indices of selected rows (empty if no row was selected).
-
addBinding
IManagedUiTableAction addBinding(java.lang.String inputLabel, java.lang.String columnTitle)
Adds a binding between input field and table column.
-
getBindings
java.util.Map<java.lang.String,java.lang.String> getBindings()
Returns map of bindings between input fields and table columns.
-
-