Oracle© Collaboration Suite Workspaces Web Services API Reference
10g Release 1 (10.1.2.2)

Part No. B28209-01


oracle.workspaces.ws.beans
Class MessageItem

java.lang.Object
  extended byoracle.workspaces.ws.beans.ResourceItem
      extended byoracle.workspaces.ws.beans.MessageItem


public class MessageItem
extends ResourceItem

This class represents a message.


Constructor Summary
MessageItem()
          Default constructor

 

Method Summary
 MessageBodyPart[] getAttachments()
          Gets an array of body parts representing the attachments included in this message.
 NamedValue[] getAttributes()
          Gets the requested attributes in the form of name-value pairs.
 java.lang.String getBoardUid()
          Gets the board Uid of the message.
 java.lang.String[] getFlags()
          Gets the flags of the message.
 java.lang.String[] getFromAddresses()
          Gets the from Addresses of the message.
 java.util.Calendar getSentDate()
          Gets the sent date of the message.
 java.lang.String getSubject()
          Gets the subject of the message.
 java.lang.String getThreadUid()
          Gets the thread Uid of the message.
 void setAttributes(NamedValue[] attributes)
          Sets the name-value array representing the attributes.
 void setSubject(java.lang.String subject)
          Sets the subject of the message.

 

Methods inherited from class oracle.workspaces.ws.beans.ResourceItem
getCreatedTime, getDescription, getId, getLastModifiedBy, getLastModifiedTime, getName, getWebUIUrl, setDescription, setName, setOwner

 

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

 

Constructor Detail

MessageItem

public MessageItem()
Default constructor

Method Detail

getAttachments

public MessageBodyPart[] getAttachments()
Gets an array of body parts representing the attachments included in this message. Note: This value will be populated only if the attribute ATTACHMENT is requested for.
Returns:
attachments

getBoardUid

public java.lang.String getBoardUid()
Gets the board Uid of the message.
Returns:
boardUid

getFlags

public java.lang.String[] getFlags()
Gets the flags of the message. Note: This value will be populated only if the attribute FLAGS is requested for.
Returns:
flags

getFromAddresses

public java.lang.String[] getFromAddresses()
Gets the from Addresses of the message.
Returns:
fromAddresses

getSentDate

public java.util.Calendar getSentDate()
Gets the sent date of the message.
Returns:
sentDate

getSubject

public java.lang.String getSubject()
Gets the subject of the message.
Returns:
subject

setSubject

public void setSubject(java.lang.String subject)
Sets the subject of the message.
Parameters:
subject -

getThreadUid

public java.lang.String getThreadUid()
Gets the thread Uid of the message.
Returns:
threadUid

getAttributes

public NamedValue[] getAttributes()
Gets the requested attributes in the form of name-value pairs. Extra attributes which can be requested for are: CONTENT_TYPE,CONTENT,SIZE, LEVEL_IN_THREAD,IS_MARKED_DELETED,PRIORITY,HAS_ATTACHMENTS.
Returns:
NamedValue[] - returns attributes requested for an array of NamedValue objects

setAttributes

public void setAttributes(NamedValue[] attributes)
Sets the name-value array representing the attributes. Only the following attributes, CONTENT_TYPE and CONTENT can be set.
Parameters:
attributes -

Copyright © 2001, 2006, Oracle. All rights reserved.