Package net.bluemind.backend.mail.api
Interface IMailConversationActions
@Path("/mail_conversation/{conversationContainer}/{replicatedMailboxUid}")
public interface IMailConversationActions
Handle message conversations for a given container (per user or mail-share).
-
Method Summary
Modifier and TypeMethodDescriptionaddFlag
(ConversationFlagUpdate flagUpdate) Adds one flag to multipleConversation
s.Copy conversations.deleteFlag
(ConversationFlagUpdate flagUpdate) Removes a flag from multipleConversation
s.importItems
(long folderDestinationId, ImportMailboxConversationSet mailboxItems) Import conversations into folder.Move conversations.void
multipleDeleteById
(List<String> conversationUids) Delete conversations.
-
Method Details
-
addFlag
Adds one flag to multipleConversation
s.- Parameters:
flagUpdate
-- Returns:
- the new container version
-
deleteFlag
Removes a flag from multipleConversation
s.- Parameters:
flagUpdate
-- Returns:
- the new container version
-
importItems
@PUT @Path("importItems/{folderDestinationId}") ImportMailboxItemsStatus importItems(@PathParam("folderDestinationId") long folderDestinationId, ImportMailboxConversationSet mailboxItems) throws ServerFault Import conversations into folder.- Parameters:
folderDestinationId
-mailboxItems
-- Returns:
- Throws:
ServerFault
-
copy
@POST @Path("copy/{targetMailboxUid}") List<ItemIdentifier> copy(@PathParam("targetMailboxUid") String targetMailboxUid, List<String> conversationUids) Copy conversations.- Parameters:
targetMailboxUid
-conversationUids
-- Returns:
-
move
@POST @Path("move/{targetMailboxUid}") List<ItemIdentifier> move(@PathParam("targetMailboxUid") String targetMailboxUid, List<String> conversationUids) Move conversations.- Parameters:
targetMailboxUid
-conversationUids
-- Returns:
-
multipleDeleteById
Delete conversations.- Parameters:
conversationUids
-
-