BatchResult Methods

These are instance methods for BatchResult.

  • getError()

    If an error occurred, returns a ConnectApi.ConnectApiException object providing the error code and description.

  • getErrorMessage()

    Returns a String that contains an error message.

  • getErrorTypeName()

    Returns a String that contains the name of the error type.

  • getResult()

    Returns an object that contains the results of the batch operation. The object is typed according to the batch method. For example, if you call getMembershipBatch(), a successful call to BatchResult getResult() returns a ConnectApi.GroupMembership object.

  • isSuccess()

    Returns a Boolean that is set to true if the batch operation was successful for this object, false otherwise.