@Path(value="/db_mailbox_records/{replicatedMailboxUid}") public interface IDbMailboxRecords extends IChangelogSupport, IDataShardSupport, ICountingSupport, ISortingSupport
IMailboxItems
for sync server usage.Modifier and Type | Method and Description |
---|---|
java.util.List<ItemValue<MailboxRecord>> |
all() |
void |
create(java.lang.String uid,
MailboxRecord mail) |
void |
delete(java.lang.String uid) |
void |
deleteAll() |
void |
deleteImapUids(java.util.List<java.lang.Long> uids) |
Stream |
fetchComplete(long imapUid) |
ItemValue<MailboxRecord> |
getComplete(java.lang.String uid) |
ItemValue<MailboxRecord> |
getCompleteById(long id) |
ItemValue<MailboxRecord> |
getCompleteByImapUid(long imapUid) |
java.util.List<ImapBinding> |
havingBodyVersionLowerThan(int version) |
java.util.List<ImapBinding> |
imapBindings(java.util.List<java.lang.Long> ids) |
void |
prepareContainerDelete() |
void |
update(java.lang.String uid,
MailboxRecord mail) |
void |
updates(java.util.List<MailboxRecord> records) |
allIds, changeset, changesetById, containerChangelog, filteredChangesetById, getVersion, itemChangelog
xfer
count
sortedIds
@GET @Path(value="{uid}/complete") ItemValue<MailboxRecord> getComplete(@PathParam(value="uid") java.lang.String uid)
@GET @Path(value="{id}/completeById") ItemValue<MailboxRecord> getCompleteById(@PathParam(value="id") long id)
@GET @Path(value="{imapUid}/completeByImapUid") ItemValue<MailboxRecord> getCompleteByImapUid(@PathParam(value="imapUid") long imapUid)
@POST @Path(value="_imapBindings") java.util.List<ImapBinding> imapBindings(java.util.List<java.lang.Long> ids)
@GET @Path(value="_all") java.util.List<ItemValue<MailboxRecord>> all()
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, MailboxRecord mail)
@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, MailboxRecord mail)
@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid)
@POST @Path(value="_updates") void updates(java.util.List<MailboxRecord> records)
@DELETE @Path(value="_deleteImapUids") void deleteImapUids(java.util.List<java.lang.Long> uids)
@DELETE @Path(value="_deleteAll") void deleteAll()
@DELETE @Path(value="_prepareContainerDelete") void prepareContainerDelete()
@GET @Path(value="eml/{imapUid}") @Produces(value="message/rfc822") Stream fetchComplete(@PathParam(value="imapUid") long imapUid)
@GET @Path(value="body/version/lowerthan/{version}") java.util.List<ImapBinding> havingBodyVersionLowerThan(@PathParam(value="version") int version)
MailboxRecord
for which the corresponding
MessageBody
has a MessageBody.bodyVersion
lower than
version
Copyright © 2021. All Rights Reserved.