|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ForumMessage
Representation of a single message in a forum.
| Method Summary | |
|---|---|
int |
getDepth()
Return the depth in the thread. |
Forum |
getForum()
Return the forum this message is a part of. |
int |
getId()
Return the messageid. |
java.lang.String |
getMessage()
Return the message body. |
int |
getNumberOfReplies()
Return number of replies. |
ForumMessage |
getParent()
Return the parent message in the thread or null. |
java.util.Date |
getPostDate()
Return the date this message was posted. |
ForumMessage[] |
getReplies()
Return all replies to this message. |
java.lang.String |
getTitle()
Return the title of this message. |
ForumMessage |
getTopic()
Return the first message in the thread this message belongs to. |
int |
getUserId()
Return id of the user that wrote the message. |
java.lang.String |
getUserName()
Return the author of the message. |
boolean |
isLocked()
Return true if this message is locked. |
| Method Detail |
|---|
int getId()
ForumMessage[] getReplies()
int getDepth()
ForumMessage getParent()
ForumMessage getTopic()
java.lang.String getTitle()
java.lang.String getMessage()
java.util.Date getPostDate()
java.lang.String getUserName()
int getUserId()
Forum getForum()
int getNumberOfReplies()
boolean isLocked()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||