Interface MessageManagerClient
-
- All Superinterfaces:
ManagerClient
- All Known Implementing Classes:
DefaultMessageManager
public interface MessageManagerClient extends ManagerClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String id)org.gcube.common.storagehub.model.messages.Messageget(String id)List<? extends org.gcube.common.storagehub.model.items.Item>getAttachments(String id)List<org.gcube.common.storagehub.model.messages.Message>getReceivedMessages()List<org.gcube.common.storagehub.model.messages.Message>getReceivedMessages(int reduceBody)List<org.gcube.common.storagehub.model.messages.Message>getSentMessages()List<org.gcube.common.storagehub.model.messages.Message>getSentMessages(int reduceBody)StringsendMessage(List<String> recipients, String subject, String body, List<String> attachments)voidsetOpened(String id, Boolean value)voidsetRead(String id, Boolean value)-
Methods inherited from interface org.gcube.common.storagehub.client.proxies.ManagerClient
impersonate, register
-
-
-
-
Method Detail
-
get
org.gcube.common.storagehub.model.messages.Message get(String id) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getAttachments
List<? extends org.gcube.common.storagehub.model.items.Item> getAttachments(String id) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getReceivedMessages
List<org.gcube.common.storagehub.model.messages.Message> getReceivedMessages(int reduceBody) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getSentMessages
List<org.gcube.common.storagehub.model.messages.Message> getSentMessages(int reduceBody) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getReceivedMessages
List<org.gcube.common.storagehub.model.messages.Message> getReceivedMessages() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getSentMessages
List<org.gcube.common.storagehub.model.messages.Message> getSentMessages() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
delete
void delete(String id) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
sendMessage
String sendMessage(List<String> recipients, String subject, String body, List<String> attachments) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
setRead
void setRead(String id, Boolean value) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
-