public interface IContainerStoreService<T>
Modifier and Type | Method and Description |
---|---|
ListResult<java.lang.Long> |
allIds(IdQuery query) |
java.util.List<java.lang.String> |
allUids() |
void |
attach(java.lang.String uid,
java.lang.String displayName,
T value) |
ContainerChangelog |
changelog(java.lang.Long from,
long to) |
ItemChangelog |
changelog(java.lang.String itemUid,
java.lang.Long from,
long to) |
ItemVersion |
create(java.lang.String uid,
java.lang.String extId,
java.lang.String displayName,
T value)
Create item with external ID
|
ItemVersion |
create(java.lang.String uid,
java.lang.String displayName,
T value)
Create item without external ID
|
ItemVersion |
createWithId(java.lang.String uid,
java.lang.Long internalId,
java.lang.String extId,
java.lang.String displayName,
T value)
Create item with external and a given internal ID.
|
ItemVersion |
delete(long id) |
ItemVersion |
delete(java.lang.String uid) |
void |
deleteAll()
delete all values ( changelog is available for deleted values )
|
void |
detach(java.lang.String uid) |
ItemValue<T> |
get(long id,
java.lang.Long version) |
ItemValue<T> |
get(java.lang.String uid,
java.lang.Long version) |
ItemValue<T> |
getByExtId(java.lang.String extId)
Get item by external ID
|
void |
prepareContainerDelete()
delete all values.
|
long |
setExtId(java.lang.String uid,
java.lang.String extId) |
void |
touch(java.lang.String uid) |
ItemVersion |
update(long id,
java.lang.String displayName,
T value) |
ItemVersion |
update(java.lang.String uid,
java.lang.String displayName,
T value) |
void |
xfer(javax.sql.DataSource targetDataSource,
Container targetContainer,
IItemValueStore<T> targetItemValueStore) |
ContainerChangelog changelog(java.lang.Long from, long to)
ItemChangelog changelog(java.lang.String itemUid, java.lang.Long from, long to)
ItemValue<T> getByExtId(java.lang.String extId)
extId
- ServerFault
ItemVersion create(java.lang.String uid, java.lang.String displayName, T value)
uid
- displayName
- value
- ServerFault
void attach(java.lang.String uid, java.lang.String displayName, T value)
ItemVersion create(java.lang.String uid, java.lang.String extId, java.lang.String displayName, T value)
uid
- extId
- displayName
- value
- ServerFault
ItemVersion createWithId(java.lang.String uid, java.lang.Long internalId, java.lang.String extId, java.lang.String displayName, T value)
uid
- internalId
- extId
- displayName
- value
- ServerFault
ItemVersion update(java.lang.String uid, java.lang.String displayName, T value)
ItemVersion update(long id, java.lang.String displayName, T value)
ItemVersion delete(java.lang.String uid)
uid
- ServerFault
ItemVersion delete(long id)
id
- ServerFault
void detach(java.lang.String uid)
void deleteAll()
ServerFault
void touch(java.lang.String uid)
java.util.List<java.lang.String> allUids()
ListResult<java.lang.Long> allIds(IdQuery query)
void prepareContainerDelete()
ServerFault
long setExtId(java.lang.String uid, java.lang.String extId)
void xfer(javax.sql.DataSource targetDataSource, Container targetContainer, IItemValueStore<T> targetItemValueStore)
Copyright © 2021. All Rights Reserved.