rice.email.log
Class DeleteMailsLogEntry
java.lang.Object
rice.post.log.LogEntry
rice.email.log.EmailLogEntry
rice.email.log.DeleteMailsLogEntry
-
All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, PostData
-
public class DeleteMailsLogEntry
- extends EmailLogEntry
An anti-emails node, serves to cancel out the mail node that it
matches up to.
- Author:
- Joe Montgomery
- See Also:
- Serialized Form
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 |
DeleteMailsLogEntry
public DeleteMailsLogEntry(StoredEmail[] emails)
- Constructor for DeleteMailLogEntry. For the given array of emails, creates a node which serves
as a marker that the previous occurences of the emails in the chain
should be disregarded.
- Parameters:
-
email
- the email to store
getStoredEmails
public StoredEmail[] getStoredEmails()
- 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
-
Copyright © 2001-2005 - Rice Pastry.