public interface WorkspaceMessageManager
| Modifier and Type | Method and Description |
|---|---|
void |
deleteReceivedMessage(String messageId)
Decline a request.
|
void |
deleteSentMessage(String id) |
int |
getMessagesNotOpened() |
WorkspaceMessage |
getReceivedMessage(String requestId) |
List<WorkspaceMessage> |
getReceivedMessages() |
WorkspaceMessage |
getSentMessage(String id) |
List<WorkspaceMessage> |
getSentMessages() |
List<WorkspaceMessage> |
searchInMessages(String name) |
List<WorkspaceMessage> |
searchOutMessages(String word) |
String |
sendMessageToPortalLogins(String subject,
String body,
List<String> attachmentIds,
List<String> portalLogins) |
String |
sendMessageToUsers(String subject,
String body,
List<String> attachmentIds,
List<User> addressees)
Create a new send request.
|
String sendMessageToUsers(String subject, String body, List<String> attachmentIds, List<User> addressees) throws InternalErrorException
message - the sent object.addressees - the request addressees.ItemNotFoundException - if the sent item is not found.InternalErrorException - if an internal error occurs.RepositoryExceptionvoid deleteReceivedMessage(String messageId)
id - the request id.WorkspaceMessage getReceivedMessage(String requestId) throws InternalErrorException, ItemNotFoundException
requestId - InternalErrorExceptionItemNotFoundExceptionString sendMessageToPortalLogins(String subject, String body, List<String> attachmentIds, List<String> portalLogins) throws InternalErrorException
subject - body - attachmentIds - portalLogins - InternalErrorExceptionint getMessagesNotOpened()
List<WorkspaceMessage> getReceivedMessages()
WorkspaceMessage getSentMessage(String id) throws InternalErrorException, ItemNotFoundException
id - InternalErrorExceptionItemNotFoundExceptionvoid deleteSentMessage(String id)
id - List<WorkspaceMessage> getSentMessages()
List<WorkspaceMessage> searchInMessages(String name) throws InternalErrorException
name - InternalErrorExceptionList<WorkspaceMessage> searchOutMessages(String word) throws InternalErrorException
word - InternalErrorExceptionCopyright © 2020. All Rights Reserved.