Package io.jmix.flowui.data
Interface EntityItems<E>
- All Superinterfaces:
DataUnit
,EntityDataUnit
- All Known Implementing Classes:
ContainerDataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEvent
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsItem
(E item) void
refresh()
Refreshes the source moving it to theBindingState.ACTIVE
statevoid
setSelectedItem
(E item) Set current item in the source.void
updateItem
(E item) Update an item in the collection if it is already there.Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getState
Methods inherited from interface io.jmix.flowui.data.EntityDataUnit
getEntityMetaClass
-
Method Details
-
setSelectedItem
Set current item in the source.- Parameters:
item
- the item to set
-
containsItem
- Returns:
- true if the underlying collection contains an item with the specified ID
-
updateItem
Update an item in the collection if it is already there. -
refresh
void refresh()Refreshes the source moving it to theBindingState.ACTIVE
state
-