Interface UpdateAction


public interface UpdateAction
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 UpdateAction represents a single update action within a CSW transaction.

  • Method Summary

    Modifier and Type
    Method
    Description
    net.opengis.cat.csw.v_2_0_2.QueryConstraintType
    Returns the QueryConstraintType that specifies which metacards this update will be applied to.
    Returns a unique String used to identify this UpdateAction within a transaction.
    ddf.catalog.data.Metacard
    Returns the metacard that will replace the existing metacard.
    Returns a map that contains the XML namespace prefix to URI mappings declared in the transaction request XML
    Returns the specified map of attributes to new values to update in the metacard.
    Returns the type of record being updated, such as csw:Record.
  • Method Details

    • getMetacard

      ddf.catalog.data.Metacard getMetacard()
      Returns the metacard that will replace the existing metacard.
      Returns:
      the metacard that will replace the existing metacard.
    • getConstraint

      net.opengis.cat.csw.v_2_0_2.QueryConstraintType getConstraint()
      Returns the QueryConstraintType that specifies which metacards this update will be applied to.
      Returns:
      the QueryConstraintType that specifies which metacards this update will be applied to.
    • getRecordProperties

      Map<String,Serializable> getRecordProperties()
      Returns the specified map of attributes to new values to update in the metacard.
      Returns:
      a map of attributes to new values to update in the metacard.
    • getPrefixToUriMappings

      Map<String,String> getPrefixToUriMappings()
      Returns a map that contains the XML namespace prefix to URI mappings declared in the transaction request XML
      Returns:
      a map that contains the XML namespace prefix to URI mappings declared in the transaction request XML
    • getTypeName

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

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

      If an error occurs while processing this update 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 UpdateAction within a transaction.