Package com.vaadin.flow.data.provider
Interface ArrayUpdater.Update
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
HierarchicalArrayUpdater.HierarchicalUpdate
- 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 voidclear(int start, int length)Clearslengthelements in array from thestartposition.voidcommit(int updateId)Commits changes for the givenupdateId.voidset(int start, List<elemental.json.JsonValue> items)Sets theitemsat thestartposition.
-
-
-
Method Detail
-
clear
void clear(int start, int length)Clearslengthelements in array from thestartposition.- Parameters:
start- the start indexlength- the number of elements to clear
-
set
void set(int start, List<elemental.json.JsonValue> items)Sets theitemsat thestartposition.- 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
-
-