public class InternalContainersHierarchyService extends java.lang.Object implements IInternalContainersFlatHierarchy, IContainersFlatHierarchy
Constructor and Description |
---|
InternalContainersHierarchyService(BmContext context,
javax.sql.DataSource ds,
Container cont,
ContainersHierarchyEventProducer events,
ContainerStoreService<ContainerHierarchyNode> storeService) |
Modifier and Type | Method and Description |
---|---|
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since) |
ContainerChangeset<java.lang.Long> |
changesetById(java.lang.Long since) |
ContainerChangelog |
containerChangelog(java.lang.Long since) |
void |
create(java.lang.String uid,
ContainerHierarchyNode node) |
void |
createWithId(long id,
java.lang.String uid,
ContainerHierarchyNode node) |
void |
delete(java.lang.String uid) |
ContainerChangeset<ItemVersion> |
filteredChangesetById(java.lang.Long since,
ItemFlagFilter filter) |
ItemValue<ContainerHierarchyNode> |
getComplete(java.lang.String uid) |
ItemValue<ContainerHierarchyNode> |
getCompleteById(long id) |
java.util.List<ItemValue<ContainerHierarchyNode>> |
getMultipleById(java.util.List<java.lang.Long> id) |
long |
getVersion() |
ItemChangelog |
itemChangelog(java.lang.String itemUid,
java.lang.Long since) |
java.util.List<ItemValue<ContainerHierarchyNode>> |
list() |
void |
reset() |
void |
update(java.lang.String uid,
ContainerHierarchyNode node) |
void |
xfer(java.lang.String serverUid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allIds
public InternalContainersHierarchyService(BmContext context, javax.sql.DataSource ds, Container cont, ContainersHierarchyEventProducer events, ContainerStoreService<ContainerHierarchyNode> storeService)
public void create(java.lang.String uid, ContainerHierarchyNode node) throws ServerFault
create
in interface IInternalContainersFlatHierarchy
ServerFault
public void createWithId(long id, java.lang.String uid, ContainerHierarchyNode node) throws ServerFault
createWithId
in interface IInternalContainersFlatHierarchy
ServerFault
public void update(java.lang.String uid, ContainerHierarchyNode node) throws ServerFault
update
in interface IInternalContainersFlatHierarchy
ServerFault
public void delete(java.lang.String uid) throws ServerFault
delete
in interface IInternalContainersFlatHierarchy
ServerFault
public ItemChangelog itemChangelog(java.lang.String itemUid, java.lang.Long since) throws ServerFault
itemChangelog
in interface IChangelogSupport
ContainerChangelog
ServerFault
public ContainerChangelog containerChangelog(java.lang.Long since) throws ServerFault
containerChangelog
in interface IChangelogSupport
ContainerChangelog
ServerFault
public ContainerChangeset<java.lang.String> changeset(java.lang.Long since) throws ServerFault
changeset
in interface IChangelogSupport
ContainerChangeset
ServerFault
public ContainerChangeset<java.lang.Long> changesetById(java.lang.Long since) throws ServerFault
changesetById
in interface IChangelogSupport
ContainerChangeset
with internal
numeric idsServerFault
public ContainerChangeset<ItemVersion> filteredChangesetById(java.lang.Long since, ItemFlagFilter filter) throws ServerFault
filteredChangesetById
in interface IChangelogSupport
filter
- to exclude some items (eg. deleted items)ContainerChangeset
with internal
numeric ids matching the given filterServerFault
public long getVersion() throws ServerFault
getVersion
in interface IChangelogSupport
ServerFault
public java.util.List<ItemValue<ContainerHierarchyNode>> list() throws ServerFault
list
in interface IContainersFlatHierarchy
ServerFault
public ItemValue<ContainerHierarchyNode> getComplete(java.lang.String uid)
getComplete
in interface IContainersFlatHierarchy
public void reset()
reset
in interface IInternalContainersFlatHierarchy
public ItemValue<ContainerHierarchyNode> getCompleteById(long id)
getCompleteById
in interface IContainersFlatHierarchy
public java.util.List<ItemValue<ContainerHierarchyNode>> getMultipleById(java.util.List<java.lang.Long> id)
getMultipleById
in interface IContainersFlatHierarchy
public void xfer(java.lang.String serverUid) throws ServerFault
xfer
in interface IDataShardSupport
ServerFault
Copyright © 2021. All Rights Reserved.