Interface InsertAction


public interface InsertAction
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.

An InsertAction represents a single insert action within a CSW transaction.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a unique String used to identify this InsertAction within a transaction.
    List<ddf.catalog.data.Metacard>
    Returns the list of records to insert.
    Returns the type of record being inserted, such as csw:Record.
  • Method Details

    • getRecords

      List<ddf.catalog.data.Metacard> getRecords()
      Returns the list of records to insert.
      Returns:
      the list of records to insert.
    • getTypeName

      String getTypeName()
      Returns the type of record being inserted, such as csw:Record.
      Returns:
      the type of record being inserted, such as csw:Record.
    • getHandle

      String getHandle()
      Returns a unique String used to identify this InsertAction within a transaction.

      If an error occurs while processing this insert action, this String will be included in the exception report response so the specific action within the transaction that caused the error can be identified.

      Returns:
      unique String used to identify this InsertAction within a transaction.