public interface MessageServiceLocal extends MessageService
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSendMessage(MessageDestination destination)
Returns true if the logged user can send a message to the given destination
|
boolean |
canSendMessageToUser(User user)
Returns true if the logged user can send a message to the given destination user.
|
boolean |
canViewMessages()
Returns true if the the logged user can view his messages.
|
void |
removeAll(User user)
Clears all message boxes of the specified user completely, by physically deleting all the messages
|
countNewMessages, countUnreadMessages, getData, getSearchData, getSendData, markAsRead, moveToTrash, removeAll, restoreAll, search, sendboolean canSendMessage(MessageDestination destination) throws FrameworkException
destination - The destination of the message. If null, it returns true if the logged user can send
the message to at least one destination.FrameworkExceptionboolean canSendMessageToUser(User user) throws FrameworkException
FrameworkExceptionboolean canViewMessages()
void removeAll(User user) throws FrameworkException
FrameworkException