Interface CswActionTransformer


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

A CswActionTransformer is used to modify CSW transactions before they are run. Specifically, it modifies UpdateAction, DeleteAction, and InsertAction objects before they are processed by the framework.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a set of typenames this transformer can be applied to.
    org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction
    transform(org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction deleteAction)
    Transforms a DeleteAction.
    org.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction
    transform(org.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction insertAction)
    Transforms an InsertAction.
    org.codice.ddf.spatial.ogc.csw.catalog.actions.UpdateAction
    transform(org.codice.ddf.spatial.ogc.csw.catalog.actions.UpdateAction updateAction)
    Transforms an UpdateAction.
  • Method Details

    • transform

      org.codice.ddf.spatial.ogc.csw.catalog.actions.UpdateAction transform(org.codice.ddf.spatial.ogc.csw.catalog.actions.UpdateAction updateAction)
      Transforms an UpdateAction.
      Parameters:
      updateAction - the UpdateAction to transform.
      Returns:
      the transformed UpdateAction.
    • transform

      org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction transform(org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction deleteAction)
      Transforms a DeleteAction.
      Parameters:
      deleteAction - the DeleteAction to transform.
      Returns:
      the transformed DeleteAction.
    • transform

      org.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction transform(org.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction insertAction)
      Transforms an InsertAction.
      Parameters:
      insertAction - the InsertAction to transform.
      Returns:
      the transformed InsertAction.
    • getTypeNames

      Set<String> getTypeNames()
      Returns a set of typenames this transformer can be applied to.
      Returns:
      a set of typenames this transformer can be applied to.