DefaultJournalEntrypublic interface JournalEntry extends CMCommon, java.lang.Cloneable
| Modifier and Type | Interface | Description | 
|---|---|---|
| static class  | JournalEntry.JournalAttrib | 
idConverter| Modifier and Type | Method | Description | 
|---|---|---|
| java.util.List<java.lang.String> | attachmentKeys() | Returns any attachment vfs keys for this entry. | 
| long | attributes() | The attribute flags for this entry | 
| JournalEntry | attributes(long attributes) | Sets the attribute flags for this entry | 
| int | cardinal() | The cardinal entry number for the journal entry. | 
| JournalEntry | cardinal(int cardinal) | Sets the cardinal entry number for the journal entry. | 
| int | compareTo(JournalEntry o) | Compares two journal entry objects to each other | 
| JournalEntry | copyOf() | Similar to Cloneable.clone(), but does its best to make sure that
 any internal objects to this class are also copyOfed. | 
| java.lang.String | data() | The "image path" or, for mailboxes, the Journal Name this mail served as a source for. | 
| JournalEntry | data(java.lang.String data) | Sets the "image path" or, for mailboxes, the Journal Name this mail served as a source for. | 
| long | date() | The date/time, in ms, that the message was posted | 
| java.lang.String | dateStr() | The date/time, in ms, coded, or "", that the message was posted | 
| JournalEntry | dateStr(java.lang.String date) | Sets the date/time, in ms, coded, or "", that the message was posted | 
| java.lang.StringBuffer | derivedBuildMessage() | The friendly viewable form of this message in the command line. | 
| JournalEntry | derivedBuildMessage(java.lang.StringBuffer msg) | The friendly viewable form of this message in the command line. | 
| long | expiration() | The date/time, in ms, that the message will expire | 
| JournalEntry | expiration(long update) | Sets the date/time, in ms, that the message will expire | 
| java.lang.String | from() | The author of the entry | 
| JournalEntry | from(java.lang.String from) | Sets the author of the entry | 
| TimeClock | getKnownClock() | If the dateStr for this message was set as an in-game clock,
 then this will attempt to derive the specific clock used
 and then return it. | 
| java.lang.String | getXML() | Returns an xml representation of this entry. | 
| boolean | isLastEntry() | Returns whether this is the last entry in the db. | 
| java.lang.String | key() | The fully unique key for this entry, unique across all entries in all books and journals | 
| JournalEntry | key(java.lang.String key) | Sets the fully unique key for this entry, unique across all entries in all books and journals | 
| JournalEntry | lastEntry(boolean lastEntry) | Sets whether this is the last entry in the db | 
| java.lang.String | msg() | The content of the entry. | 
| JournalEntry | msg(java.lang.String msg) | Sets the content of the entry. | 
| java.lang.String | msgIcon() | The image icon for forum entries | 
| JournalEntry | msgIcon(java.lang.String msgIcon) | Sets the image icon for forum entries | 
| java.lang.String | parent() | The entry key of the entry that this entry is a reply to | 
| JournalEntry | parent(java.lang.String parent) | Sets the entry key of the entry that this entry is a reply to | 
| int | replies() | The number of replies to this entry. | 
| JournalEntry | replies(int replies) | Sets he number of replies to this entry. | 
| void | setXML(java.lang.String xml) | Sets an entry based on the given xml. | 
| java.lang.String | subj() | The subject of the entry | 
| JournalEntry | subj(java.lang.String subj) | Sets the subject of the entry | 
| java.lang.String | to() | Who the entry is for, usually ALL | 
| JournalEntry | to(java.lang.String to) | Sets who the entry is for, usually ALL | 
| long | update() | The date/time, in ms, that the message was updated | 
| JournalEntry | update(long update) | Sets the date/time, in ms, that the message was updated | 
| int | views() | The number of views of this entry | 
| JournalEntry | views(int views) | Sets the number of views of this entry | 
ID, initializeClass, name, newInstancejava.lang.String key()
JournalEntry key(java.lang.String key)
key - the keyjava.lang.String from()
JournalEntry from(java.lang.String from)
from - author of the entryjava.lang.String to()
JournalEntry to(java.lang.String to)
to - who the entry is for, usually ALLjava.lang.String subj()
JournalEntry subj(java.lang.String subj)
subj - the subject of the entryjava.lang.String msg()
JournalEntry msg(java.lang.String msg)
msg - the content of the entry.long date()
TimeClock getKnownClock()
java.lang.String dateStr()
JournalEntry dateStr(java.lang.String date)
date - the date/time, in ms, coded, or "", that the message was postedlong update()
JournalEntry update(long update)
update - the date/time, in ms, that the message was updatedlong expiration()
JournalEntry expiration(long update)
update - the date/time, in ms, that the message will expirejava.lang.String parent()
JournalEntry parent(java.lang.String parent)
parent - the entry key of the entry that this entry is a reply tolong attributes()
JournalEntry attributes(long attributes)
attributes - the attribute flags for this entryjava.lang.String data()
JournalEntry data(java.lang.String data)
data - the "image path" or, for mailboxes, the Journal Name this mail served as a source for.int cardinal()
JournalEntry cardinal(int cardinal)
cardinal - the cardinal entry number for the journal entry.java.lang.String msgIcon()
JournalEntry msgIcon(java.lang.String msgIcon)
msgIcon - the image icon for forum entriesint replies()
JournalEntry replies(int replies)
replies - the number of replies to this entry.int views()
JournalEntry views(int views)
views - the number of views of this entryboolean isLastEntry()
JournalEntry lastEntry(boolean lastEntry)
lastEntry - whether this is the last entry in the dbjava.lang.StringBuffer derivedBuildMessage()
JournalEntry derivedBuildMessage(java.lang.StringBuffer msg)
msg - the friendly messageint compareTo(JournalEntry o)
o - another journal entry objjava.lang.String getXML()
void setXML(java.lang.String xml)
xml - the xml to use.java.util.List<java.lang.String> attachmentKeys()
JournalEntry copyOf()
CMObject