public class NoopDbReplicatedMailboxesService extends java.lang.Object implements IDbReplicatedMailboxes, IDbByContainerReplicatedMailboxes
Constructor and Description |
---|
NoopDbReplicatedMailboxesService(MailboxReplicaRootDescriptor mailboxRoot,
java.lang.String domainUid) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemValue<MailboxFolder>> |
all() |
java.util.List<ItemValue<MailboxReplica>> |
allReplicas() |
ItemValue<MailboxFolder> |
byName(java.lang.String name) |
ItemValue<MailboxReplica> |
byReplicaName(java.lang.String name) |
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,
MailboxReplica replica) |
void |
delete(java.lang.String uid) |
ContainerChangeset<ItemVersion> |
filteredChangesetById(java.lang.Long since,
ItemFlagFilter filter) |
ItemValue<MailboxFolder> |
getComplete(java.lang.String uid) |
java.util.List<ItemValue<MailboxFolder>> |
getMultipleById(java.util.List<java.lang.Long> ids) |
long |
getVersion() |
ItemChangelog |
itemChangelog(java.lang.String itemUid,
java.lang.Long since) |
SearchResult |
searchItems(MailboxFolderSearchQuery query) |
void |
update(java.lang.String uid,
MailboxReplica replica) |
void |
xfer(java.lang.String serverUid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allIds
public NoopDbReplicatedMailboxesService(MailboxReplicaRootDescriptor mailboxRoot, java.lang.String domainUid)
public void xfer(java.lang.String serverUid)
xfer
in interface IDataShardSupport
public ItemChangelog itemChangelog(java.lang.String itemUid, java.lang.Long since)
itemChangelog
in interface IChangelogSupport
ContainerChangelog
public long getVersion()
getVersion
in interface IChangelogSupport
public ContainerChangeset<ItemVersion> filteredChangesetById(java.lang.Long since, ItemFlagFilter filter)
filteredChangesetById
in interface IChangelogSupport
filter
- to exclude some items (eg. deleted items)ContainerChangeset
with internal
numeric ids matching the given filterpublic ContainerChangelog containerChangelog(java.lang.Long since)
containerChangelog
in interface IChangelogSupport
ContainerChangelog
public ContainerChangeset<java.lang.Long> changesetById(java.lang.Long since)
changesetById
in interface IChangelogSupport
ContainerChangeset
with internal
numeric idspublic ContainerChangeset<java.lang.String> changeset(java.lang.Long since)
changeset
in interface IChangelogSupport
ContainerChangeset
public ItemValue<MailboxFolder> getComplete(java.lang.String uid)
getComplete
in interface IBaseMailboxFolders
public ItemValue<MailboxFolder> byName(java.lang.String name)
byName
in interface IBaseMailboxFolders
public java.util.List<ItemValue<MailboxFolder>> all()
all
in interface IBaseMailboxFolders
public java.util.List<ItemValue<MailboxFolder>> getMultipleById(java.util.List<java.lang.Long> ids)
getMultipleById
in interface IBaseMailboxFolders
public void update(java.lang.String uid, MailboxReplica replica)
update
in interface IDbReplicatedMailboxes
public void delete(java.lang.String uid)
delete
in interface IDbReplicatedMailboxes
public void create(java.lang.String uid, MailboxReplica replica)
create
in interface IDbReplicatedMailboxes
public ItemValue<MailboxReplica> byReplicaName(java.lang.String name)
byReplicaName
in interface IDbReplicatedMailboxes
public java.util.List<ItemValue<MailboxReplica>> allReplicas()
allReplicas
in interface IDbReplicatedMailboxes
public SearchResult searchItems(MailboxFolderSearchQuery query)
searchItems
in interface IBaseMailboxFolders
Copyright © 2021. All Rights Reserved.