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

Part No. B28210-01


oracle.discussions.ws.beans
Class MessagesBulkResponse

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


public class MessagesBulkResponse
extends java.lang.Object

Bulk response bean, returning the response of hide/show Messages invocation. Represents a

The call invocation returns an array of bulk response beans, each representing the status of an individual forum message bean.


Method Summary
 java.lang.String getErrorCode()
          Returns the error code, corresponding to the error message.
 java.lang.String getErrorMessage()
          Returns the localized error message, depcting the server-side error.
 ForumMessage getMessage()
          Returns the forum message, wrapped around by the bulk response bean.
 boolean isError()
          Returns if the bulk response bean wraps an error.

 

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

 

Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Returns the localized error message, depcting the server-side error.
Returns:
String - Error Message

getErrorCode

public java.lang.String getErrorCode()
Returns the error code, corresponding to the error message. The error code can be used by customers' to report bugs.
Returns:
String - Error code

getMessage

public ForumMessage getMessage()
Returns the forum message, wrapped around by the bulk response bean.

If the message hide/show operation succeeds, a forum message bean corresponding to the message hidden/un-hidden is encapsulated in the bulk response bean.

Returns:
ForumMessage - message, whose state is changed.

isError

public boolean isError()
Returns if the bulk response bean wraps an error.

The bulk response bean can wrap

If the message hide/show operation fails, the error details are set into the bulk response bean, and the method returns true.
Returns:
boolean - Status if the bean wraps an error.

Copyright © 2005, Oracle. All rights reserved.