Class DeleteRequestImpl

java.lang.Object
ddf.catalog.operation.impl.OperationImpl
ddf.catalog.operation.impl.DeleteRequestImpl
All Implemented Interfaces:
ddf.catalog.operation.DeleteRequest, ddf.catalog.operation.Operation, ddf.catalog.operation.Request, Serializable

public class DeleteRequestImpl extends OperationImpl implements ddf.catalog.operation.DeleteRequest
The DeleteRequestImpl class is used to delete a single or list of the String id or URI.
See Also:
  • Field Details

    • name

      protected String name
      The name of the attribute indicating id or URI
  • Constructor Details

    • DeleteRequestImpl

      public DeleteRequestImpl(String id)
      Instantiates a new DeleteRequestImpl with a single String id to be deleted.
      Parameters:
      id - - the id to be used for the delete operation
    • DeleteRequestImpl

      public DeleteRequestImpl(String[] ids)
      Instantiates a new DeleteRequestImpl with an array of String id to be deleted.
      Parameters:
      id1 - - the id to be used for the delete operation
    • DeleteRequestImpl

      public DeleteRequestImpl(String[] ids, Map<String,Serializable> properties)
      Instantiates a new DeleteRequestImpl to be deleted with an array of String ids and a Map of properties
      Parameters:
      ids - - String list of ids
      properties - - the properties associated with the operation
    • DeleteRequestImpl

      public DeleteRequestImpl(URI uri)
      Instantiates a new DeleteRequestImpl with an single URI
      Parameters:
      uri - - the URI to be used for the delete operation
    • DeleteRequestImpl

      public DeleteRequestImpl(URI[] uris)
      Instantiates a new DeleteRequestImpl with a URI array
      Parameters:
      uris - - the list of URI to be used for the delete operation
    • DeleteRequestImpl

      public DeleteRequestImpl(URI[] uris, Map<String,Serializable> properties)
      Instantiates a new DeleteRequestImpl with a URI array with a Map of properties
      Parameters:
      uris - - the list of URI to be deleted
      properties - - the properties associated with the delete operation
    • DeleteRequestImpl

      public DeleteRequestImpl(List<Serializable> values, String attributeName, Map<String,Serializable> properties)
      Instantiates a new DeleteRequestImpl with a List of Serializable values. This allows for custom delete operations aside from String id or URI.
      Parameters:
      values - - the values to be used in the delete operation
      attributeName - - the attribute name associated with the values
      properties - the properties
    • DeleteRequestImpl

      public DeleteRequestImpl(List<Serializable> values, String attributeName, Map<String,Serializable> properties, Set<String> destinations)
  • Method Details

    • getStoreIds

      public Set<String> getStoreIds()
      Specified by:
      getStoreIds in interface ddf.catalog.operation.Request
    • getAttributeName

      public String getAttributeName()
      Specified by:
      getAttributeName in interface ddf.catalog.operation.DeleteRequest
    • getAttributeValues

      public List<Serializable> getAttributeValues()
      Specified by:
      getAttributeValues in interface ddf.catalog.operation.DeleteRequest