public interface TableViewEntitySelection extends TableEntitySelection
Modifier and Type | Method and Description |
---|---|
Request |
getAllRecords()
Returns records from the current table depending on the selection type:
For an association selection
returns all records for the association from the selected table,
For other cases returns all records from the selected table.
|
List<SchemaNode> |
getDisplayedColumns()
Returns the list of columns that are currently displayed by
the tabular view.
|
Request |
getFilteredRecords()
Returns the request corresponding to the current view in the
EBX® user interface, including the filters and sort
criteria set on the view.
|
Request |
getSelectedRecords()
Returns the request over the records currently selected in
EBX® user interface.
|
getTable
getDataset
getDataspace
Request getAllRecords()
Note: Record-level permission rules may remove some records from the request.
Request getFilteredRecords()
null
.
Note: When filtering is not available, the request will be the same as
getAllRecords()
. There is currently a limitation when displaying/executing a service
from an intermediate level in a hierarchy, in such a case the request will also be the same as
getAllRecords()
.
Warning: In the context of a table view with a very complex filter, executing the returned request can be very slow.
Request getSelectedRecords()
If no records are selected, the returned request will have an empty
result. Never returns null
.
Note:
ServicePermissionRule
is called
to determine if the service must be displayed
in a table view, the returned request will have an empty result (even if some records are selected).
This is because the selected records can be modified by the user without calling the rule.Warning: In the context of a table view with a very complex filter, executing the returned request can be very slow.
List<SchemaNode> getDisplayedColumns()
null
when the column list is not
available, for example when EBX® user interface is
displaying a hierarchical view or a form.