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

Part No. B28210-01


oracle.discussions.ws.beans
Class CreateCategoryBulkResponse

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


public class CreateCategoryBulkResponse
extends java.lang.Object

Bulk response bean, returning the response of CreateCategories invocation.

Represents a

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


Method Summary
 Category getCategory()
          Returns the category, wrapped around by the bulk response bean.
 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.
 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

getCategory

public Category getCategory()
Returns the category, wrapped around by the bulk response bean. If the category creation is successful, a category bean, representing the category created, is returned.
Returns:
Category - Category, whose state is changed.

isError

public boolean isError()
Returns if the bulk response bean wraps an error. Returns true, if the category creation failed, false otherwise.
Returns:
boolean - Status if the bean wraps an error.

Copyright © 2005, Oracle. All rights reserved.