ListOperation |
ListOperation.ifEmpty() |
Adds a condition that requires the list to be empty.
|
ListOperation |
ListOperation.ifFirst(ListKey key) |
Adds a condition that requires the specified key to be the
first in the list.
|
ListOperation |
ListOperation.ifLast(ListKey key) |
Adds a condition that requires the specified key to be the
last in the list.
|
ListOperation |
ListOperation.ifNext(ListKey key,
ListKey nextKey) |
Adds a condition that requires the specified nextKey to be
right after the specified key when the operation is applied.
|
ListOperation |
ListOperation.ifNotEmpty() |
Adds a condition that requires the list not to be empty.
|
ListOperation |
ListOperation.ifPrev(ListKey key,
ListKey prevKey) |
Adds a condition that requires the specified prevKey to be
right before the specified key when the operation is
applied.
|
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.
|
ListOperation |
ListOperation.withScope(EntryScope scope) |
Sets the scope of the item affected by this operation.
|