Uses of Class
com.vaadin.collaborationengine.ListOperation
-
Uses of ListOperation in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine that return ListOperationModifier and TypeMethodDescriptionstatic ListOperation
Creates a list operation to delete the value at the position specified by the given key.
ListOperation.ifEmpty()
Adds a condition that requires the list to be empty.
Adds a condition that requires the specified
key
to be the first in the list.Adds a condition that requires the specified
key
to be the last in the list.Adds a condition that requires the specified
nextKey
to be right after the specifiedkey
when the operation is applied.ListOperation.ifNotEmpty()
Adds a condition that requires the list not to be empty.
Adds a condition that requires the specified
prevKey
to be right before the specifiedkey
when the operation is applied.Add a condition that requires the specified
key
to have the specifiedvalue
.static ListOperation
ListOperation.insertAfter
(ListKey after, Object value) Creates a list operation to insert the given value just after the position specified by the given key.
static ListOperation
ListOperation.insertBefore
(ListKey before, Object value) Creates a list operation to insert the given value just before the position specified by the given key.
static ListOperation
ListOperation.insertBetween
(ListKey prev, ListKey next, Object value) Creates a list operation to insert the given value between the positions specified by the given keys.
static ListOperation
ListOperation.insertFirst
(Object value) Creates a list operation to insert the given value as the first item of the list.
static ListOperation
ListOperation.insertLast
(Object value) Creates a list operation to insert the given value as the last item of the list.
static ListOperation
Creates a list operation to move the given entry to just after the position specified by the given key.
static ListOperation
ListOperation.moveBefore
(ListKey before, ListKey entry) Creates a list operation to move the given entry to just before the position specified by the given key.
static ListOperation
ListOperation.moveBetween
(ListKey prev, ListKey next, ListKey entry) Creates a list operation to move the given entry between the positions specified by the given keys.
static ListOperation
Creates a list operation to set the given value at the position specified by the given key.
ListOperation.withScope
(EntryScope scope) Sets the scope of the item affected by this operation.
Methods in com.vaadin.collaborationengine with parameters of type ListOperationModifier and TypeMethodDescriptionCollaborationList.apply
(ListOperation operation) Performs the given list operation.