|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectajax.database.PendingMessageBean
public class PendingMessageBean
Encapsulates the logic for dealing with PendingMessage objects
PendingMessage| Constructor Summary | |
|---|---|
PendingMessageBean()
|
|
| Method Summary | |
|---|---|
static void |
addMessage(User fromUser,
User toUser,
java.lang.String mesg)
Adds message to the queue |
static java.util.List |
getMessages(User toUser)
Retrieves a list of the messages destined for the user provided |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PendingMessageBean()
| Method Detail |
|---|
public static java.util.List getMessages(User toUser)
throws java.sql.SQLException
toUser - the user for which to find messages
java.sql.SQLExceptionPendingMessage
public static void addMessage(User fromUser,
User toUser,
java.lang.String mesg)
throws java.lang.Exception
fromUser - The user object that this message is to be destined fortoUser - The user object that this message is to be sent frommesg - The message
java.lang.Exception - if there was an error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||