public class InternalOwnerSubscriptionsService extends java.lang.Object implements IInternalOwnerSubscriptions
Constructor and Description |
---|
InternalOwnerSubscriptionsService(BmContext context,
javax.sql.DataSource ds,
Container cont,
OwnerSubscriptionsEventProducer events) |
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,
ContainerSubscriptionModel node) |
void |
createWithId(long id,
java.lang.String uid,
ContainerSubscriptionModel node) |
void |
delete(java.lang.String uid) |
ContainerChangeset<ItemVersion> |
filteredChangesetById(java.lang.Long since,
ItemFlagFilter filter) |
ContainerChangeset<ItemIdentifier> |
fullChangesetById(java.lang.Long since) |
ItemValue<ContainerSubscriptionModel> |
getComplete(java.lang.String uid) |
ItemValue<ContainerSubscriptionModel> |
getCompleteById(long id) |
java.util.List<ItemValue<ContainerSubscriptionModel>> |
getMultiple(java.util.List<java.lang.String> uids) |
java.util.List<ItemValue<ContainerSubscriptionModel>> |
getMultipleById(java.util.List<java.lang.Long> id) |
long |
getVersion() |
ItemChangelog |
itemChangelog(java.lang.String itemUid,
java.lang.Long since) |
java.util.List<ItemValue<ContainerSubscriptionModel>> |
list() |
void |
reset() |
void |
update(java.lang.String uid,
ContainerSubscriptionModel node) |
void |
xfer(java.lang.String serverUid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allIds
public InternalOwnerSubscriptionsService(BmContext context, javax.sql.DataSource ds, Container cont, OwnerSubscriptionsEventProducer events)
public void create(java.lang.String uid, ContainerSubscriptionModel node) throws ServerFault
create
in interface IInternalOwnerSubscriptions
ServerFault
public void createWithId(long id, java.lang.String uid, ContainerSubscriptionModel node) throws ServerFault
createWithId
in interface IInternalOwnerSubscriptions
ServerFault
public void update(java.lang.String uid, ContainerSubscriptionModel node) throws ServerFault
update
in interface IInternalOwnerSubscriptions
ServerFault
public void delete(java.lang.String uid) throws ServerFault
delete
in interface IInternalOwnerSubscriptions
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<ItemIdentifier> fullChangesetById(java.lang.Long since)
fullChangesetById
in interface IOwnerSubscriptions
ContainerChangeset
with
ItemIdentifier
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<ContainerSubscriptionModel>> list() throws ServerFault
list
in interface IOwnerSubscriptions
ServerFault
public ItemValue<ContainerSubscriptionModel> getComplete(java.lang.String uid)
getComplete
in interface IOwnerSubscriptions
public void reset()
reset
in interface IInternalOwnerSubscriptions
public ItemValue<ContainerSubscriptionModel> getCompleteById(long id)
getCompleteById
in interface IOwnerSubscriptions
public java.util.List<ItemValue<ContainerSubscriptionModel>> getMultipleById(java.util.List<java.lang.Long> id)
getMultipleById
in interface IOwnerSubscriptions
public java.util.List<ItemValue<ContainerSubscriptionModel>> getMultiple(java.util.List<java.lang.String> uids)
getMultiple
in interface IOwnerSubscriptions
public void xfer(java.lang.String serverUid) throws ServerFault
xfer
in interface IDataShardSupport
ServerFault
Copyright © 2021. All Rights Reserved.