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

Part No. B28210-01


oracle.discussions.ws.beans
Class CreateTopicBulkResponse

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


public class CreateTopicBulkResponse
extends java.lang.Object

Bulk response bean, returning the response of createTopics invocation.

Represents a

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


Method Summary
 java.lang.String getErrorCode()
          Returns the error code, corresponding to the exception message.
 java.lang.String getErrorMessage()
          Returns the localized error message, corresponding to the server side exception.
 ForumMessage getForumMessage()
          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 error 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 topic creation failed, false otherwise.
Returns:
boolean - Status if the bean wraps an error.

getForumMessage

public ForumMessage getForumMessage()
Returns the topic, wrapped around by the bulk response bean. If the topic creation is successful, a topic bean corresponding to the topic created, is returned.
Returns:
ForumMessage - Topic, created.

Copyright © 2005, Oracle. All rights reserved.