All Packages Class Hierarchy This Package Previous Next Index
Class org.paneris.messageboard.Message
java.lang.Object
|
+----org.paneris.util.DatadictionaryTable
|
+----org.paneris.messageboard.Message
- public class Message
- extends DatadictionaryTable
An item on the messageboard.
-
Message(ExtendedHash, Connection)
- Constructor to build Message using hash of name value pairs
-
Message(int, Connection)
- Constructor to build Message from id from database
-
delete()
- mark message as deleted
-
getIndentation()
- get the level of indentation for displaying this message
-
getNext()
- get the id of the next message (returns null if there are no more)
-
getPrevious()
- get the id of the previous message (returns null if this is the first)
-
write()
- write message to db
Message
public Message(int id,
Connection c) throws Exception
- Constructor to build Message from id from database
Message
public Message(ExtendedHash h,
Connection c) throws Exception
- Constructor to build Message using hash of name value pairs
write
public void write() throws Exception
- write message to db
delete
public void delete() throws Exception
- mark message as deleted
getIndentation
public int getIndentation()
- get the level of indentation for displaying this message
getNext
public int getNext()
- get the id of the next message (returns null if there are no more)
getPrevious
public int getPrevious()
- get the id of the previous message (returns null if this is the first)
All Packages Class Hierarchy This Package Previous Next Index