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

Part No. B28210-01


oracle.discussions.ws.beans
Class AddTopicsToFavoritesBulkResponse

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


public class AddTopicsToFavoritesBulkResponse
extends java.lang.Object

Bulk response bean, returning the response of AddTopicsToFavoritesBulkResponse invocation.

Represents a

The call invocation returns an array of bulk response beans, each representing the status of an individual topic's addition to favorites.


Method Summary
 java.lang.String getErrorCode()
          Returns the error code, corresponding to the exception message.
 java.lang.String getErrorMessage()
          Returns the localized exception message, corresponding to the server side exception.
 Topic getTopic()
          Returns the topic, 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 exception message, corresponding to the server side exception.
Returns:
String - Error Message

getErrorCode

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

isError

public boolean isError()
Returns if the bulk response bean wraps an error. Returns true, if the addition of topic to favorites fails.
If the addition of topic to favorites fails, the details of the exception are returned to the user, wrapped in a bulk response bean.
Returns:
boolean - Status if the bean wraps an error.

getTopic

public Topic getTopic()
Returns the topic, wrapped around by the bulk response bean. If the topic addition to favorites is successful, the topic bean is wrapped into a bulk response bean and is returned.
Returns:
Topic - Topic, whose state is changed.

Copyright © 2005, Oracle. All rights reserved.