ePOST API

rice.email.log
Class EmailLogEntry

java.lang.Object
  extended by rice.post.log.LogEntry
      extended by rice.email.log.EmailLogEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, PostData
Direct Known Subclasses:
AddFolderLogEntry, DeleteMailLogEntry, DeleteMailsLogEntry, InsertMailLogEntry, InsertMailsLogEntry, RemoveFolderLogEntry, SnapShotLogEntry, UpdateMailLogEntry, UpdateMailsLogEntry

public abstract class EmailLogEntry
extends LogEntry
implements java.lang.Comparable

An abstract class for all email log entry types

Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.post.log.LogEntry
logger, post, previousEntryReference, previousEntryReferences, user
 
Constructor Summary
EmailLogEntry()
          Constructor for EmailLogEntry.
 
Method Summary
 int compareTo(java.lang.Object other)
          Note: this comparison method is not compatible with equals
abstract  long getInternalDate()
           
abstract  int getMaxUID()
           
 
Methods inherited from class rice.post.log.LogEntry
buildContentHashReference, buildSecureReference, buildSignedReference, contains, getCachedPreviousEntry, getPreviousEntry, getPreviousEntryReference, getRealPreviousEntry, hasPreviousEntry, setPreviousEntryReferences, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailLogEntry

public EmailLogEntry()
Constructor for EmailLogEntry. Takes in the number of log entries, including this one, since a snap shot.

Parameters:
num - The number of log entries since the last snapshot
Method Detail

getInternalDate

public abstract long getInternalDate()

getMaxUID

public abstract int getMaxUID()

compareTo

public int compareTo(java.lang.Object other)
Note: this comparison method is not compatible with equals

Specified by:
compareTo in interface java.lang.Comparable

ePOST API

Copyright © 2001-2005 - Rice Pastry.