|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.messaging.embedded.read.DAOMessageReader
@Secured(value="ROLE_USER") public class DAOMessageReader
The messages reader implementation.
Constructor Summary | |
---|---|
DAOMessageReader()
|
Method Summary | |
---|---|
long |
countUnread(Integer userId)
Returns count of unread message for the specified user. |
Message |
getUserMessage(Integer messageId,
Integer recepientId)
Returns message for the specified user. |
SlicingDataSet<Message> |
getUserMessages(Integer userId,
SortDescriptor sortDescriptor)
Returns messages delivered to the specified user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DAOMessageReader()
Method Detail |
---|
public SlicingDataSet<Message> getUserMessages(Integer userId, SortDescriptor sortDescriptor)
getUserMessages
in interface MessageReader
public Message getUserMessage(Integer messageId, Integer recepientId)
getUserMessage
in interface MessageReader
public long countUnread(Integer userId)
countUnread
in interface MessageReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |