|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IForumThread
A ForumThread is a container for a hierarchy of ForumMessages. Every thread has a root message, which all other messages in the thread are children of. The root message must be supplied when creating a thread.
| Method Summary | |
|---|---|
IForumMessage |
createForumMessage(String subject,
String message)
Creates message and attaches it to the thread |
void |
delete()
Deletes the thread |
String |
getBody()
Returns the body of the thread |
Date |
getCreationDate()
Returns the creation date of the thread |
IForum |
getForum()
Returns the forum to which the thread is attached to |
long |
getForumID()
Returns the forum unique identifier to which this thread is attached |
IForumMessage |
getForumMessage(long messageID)
Returns specific message attached to the thread |
long |
getForumMessageCount()
Returns the count of messages in the thread |
IForumMessage[] |
getForumMessages()
Returns all messages attached to the thread |
long |
getID()
Returns the thread unique identifier |
IForumMessage |
getLatestForumMessage()
Returns the latest message in the thread |
IForumMessage |
getLatestMessage()
Returns the latest message |
int |
getModerationValue()
Returns the moderation value of the thread |
Date |
getModificationDate()
Returns the modification date of the thread |
String |
getName()
Returns the thread name |
Properties |
getProperties()
Return all extended properties of the thread |
String |
getProperty(String name)
Returns the value of extended property of the thread |
IForumMessage |
getRootMessage()
Returns the root message of the thread |
long |
getRootMessageID()
Returns the root message unique identifier of the thread |
void |
refresh()
Retrieves latest content of thread. |
void |
setProperty(String name,
String value)
Sets extended property to the thread |
| Method Detail |
|---|
long getID()
String getName()
String getBody()
void delete()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException,
com.sap.netweaver.coll.forums.exceptions.ForumThreadLockedException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadLockedException
long getRootMessageID()
throws com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
IForumMessage getRootMessage()
throws com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
IForumMessage getLatestMessage()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
IForumMessage[] getForumMessages()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
IForumMessage getForumMessage(long messageID)
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException,
com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
messageID - the message unique identifier
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
void setProperty(String name,
String value)
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
name - the name of the propertyvalue - the value of the property
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
String getProperty(String name)
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
name - the name of the property
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
Properties getProperties()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundExceptionlong getForumID()
IForumMessage createForumMessage(String subject,
String message)
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException,
com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException,
com.sap.netweaver.coll.forums.exceptions.MessageRejectedException
subject - the subject of the messagemessage - the message body
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumMessageNotFoundException
com.sap.netweaver.coll.forums.exceptions.MessageRejectedException
long getForumMessageCount()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
IForumMessage getLatestForumMessage()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
IForum getForum()
throws com.sap.netweaver.coll.forums.exceptions.ForumNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumNotFoundException
void refresh()
throws com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundException
com.sap.netweaver.coll.forums.exceptions.ForumThreadNotFoundExceptionDate getCreationDate()
Date getModificationDate()
int getModerationValue()
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||