public interface EditableContentList
Modifier and Type | Interface and Description |
---|---|
static class |
EditableContentList.Handle |
static class |
EditableContentList.Value |
Modifier and Type | Method and Description |
---|---|
Collection<EditableContentList.Handle> |
append(Collection<URI> pItems,
EditableContentList.Handle pHandle)
Appends the items to the handle, this means that additional handles are created.
|
EditableContentList.Value |
getItems()
Retrieves the entire list of items in this version.
|
Version |
getVersion()
Retrieves the version
|
Version |
pin(EditableContentList.Handle pHandle,
int pPosition)
Pins a
EditableContentList.Handle to the given position in the list. |
Collection<EditableContentList.Handle> |
prepend(Collection<URI> pItems)
Prepends the given items to the list.
|
Version |
remove(Collection<EditableContentList.Handle> pHandle)
Remove the given handles and returns the updated version.
|
Version |
unpin(EditableContentList.Handle pHandle)
Unpins a
EditableContentList.Handle from it's current position in the list. |
Collection<EditableContentList.Handle> prepend(Collection<URI> pItems)
pItems
- the items to addPersistentStoreException
- if adding the items failedCollection<EditableContentList.Handle> append(Collection<URI> pItems, EditableContentList.Handle pHandle)
pItems
- the items to appendpHandle
- the handle to append toVersion remove(Collection<EditableContentList.Handle> pHandle)
pHandle
- the handles to removeVersion getVersion()
Version pin(EditableContentList.Handle pHandle, int pPosition)
EditableContentList.Handle
to the given position in the list. When pinned, the item will be detached from the normal
flow of the listpHandle
- the EditableContentList.Handle
to pinpPosition
- Version
of the listVersion unpin(EditableContentList.Handle pHandle)
EditableContentList.Handle
from it's current position in the list. When unpinned, the item will be reattached to the normal
flow of the listpHandle
- the EditableContentList.Handle
to unpinVersion
of the listEditableContentList.Value getItems()
IllegalStateException
- if this version does not match current versionPersistentStoreException
- if loading the items failed© 1998- 2018 Stibo DX