org.apache.james.mailboxmanager
Class MockMailboxListenerFlagsUpdate

java.lang.Object
  extended by org.apache.james.mailboxmanager.MailboxListener.FlagsUpdated
      extended by org.apache.james.mailboxmanager.MockMailboxListenerFlagsUpdate
All Implemented Interfaces:
org.apache.james.mailboxmanager.MailboxListener.Event, org.apache.james.mailboxmanager.MailboxListener.MessageEvent

public class MockMailboxListenerFlagsUpdate
extends org.apache.james.mailboxmanager.MailboxListener.FlagsUpdated


Field Summary
 java.util.List flags
           
 javax.mail.Flags newFlags
           
 long sessionId
           
 long subjectUid
           
 
Constructor Summary
MockMailboxListenerFlagsUpdate(long subjectUid, javax.mail.Flags newFlags, long sessionId)
           
 
Method Summary
 java.util.Iterator flagsIterator()
           
 javax.mail.Flags getNewFlags()
           
 long getSessionId()
           
 long getSubjectUid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flags

public java.util.List flags

subjectUid

public long subjectUid

sessionId

public long sessionId

newFlags

public javax.mail.Flags newFlags
Constructor Detail

MockMailboxListenerFlagsUpdate

public MockMailboxListenerFlagsUpdate(long subjectUid,
                                      javax.mail.Flags newFlags,
                                      long sessionId)
Method Detail

getSubjectUid

public long getSubjectUid()

getSessionId

public long getSessionId()

flagsIterator

public java.util.Iterator flagsIterator()
Specified by:
flagsIterator in class org.apache.james.mailboxmanager.MailboxListener.FlagsUpdated

getNewFlags

public javax.mail.Flags getNewFlags()
Specified by:
getNewFlags in class org.apache.james.mailboxmanager.MailboxListener.FlagsUpdated


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