org.gcube.portlets.user.messages.client.rpc
Interface MessagesService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- MessagesServiceImpl
@RemoteServiceRelativePath(value="message")
public interface MessagesService
- extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the RPC service.
sentToByMessageModel
boolean sentToByMessageModel(MessageModel message)
throws Exception
- Throws:
Exception
sendToById
boolean sendToById(List<String> listContactsId,
List<String> listAttachmentsId,
String subject,
String text)
throws Exception
- Throws:
Exception
getAllMessagesReceived
List<MessageModel> getAllMessagesReceived()
throws Exception
- Throws:
Exception
getNewMessagesReceived
List<MessageModel> getNewMessagesReceived()
throws Exception
- Throws:
Exception
getAllMessagesSent
List<MessageModel> getAllMessagesSent()
throws Exception
- Throws:
Exception
searchInSentMessagesByText
List<MessageModel> searchInSentMessagesByText(String text)
throws Exception
- Throws:
Exception
searchInReceivedMessagesByText
List<MessageModel> searchInReceivedMessagesByText(String text)
throws Exception
- Throws:
Exception
getMessageById
MessageModel getMessageById(String messageIdentifier,
String messageType)
throws Exception
- Throws:
Exception
saveAttachments
boolean saveAttachments(String messageIdentifier,
String messageType)
throws Exception
- Throws:
Exception
saveAttach
boolean saveAttach(String attachId)
throws Exception
- Throws:
Exception
markMessage
boolean markMessage(String messageIdentifier,
String messageType,
boolean boolMark,
String markType)
throws Exception
- Throws:
Exception
deleteMessage
boolean deleteMessage(String messageIdentifier,
String messageType)
throws Exception
- Throws:
Exception
setAllUserMessageNotificationsRead
boolean setAllUserMessageNotificationsRead()
Copyright © 2013. All Rights Reserved.