org.zeroexchange.dao.message
Interface MessageDAO

All Superinterfaces:
DAO<Integer,Message>, IntegerPKDAO<Message>
All Known Implementing Classes:
MessageDAOImpl

public interface MessageDAO
extends IntegerPKDAO<Message>

Author:
black

Method Summary
 long countUnreadMessages(Integer userId)
          Returns count of unread message for the specified user.
 ProcessorAwareDataSet<Message> getUserMessages(Integer userId)
          Returns messages delivered to the specified user.
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Method Detail

getUserMessages

ProcessorAwareDataSet<Message> getUserMessages(Integer userId)
Returns messages delivered to the specified user.


countUnreadMessages

long countUnreadMessages(Integer userId)
Returns count of unread message for the specified user.



Copyright © 2013. All Rights Reserved.