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

Part No. B28210-01


oracle.discussions.ws.beans
Class SubscribeToTopicsBulkResponse

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


public class SubscribeToTopicsBulkResponse
extends java.lang.Object

Bulk response bean, returning the response of subscribeToTopics invocation. Represents a

The call invocation returns an array of bulk response beans, each representing the status of an individual topic subscription.


Method Summary
 java.lang.String getErrorCode()
          Returns the error code, corresponding to the error message.
 java.lang.String getErrorMessage()
          Returns the localized error message, depicting the server side error.
 Subscription getSubscription()
          Returns the subscription, 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, depicting 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

isError

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

The bulk response bean can wrap

If the subscription operation failed and if the bulk response bean wraps an error, a true is returned.
Returns:
boolean - Indicates if the topic subscription operation failed.

getSubscription

public Subscription getSubscription()
Returns the subscription, wrapped around by the bulk response bean.

If the topic is subscribed successfully, this method returns the subscription bean created.

Returns:
Subscription - topic subscription created.

Copyright © 2005, Oracle. All rights reserved.