org.gcube.portlets.user.homelibrary.home.workspace.sharing
Interface WorkspaceMessageManager
public interface WorkspaceMessageManager
- Author:
- Federico De Faveri defaveri@isti.cnr.it
sendMessageToUsers
void sendMessageToUsers(String subject,
String body,
List<String> attachmentIds,
List<User> addressees)
throws InternalErrorException
- Create a new send request.
- Parameters:
message - the sent object.addressees - the request addressees.
- Throws:
ItemNotFoundException - if the sent item is not found.
InternalErrorException - if an internal error occurs.
RepositoryException
deleteReceivedMessage
void deleteReceivedMessage(String messageId)
- Decline a request.
- Parameters:
id - the request id.
getReceivedMessage
WorkspaceMessage getReceivedMessage(String requestId)
throws InternalErrorException,
ItemNotFoundException
- Parameters:
requestId -
- Returns:
-
- Throws:
InternalErrorException
ItemNotFoundException
sendMessageToPortalLogins
void sendMessageToPortalLogins(String subject,
String body,
List<String> attachmentIds,
List<String> portalLogins)
throws InternalErrorException
- Parameters:
subject - body - attachmentIds - portalLogins -
- Throws:
InternalErrorException
getMessagesNotOpened
int getMessagesNotOpened()
- Returns:
getReceivedMessages
List<WorkspaceMessage> getReceivedMessages()
- Returns:
getSentMessage
WorkspaceMessage getSentMessage(String id)
throws InternalErrorException,
ItemNotFoundException
- Parameters:
id -
- Returns:
-
- Throws:
InternalErrorException
ItemNotFoundException
deleteSentMessage
void deleteSentMessage(String id)
- Parameters:
id -
getSentMessages
List<WorkspaceMessage> getSentMessages()
- Returns:
searchInMessages
List<WorkspaceMessage> searchInMessages(String name)
throws InternalErrorException
- Parameters:
name -
- Returns:
-
- Throws:
InternalErrorException
searchOutMessages
List<WorkspaceMessage> searchOutMessages(String word)
throws InternalErrorException
- Parameters:
word -
- Returns:
-
- Throws:
InternalErrorException
Copyright © 2013. All Rights Reserved.