Package com.documentum.fc.client

# Interface IDfBatchGroup

public interface IDfBatchGroup
This interface describes the batch group object used in batch inserts. The batch group treats the objects and insert statement inside the group as an atomic entity. Any error caused by one object will roll back all objects and insert statements in the group, but not affect other groups.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getErrorMessages()`
  Retrieve the error messages for the failed objects.
  `List<IDfPersistentObject>`
  `getFailedObjects()`
  Retrieve the failed objects from the group.
  `List<String>`
  `getInsertStmt()`
  Retrieve all insert statements for registered tables.
  `Collection<IDfPersistentObject>`
  `getObjects()`
  Retrieve all objects in the batch group.

- ## Method Details

  - ### getObjects

    Collection<IDfPersistentObject> getObjects()
    Retrieve all objects in the batch group.
    Returns:
      objects in the group

  - ### getInsertStmt

    List<String> getInsertStmt()
    Retrieve all insert statements for registered tables.
    Returns:
      insert statements

  - ### getFailedObjects

    List<IDfPersistentObject> getFailedObjects()
    Retrieve the failed objects from the group. These objects will have been removed by the server. They can only be used to get attributes for diagnosis. Any write operation will return an error.
    Returns:
      failed objects

  - ### getErrorMessages

    List<String> getErrorMessages()
    Retrieve the error messages for the failed objects.
    Returns:
      error messages