Package net.bluemind.backend.mail.api
Interface IMailboxItemsAsync
public interface IMailboxItemsAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFlag
(FlagUpdate flagUpdate, AsyncHandler<Ack> handler) void
allIds
(String filter, Long knownContainerVersion, Integer limit, Integer offset, AsyncHandler<ListResult<Long>> handler) void
changeset
(Long since, AsyncHandler<ContainerChangeset<String>> handler) void
changesetById
(Long since, AsyncHandler<ContainerChangeset<Long>> handler) void
count
(ItemFlagFilter arg0, AsyncHandler<Count> handler) void
create
(MailboxItem value, AsyncHandler<ImapItemIdentifier> handler) void
createById
(long id, MailboxItem arg1, AsyncHandler<Ack> handler) void
deleteById
(long id, AsyncHandler<Void> handler) void
deleteFlag
(FlagUpdate flagUpdate, AsyncHandler<Ack> handler) void
expunge
(AsyncHandler<Void> handler) void
fetch
(long imapUid, String address, String encoding, String mime, String charset, String filename, AsyncHandler<Stream> handler) void
fetchComplete
(long imapUid, AsyncHandler<Stream> handler) void
filteredChangesetById
(Long since, ItemFlagFilter arg1, AsyncHandler<ContainerChangeset<ItemVersion>> handler) void
getCompleteById
(long id, AsyncHandler<ItemValue<MailboxItem>> handler) void
getForUpdate
(long id, AsyncHandler<ItemValue<MailboxItem>> handler) void
getVersion
(AsyncHandler<Long> handler) void
itemChangelog
(String uid, Long arg1, AsyncHandler<ItemChangelog> handler) void
multipleDeleteById
(List<Long> arg0, AsyncHandler<Void> handler) void
multipleGetById
(List<Long> arg0, AsyncHandler<List<ItemValue<MailboxItem>>> handler) void
multipleUnexpungeById
(List<Long> itemIds, AsyncHandler<List<ItemIdentifier>> handler) void
recentItems
(Date deliveredOrUpdatedAfter, AsyncHandler<List<Long>> handler) void
removePart
(String partId, AsyncHandler<Void> handler) void
sortedIds
(SortDescriptor arg0, AsyncHandler<List<Long>> handler) void
unexpunge
(long itemId, AsyncHandler<ItemIdentifier> handler) void
unreadItems
(AsyncHandler<List<Long>> handler) void
updateById
(long id, MailboxItem arg1, AsyncHandler<Ack> handler) void
uploadPart
(Stream part, AsyncHandler<String> handler)
-
Method Details
-
addFlag
-
allIds
void allIds(String filter, Long knownContainerVersion, Integer limit, Integer offset, AsyncHandler<ListResult<Long>> handler) -
changeset
-
changesetById
-
count
-
create
-
createById
-
deleteById
-
deleteFlag
-
expunge
-
fetch
-
fetchComplete
-
filteredChangesetById
void filteredChangesetById(Long since, ItemFlagFilter arg1, AsyncHandler<ContainerChangeset<ItemVersion>> handler) -
getCompleteById
-
getForUpdate
-
getVersion
-
itemChangelog
-
multipleDeleteById
-
multipleGetById
-
multipleUnexpungeById
-
recentItems
-
removePart
-
sortedIds
-
unexpunge
-
unreadItems
-
updateById
-
uploadPart
-