com.day.cq.wcm.notification.inbox.impl
Class InboxManagerImpl

java.lang.Object
  extended by com.day.cq.wcm.notification.inbox.impl.InboxManagerImpl
All Implemented Interfaces:
InboxManager

public class InboxManagerImpl
extends Object
implements InboxManager


Nested Class Summary
protected static class InboxManagerImpl.MessageIteratorImpl
           
 
Field Summary
protected static MessageIterator EMPTY_INBOX_ITERATOR
           
protected static String INBOX_NODE
           
protected  NotificationManager notificationManager
           
protected static String NT_FOLDER
           
 
Fields inherited from interface com.day.cq.wcm.notification.inbox.InboxManager
KEY_ALL, KEY_GROUP, KEY_READ, KEY_UNREAD, KEY_USER
 
Constructor Summary
InboxManagerImpl()
           
 
Method Summary
 Message createMessage(Session session, Authorizable user)
           
 boolean deleteMessage(Session session, Authorizable user, String id)
           
 Message getMessage(Session session, Authorizable user, String id)
           
 MessageIterator getMessages(Session session, Authorizable user, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INBOX_NODE

protected static final String INBOX_NODE
See Also:
Constant Field Values

NT_FOLDER

protected static final String NT_FOLDER
See Also:
Constant Field Values

EMPTY_INBOX_ITERATOR

protected static final MessageIterator EMPTY_INBOX_ITERATOR

notificationManager

protected NotificationManager notificationManager
Constructor Detail

InboxManagerImpl

public InboxManagerImpl()
Method Detail

createMessage

public Message createMessage(Session session,
                             Authorizable user)
Specified by:
createMessage in interface InboxManager

getMessages

public MessageIterator getMessages(Session session,
                                   Authorizable user,
                                   String key)
Specified by:
getMessages in interface InboxManager
See Also:
InboxManager.getMessages(javax.jcr.Session, com.day.cq.security.Authorizable, java.lang.String)

deleteMessage

public boolean deleteMessage(Session session,
                             Authorizable user,
                             String id)
Specified by:
deleteMessage in interface InboxManager
See Also:
InboxManager.deleteMessage(javax.jcr.Session, com.day.cq.security.Authorizable, java.lang.String)

getMessage

public Message getMessage(Session session,
                          Authorizable user,
                          String id)
Specified by:
getMessage in interface InboxManager
See Also:
InboxManager.getMessage(javax.jcr.Session, com.day.cq.security.Authorizable, java.lang.String)


Copyright © 2008 Day Management AG. All Rights Reserved.