org.apache.james.mailbox
Class MailboxListener.FlagsUpdated

java.lang.Object
  extended by org.apache.james.mailbox.MailboxListener.Event
      extended by org.apache.james.mailbox.MailboxListener.MessageEvent
          extended by org.apache.james.mailbox.MailboxListener.FlagsUpdated
Enclosing interface:
MailboxListener

public abstract static class MailboxListener.FlagsUpdated
extends MailboxListener.MessageEvent

A mailbox event related to updated flags


Constructor Summary
MailboxListener.FlagsUpdated(long sessionId, MailboxPath path)
           
 
Method Summary
abstract  java.util.Iterator<javax.mail.Flags.Flag> flagsIterator()
          Gets an iterator for the system flags changed.
abstract  javax.mail.Flags getNewFlags()
          Gets new flags for this message.
 
Methods inherited from class org.apache.james.mailbox.MailboxListener.MessageEvent
getSubjectUid
 
Methods inherited from class org.apache.james.mailbox.MailboxListener.Event
getMailboxPath, getSessionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxListener.FlagsUpdated

public MailboxListener.FlagsUpdated(long sessionId,
                                    MailboxPath path)
Method Detail

getNewFlags

public abstract javax.mail.Flags getNewFlags()
Gets new flags for this message.


flagsIterator

public abstract java.util.Iterator<javax.mail.Flags.Flag> flagsIterator()
Gets an iterator for the system flags changed.

Returns:
Flags.Flag Iterator, not null


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.