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

Part No. B28209-01


oracle.workspaces.ws.beans
Class BoardItem

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


public class BoardItem
extends ResourceItem

This class represents a discussion board.


Method Summary
 NamedValue[] getAttributes()
          Gets the values of the attributes in the form of named value pairs.
 java.lang.String getBoardDisplayName()
          Gets the display name of the board.
 java.lang.String[] getFlags()
          Gets the flags of the board.
 int getMessageCount()
          Gets the message count of the board.
 int getNewMessageCount()
          Gets the new message count of the board.
 int getThreadCount()
          Gets the thread count of the board.
 int getUnreadMessageCount()
          Gets the unreadMessageCount of the board.
 boolean isHasNewMessages()
          Gets a boolean indicating whether the board has any new messages.
 void setAttributes(NamedValue[] attributes)
          Sets the name-value array representing the attributes.
 void setBoardDisplayName(java.lang.String boardDisplayName)
          Sets the display name of the board.

 

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

 

Method Detail

getBoardDisplayName

public java.lang.String getBoardDisplayName()
Gets the display name of the board.
Returns:
boardDisplayName

setBoardDisplayName

public void setBoardDisplayName(java.lang.String boardDisplayName)
Sets the display name of the board.
Parameters:
boardDisplayName -

getFlags

public java.lang.String[] getFlags()
Gets the flags of the board.
Returns:
flags

isHasNewMessages

public boolean isHasNewMessages()
Gets a boolean indicating whether the board has any new messages.
Returns:
hasNewMessages

getMessageCount

public int getMessageCount()
Gets the message count of the board.
Returns:
messageCount

getNewMessageCount

public int getNewMessageCount()
Gets the new message count of the board.
Returns:
newMessageCount

getThreadCount

public int getThreadCount()
Gets the thread count of the board.
Returns:
threadCount

getUnreadMessageCount

public int getUnreadMessageCount()
Gets the unreadMessageCount of the board.
Returns:
unreadMessageCount

getAttributes

public NamedValue[] getAttributes()
Gets the values of the attributes in the form of named value pairs. Extra attributes which can be requested for are BEGIN_QUOTE_PREFIX,EDIT_DELETE_POLICY,EMAIL_ADDRESS,INBOUND_POLICY, ORIGINAL_QUOTED,SUBJECT_REPLY_PREFIX,SUBSCRIPTION_FORMAT,FORWARDING_EMAIL_ADDRESS
Returns:
attributes.

setAttributes

public void setAttributes(NamedValue[] attributes)
Sets the name-value array representing the attributes.
a)Extra attributes whose value can be set are: EDIT_DELETE_POLICY,INBOUND_POLICY,EMAIL_ADDRESS SUBSCRIPTION_FORMAT,FORWARDING_EMAIL_ADDRESS
b)Valid values for EDIT_DELETE_POLICY are NONE,ONLY_NO_REPLY,ALLOW
c)Valid values for board attribute 'INBOUND_POLICY' are NONE,RESTRICTED,OPEN
d)Note that the email address can only be set a single time, either during board creation or afterward. Any attempt to reset the email address to a different value will throw an exception.
Parameters:
attributes - - Named value array representing the attributes.

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