public class BaseReplicatedMailboxesService extends java.lang.Object implements IBaseMailboxFolders
Modifier and Type | Field and Description |
---|---|
protected Container |
container |
protected BmContext |
context |
protected ContainerStore |
contStore |
protected java.lang.String |
dataLocation |
protected RBACManager |
rbac |
protected MailboxReplicaStore |
replicaStore |
protected MailboxReplicaRootDescriptor |
root |
protected ContainerStoreService<MailboxReplica> |
storeService |
Constructor and Description |
---|
BaseReplicatedMailboxesService(MailboxReplicaRootDescriptor root,
Container cont,
BmContext context,
MailboxReplicaStore store,
ContainerStoreService<MailboxReplica> mboxReplicaStore,
ContainerStore contStore) |
Modifier and Type | Method and Description |
---|---|
protected ItemValue<MailboxFolder> |
adapt(ItemValue<MailboxReplica> rec) |
java.util.List<ItemValue<MailboxFolder>> |
all() |
ItemValue<MailboxFolder> |
byName(java.lang.String name) |
protected 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) |
protected java.lang.String |
decodeIfUTF7(java.lang.String s) |
ContainerChangeset<ItemVersion> |
filteredChangesetById(java.lang.Long since,
ItemFlagFilter filter) |
ItemValue<MailboxFolder> |
getComplete(java.lang.String uid) |
protected ItemValue<MailboxReplica> |
getCompleteReplica(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) |
protected void |
sanitizeNames(MailboxFolder replica) |
SearchResult |
searchItems(MailboxFolderSearchQuery query) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allIds
protected final BmContext context
protected final MailboxReplicaStore replicaStore
protected final ContainerStoreService<MailboxReplica> storeService
protected final ContainerStore contStore
protected final Container container
protected final MailboxReplicaRootDescriptor root
protected final java.lang.String dataLocation
protected final RBACManager rbac
public BaseReplicatedMailboxesService(MailboxReplicaRootDescriptor root, Container cont, BmContext context, MailboxReplicaStore store, ContainerStoreService<MailboxReplica> mboxReplicaStore, ContainerStore contStore)
protected ItemValue<MailboxFolder> adapt(ItemValue<MailboxReplica> rec)
protected void sanitizeNames(MailboxFolder replica)
protected java.lang.String decodeIfUTF7(java.lang.String s)
protected ItemValue<MailboxReplica> byReplicaName(java.lang.String name)
public ItemValue<MailboxFolder> byName(java.lang.String name)
byName
in interface IBaseMailboxFolders
public ItemValue<MailboxFolder> getComplete(java.lang.String uid)
getComplete
in interface IBaseMailboxFolders
protected ItemValue<MailboxReplica> getCompleteReplica(java.lang.String uid)
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 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 SearchResult searchItems(MailboxFolderSearchQuery query)
searchItems
in interface IBaseMailboxFolders
Copyright © 2021. All Rights Reserved.