org.zeroexchange.messaging.embedded.write
Class DAOMessageWriter

java.lang.Object
  extended by org.zeroexchange.messaging.embedded.write.DAOMessageWriter
All Implemented Interfaces:
MessageWriter

@Secured(value="ROLE_USER")
public class DAOMessageWriter
extends Object
implements MessageWriter

Author:
black

Constructor Summary
DAOMessageWriter()
           
 
Method Summary
 void deleteMessages(Set<Integer> messageIds)
          Removes messages by selected ids.
 void markRead(Message message)
          Marks the message as read.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOMessageWriter

public DAOMessageWriter()
Method Detail

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.