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.


Constructor Index

 o Message(ExtendedHash, Connection)
Constructor to build Message using hash of name value pairs
 o Message(int, Connection)
Constructor to build Message from id from database

Method Index

 o delete()
mark message as deleted
 o getIndentation()
get the level of indentation for displaying this message
 o getNext()
get the id of the next message (returns null if there are no more)
 o getPrevious()
get the id of the previous message (returns null if this is the first)
 o write()
write message to db

Constructors

 o Message
 public Message(int id,
                Connection c) throws Exception
Constructor to build Message from id from database

 o Message
 public Message(ExtendedHash h,
                Connection c) throws Exception
Constructor to build Message using hash of name value pairs

Methods

 o write
 public void write() throws Exception
write message to db

 o delete
 public void delete() throws Exception
mark message as deleted

 o getIndentation
 public int getIndentation()
get the level of indentation for displaying this message

 o getNext
 public int getNext()
get the id of the next message (returns null if there are no more)

 o 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