Package com.vaadin.flow.data.provider
Interface ArrayUpdater.Update
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
HierarchicalArrayUpdater.HierarchicalUpdate
- All Known Implementing Classes:
Grid.UpdateQueue
- Enclosing interface:
- ArrayUpdater
public static interface ArrayUpdater.Update extends Serializable
Array updater strategy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear(int start, int length)
Clearslength
elements in array from thestart
position.void
commit(int updateId)
Commits changes for the givenupdateId
.void
set(int start, List<elemental.json.JsonValue> items)
Sets theitems
at thestart
position.
-
-
-
Method Detail
-
clear
void clear(int start, int length)
Clearslength
elements in array from thestart
position.- Parameters:
start
- the start indexlength
- the number of elements to clear
-
set
void set(int start, List<elemental.json.JsonValue> items)
Sets theitems
at thestart
position.- Parameters:
start
- the start indexitems
- the items to set
-
commit
void commit(int updateId)
Commits changes for the givenupdateId
.- Parameters:
updateId
- the update identifier of the commit
-
-