Oracle Collaboration Suite Discussions Web Services Java API Reference
10g (10.1.2.2)

Part No. B28210-01


oracle.discussions.ws.beans
Class MessageDefinition

java.lang.Object
  extended byoracle.discussions.ws.beans.MessageDefinition


public class MessageDefinition
extends java.lang.Object

Definition bean representing the properties of a newly created message. The properties specified in the bean are applied to the new message/topic created.


Constructor Summary
MessageDefinition()
          Default constructor

 

Method Summary
 void setBody(java.lang.String body)
          Sets the body of the message.
 void setHTMLContentType(boolean bType)
          Sets, if the message is of HTML content type.
 void setSubject(java.lang.String subject)
          Sets the message subject.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MessageDefinition

public MessageDefinition()
Default constructor

Method Detail

setSubject

public void setSubject(java.lang.String subject)
Sets the message subject. The message subject should depict briefly, the information posted in the message.
Parameters:
subject - - Message subject

setBody

public void setBody(java.lang.String body)
Sets the body of the message.
Parameters:
body - - Message body

setHTMLContentType

public void setHTMLContentType(boolean bType)
Sets, if the message is of HTML content type.

If the value is set to true and if the message body contains a valid html message content, then the message created, will preserve the structure of the html content.

Parameters:
bType - - Value indicating if the message is of html content type.

Copyright © 2005, Oracle. All rights reserved.