static ListOperation |
ListOperation.delete(ListKey key) |
Creates a list operation to delete the value at the position specified by
the given key.
|
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.
|
ListOperation |
ListOperation.ifValue(ListKey key,
Object value) |
Add a condition that requires the specified key to have the
specified value.
|
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 |
ListOperation.moveAfter(ListKey after,
ListKey entry) |
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 |
ListOperation.set(ListKey key,
Object value) |
Creates a list operation to set the given value at the position specified
by the given key.
|
ListOperation |
ListOperation.withScope(EntryScope scope) |
Sets the scope of the item affected by this operation.
|