|
Oracle® Collaboration Suite Workspaces API Reference 10g (10.1.1.0.2) Part No. B16233-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.workspaces.resource.CwResourceItemDefinition
oracle.workspaces.resource.discussion.CwMessageDefinition
Definition class used to create a CwMessage. Create the CwMessageDefinition, fill in all appropriate properties, and then call cwBoard.createMessage() to post the message to the board.
Constructor Summary | |
CwMessageDefinition() Constructor for a message definition object representing the first message of a new thread. |
|
CwMessageDefinition(CwMessage messageRepliedTo) Constructor for a message definition object representing a reply to a message in an existing thread. |
|
CwMessageDefinition(CwMessage messageRepliedTo, java.util.Locale locale, java.util.TimeZone tz) Constructor for a message definition object representing a reply to a message in an existing thread. |
Method Summary | |
java.lang.String |
getContentType() Returns the content type of the message, null if not set. |
java.lang.String |
getDescription() A CwMessage resource item does not have the concept of a "description"; therefore this method throws UnsupportedOperationException. |
java.lang.String |
getName() A CwMessage resource item does not have the concept of a "name"; therefore this method throws UnsupportedOperationException. |
java.lang.String |
getSubject() Returns the subject of the message, null if not set. |
java.lang.String |
getText() Returns the text of the message, null if not set. |
boolean |
isReply() Returns a boolean which indicates whether this message definition represents a reply to an existing message. |
void |
setContentType(java.lang.String contentType) Set the content type of the message to the specified type. |
void |
setDescription(java.lang.String szDescription) A CwMessage resource item does not have the concept of a "description"; therefore this method throws UnsupportedOperationException. |
void |
setName(java.lang.String szName) A CwMessage resource item does not have the concept of a "name"; therefore this method throws UnsupportedOperationException. |
void |
setSubject(java.lang.String szSubject) Set the subject of the message to the specified String. |
void |
setText(java.lang.String szText) Set the text of the message to the specified String. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CwMessageDefinition() throws CwException
public CwMessageDefinition(CwMessage messageRepliedTo) throws CwException
messageRepliedTo
- the message being replied to by this new message; if null, indicates no original message and a new thread message is created.public CwMessageDefinition(CwMessage messageRepliedTo, java.util.Locale locale, java.util.TimeZone tz) throws CwException
messageRepliedTo
- the message being replied to by this new message; if null, indicates no original message and a new thread message is created.locale
- the client locale.tz
- the client timezone.Method Detail |
public java.lang.String getContentType()
public java.lang.String getDescription()
getDescription
in class CwResourceItemDefinition
public java.lang.String getName()
getName
in class CwResourceItemDefinition
public java.lang.String getSubject()
public java.lang.String getText()
public boolean isReply()
public void setContentType(java.lang.String contentType)
public void setDescription(java.lang.String szDescription)
setDescription
in class CwResourceItemDefinition
public void setName(java.lang.String szName)
setName
in class CwResourceItemDefinition
public void setSubject(java.lang.String szSubject)
public void setText(java.lang.String szText)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |