java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.common.transaction.DeleteActionImpl
All Implemented Interfaces:
org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction

public class DeleteActionImpl extends Object implements org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction
A DeleteActionImpl represents a single delete action within a CSW transaction.
  • Constructor Details

    • DeleteActionImpl

      public DeleteActionImpl(net.opengis.cat.csw.v_2_0_2.DeleteType deleteType, Map<String,String> prefixToUriMappings)
      Constructs a DeleteActionImpl with a DeleteType and a map of XML namespace prefixes to their respective URIs. The map should contain the prefix to URI mappings declared in the transaction request XML.

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

      Parameters:
      deleteType - the DeleteType representing the delete action
      prefixToUriMappings - the map that contains the XML namespace prefix to URI mappings declared in the transaction request XML
  • Method Details

    • getConstraint

      public net.opengis.cat.csw.v_2_0_2.QueryConstraintType getConstraint()
      Specified by:
      getConstraint in interface org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction
    • getPrefixToUriMappings

      public Map<String,String> getPrefixToUriMappings()
      Specified by:
      getPrefixToUriMappings in interface org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction
    • getTypeName

      public String getTypeName()
      Specified by:
      getTypeName in interface org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction
    • getHandle

      public String getHandle()
      Specified by:
      getHandle in interface org.codice.ddf.spatial.ogc.csw.catalog.actions.DeleteAction