Package ddf.catalog.operation.impl
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
- See Also:
-
Field Summary
FieldsFields inherited from interface ddf.catalog.operation.DeleteRequest
DELETE_BY_ID, DELETE_BY_PRODUCT_URI -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new DeleteRequestImpl with a singleStringid to be deleted.DeleteRequestImpl(String[] ids) Instantiates a new DeleteRequestImpl with an array ofStringid to be deleted.DeleteRequestImpl(String[] ids, Map<String, Serializable> properties) DeleteRequestImpl(URI uri) Instantiates a new DeleteRequestImpl with an singleURIDeleteRequestImpl(URI[] uris) Instantiates a new DeleteRequestImpl with aURIarrayDeleteRequestImpl(URI[] uris, Map<String, Serializable> properties) DeleteRequestImpl(List<Serializable> values, String attributeName, Map<String, Serializable> properties) Instantiates a new DeleteRequestImpl with aListofSerializablevalues.DeleteRequestImpl(List<Serializable> values, String attributeName, Map<String, Serializable> properties, Set<String> destinations) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class ddf.catalog.operation.impl.OperationImpl
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties, setPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ddf.catalog.operation.Operation
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties
-
Field Details
-
name
The name of the attribute indicating id or URI
-
-
Constructor Details
-
DeleteRequestImpl
Instantiates a new DeleteRequestImpl with a singleStringid to be deleted.- Parameters:
id- - the id to be used for the delete operation
-
DeleteRequestImpl
Instantiates a new DeleteRequestImpl with an array ofStringid to be deleted.- Parameters:
id1- - the id to be used for the delete operation
-
DeleteRequestImpl
Instantiates a new DeleteRequestImpl to be deleted with an array ofStringids and aMapof properties- Parameters:
ids- -Stringlist of idsproperties- - the properties associated with the operation
-
DeleteRequestImpl
Instantiates a new DeleteRequestImpl with an singleURI- Parameters:
uri- - theURIto be used for the delete operation
-
DeleteRequestImpl
Instantiates a new DeleteRequestImpl with aURIarray- Parameters:
uris- - the list ofURIto be used for the delete operation
-
DeleteRequestImpl
- Parameters:
uris- - the list ofURIto be deletedproperties- - the properties associated with the delete operation
-
DeleteRequestImpl
public DeleteRequestImpl(List<Serializable> values, String attributeName, Map<String, Serializable> properties) Instantiates a new DeleteRequestImpl with aListofSerializablevalues. This allows for custom delete operations aside from String id or URI.- Parameters:
values- - the values to be used in the delete operationattributeName- - the attribute name associated with the valuesproperties- the properties
-
DeleteRequestImpl
public DeleteRequestImpl(List<Serializable> values, String attributeName, Map<String, Serializable> properties, Set<String> destinations)
-
-
Method Details
-
getStoreIds
- Specified by:
getStoreIdsin interfaceddf.catalog.operation.Request
-
getAttributeName
- Specified by:
getAttributeNamein interfaceddf.catalog.operation.DeleteRequest
-
getAttributeValues
- Specified by:
getAttributeValuesin interfaceddf.catalog.operation.DeleteRequest
-