org.apache.james.mailboxmanager.util
Class MailboxEventAnalyser
java.lang.Object
org.apache.james.mailboxmanager.util.MailboxEventAnalyser
- All Implemented Interfaces:
- MailboxListener
public class MailboxEventAnalyser
- extends java.lang.Object
- implements MailboxListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailboxEventAnalyser
public MailboxEventAnalyser(long sessionId)
event
public void event(MailboxListener.Event event)
- Specified by:
event
in interface MailboxListener
reset
public void reset()
isSilentFlagChanges
public final boolean isSilentFlagChanges()
- Are flag changes from current session ignored?
- Returns:
- true if any flag changes from current session will be ignored,
false otherwise
setSilentFlagChanges
public final void setSilentFlagChanges(boolean silentFlagChanges)
- Sets whether changes from current session should be ignored.
- Parameters:
silentFlagChanges
- true if any flag changes from current session should be
ignored, false otherwise
isSizeChanged
public final boolean isSizeChanged()
- Has the size of the mailbox changed?
- Returns:
- true if new messages have been added, false otherwise
isDeletedByOtherSession
public final boolean isDeletedByOtherSession()
- Is the mailbox deleted?
- Returns:
- true when the mailbox has been deleted by another session, false
otherwise
flagUpdateUids
public java.util.Iterator flagUpdateUids()
expungedUids
public java.util.Iterator expungedUids()
hasExpungedUids
public boolean hasExpungedUids()
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.