org.zeroexchange.messaging.embedded.write
Class DAOMessageWriter
java.lang.Object
org.zeroexchange.messaging.embedded.write.DAOMessageWriter
- All Implemented Interfaces:
- MessageWriter
@Secured(value="ROLE_USER")
public class DAOMessageWriter
- extends Object
- implements MessageWriter
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAOMessageWriter
public DAOMessageWriter()
deleteMessages
@Transactional
public void deleteMessages(Set<Integer> messageIds)
- Removes messages by selected ids.
- Specified by:
deleteMessages
in interface MessageWriter
markRead
@Transactional
public void markRead(Message message)
- Description copied from interface:
MessageWriter
- Marks the message as read.
- Specified by:
markRead
in interface MessageWriter
Copyright © 2013. All Rights Reserved.