ePOST API

rice.email.log
Class InsertMailLogEntry

java.lang.Object
  extended by rice.post.log.LogEntry
      extended by rice.email.log.EmailLogEntry
          extended by rice.email.log.InsertMailLogEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, PostData

public class InsertMailLogEntry
extends EmailLogEntry

Stores an email in the LogEntry chain. Holds the email and a pointer to the next LogEntry.

Author:
Joe Montgomery
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.post.log.LogEntry
logger, post, previousEntryReference, previousEntryReferences, user
 
Constructor Summary
InsertMailLogEntry(StoredEmail email)
          Constructor for InsertMailEntry.
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals method
 long getInternalDate()
           
 int getMaxUID()
           
 StoredEmail getStoredEmail()
          Returns the email which this log entry references
 java.lang.String toString()
          ToString for this entry
 
Methods inherited from class rice.email.log.EmailLogEntry
compareTo
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InsertMailLogEntry

public InsertMailLogEntry(StoredEmail email)
Constructor for InsertMailEntry. For the given email, creates an entry which can be used in a log chain.

Parameters:
email - the email to store
Method Detail

getStoredEmail

public StoredEmail getStoredEmail()
Returns the email which this log entry references

Returns:
The email inserted

toString

public java.lang.String toString()
ToString for this entry

Overrides:
toString in class java.lang.Object
Returns:
A String

equals

public boolean equals(java.lang.Object o)
Equals method

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to compare to
Returns:
Whether or not we are equal

getInternalDate

public long getInternalDate()
Specified by:
getInternalDate in class EmailLogEntry

getMaxUID

public int getMaxUID()
Specified by:
getMaxUID in class EmailLogEntry

ePOST API

Copyright © 2001-2005 - Rice Pastry.