|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable org.paneris.util.ExtendedHash org.paneris.jal.model.DDRecord org.paneris.messageboard.model.Message
public class Message
An item on the messageboard.
Field Summary |
---|
Fields inherited from class org.paneris.jal.model.DDRecord |
---|
connMgr, database, dataCache, debug, metaData |
Constructor Summary | |
---|---|
Message(java.lang.String db)
Constructor to build an empty DDRecord |
|
Message(java.lang.String db,
java.lang.Integer record)
Constructor to build a DDRecord given a string or int describing the table and an record id int. |
|
Message(java.lang.String db,
java.sql.ResultSet rs)
Constructor to build a DDRecord given a string describing the table and a java.sql.resultSet. |
Method Summary | |
---|---|
void |
distribute()
|
int |
getAttachments()
get the level of indentation for displaying this message |
int |
getIndentation()
get the level of indentation for displaying this message |
java.util.Vector |
getIndentationVector()
get the level of indentation for displaying this message we should not need to do this, as there should be a |
Message |
getParent()
get the parent message to this one |
Message |
getTopParent()
get the top parent message to this one |
boolean |
hasAttachments()
|
void |
send(java.lang.String addresseeList)
|
void |
setAttachments()
|
void |
setIndentation(int i)
set the level of indentation for displaying this message |
void |
write()
set the timesamp if we are writing a message |
Methods inherited from class org.paneris.jal.model.DDRecord |
---|
appendFieldValue, delete, get, getChildren, getField, getFieldValue, getLinksToThis, getLinksToThis, getMetaData, getOrderedChildren, getProblems, getResultSet, init, isDuplicated, setFieldValue, setFieldValue, setFromDefaults, setFromForm, setFromForm, setFromForm, write |
Methods inherited from class org.paneris.util.ExtendedHash |
---|
clear, elements, joinKeys, keys, put, remove |
Methods inherited from class java.util.Hashtable |
---|
clone, contains, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, putAll, rehash, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Message(java.lang.String db, java.sql.ResultSet rs) throws java.lang.Exception
java.lang.Exception
- If somthing failspublic Message(java.lang.String db) throws java.lang.Exception
java.lang.Exception
- If somthing failspublic Message(java.lang.String db, java.lang.Integer record) throws java.lang.Exception
java.lang.Exception
- If somthing failsMethod Detail |
---|
public void setAttachments() throws java.lang.Exception
java.lang.Exception
- If somthing failspublic java.util.Vector getIndentationVector()
public Message getParent() throws java.lang.Exception
java.lang.Exception
- If somthing failspublic Message getTopParent() throws java.lang.Exception
java.lang.Exception
- If somthing failspublic void setIndentation(int i)
public int getIndentation()
public int getAttachments()
public boolean hasAttachments()
public void write() throws java.lang.Exception
write
in class DDRecord
java.lang.Exception
- If somthing failspublic void distribute() throws java.lang.Exception
java.lang.Exception
- If somthing fails
FIXME: String toString --> addresseeListpublic void send(java.lang.String addresseeList) throws java.lang.Exception
java.lang.Exception
- If somthing fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |