Package ddf.catalog.operation.impl
Class UpdateResponseImpl
java.lang.Object
ddf.catalog.operation.impl.OperationImpl
ddf.catalog.operation.impl.ResponseImpl<ddf.catalog.operation.UpdateRequest>
ddf.catalog.operation.impl.UpdateResponseImpl
- All Implemented Interfaces:
ddf.catalog.operation.Operation,ddf.catalog.operation.Response<ddf.catalog.operation.UpdateRequest>,ddf.catalog.operation.UpdateResponse,Serializable
public class UpdateResponseImpl
extends ResponseImpl<ddf.catalog.operation.UpdateRequest>
implements ddf.catalog.operation.UpdateResponse
The UpdateResponseImpl represents a default implementation of an
UpdateRequest- See Also:
-
Field Summary
FieldsFields inherited from class ddf.catalog.operation.impl.ResponseImpl
request -
Constructor Summary
ConstructorsConstructorDescriptionUpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.data.Metacard> updatedMetacards, List<ddf.catalog.data.Metacard> oldMetacards) Instantiates a new UpdateResponseImpl with old and newMetacard(s).UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.data.Metacard> updatedMetacards, List<ddf.catalog.data.Metacard> oldMetacards, Set<ddf.catalog.operation.ProcessingDetails> errors) Instantiates a new UpdateResponseImpl with old and newMetacard(s).UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.operation.Update> updatedMetacards) Instantiates a new UpdateResponseImpl.UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.operation.Update> updatedMetacards, Set<ddf.catalog.operation.ProcessingDetails> errors) Instantiates a new UpdateResponseImpl. -
Method Summary
Methods inherited from class ddf.catalog.operation.impl.ResponseImpl
getRequestMethods 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, hasPropertiesMethods inherited from interface ddf.catalog.operation.Response
getRequest
-
Field Details
-
updatedMetacards
-
-
Constructor Details
-
UpdateResponseImpl
public UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.operation.Update> updatedMetacards) Instantiates a new UpdateResponseImpl.- Parameters:
request- the original requestproperties- the properties associated with the operationupdatedMetacards- the updated metacards
-
UpdateResponseImpl
public UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.operation.Update> updatedMetacards, Set<ddf.catalog.operation.ProcessingDetails> errors) Instantiates a new UpdateResponseImpl.- Parameters:
request- the original requestproperties- the properties associated with the operationupdatedMetacards- the updated metacardserrors- the processing errors
-
UpdateResponseImpl
public UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.data.Metacard> updatedMetacards, List<ddf.catalog.data.Metacard> oldMetacards) Instantiates a new UpdateResponseImpl with old and newMetacard(s).- Parameters:
request- the original requestproperties- the properties associated with the operationupdatedMetacards- the updated metacardsoldMetacards- the old metacards (prior to the updates)
-
UpdateResponseImpl
public UpdateResponseImpl(ddf.catalog.operation.UpdateRequest request, Map<String, Serializable> properties, List<ddf.catalog.data.Metacard> updatedMetacards, List<ddf.catalog.data.Metacard> oldMetacards, Set<ddf.catalog.operation.ProcessingDetails> errors) Instantiates a new UpdateResponseImpl with old and newMetacard(s).- Parameters:
request- the original requestproperties- the properties associated with the operationupdatedMetacards- the updated metacardsoldMetacards- the old metacards (prior to the updates)errors- the processing errors
-
-
Method Details
-
getProcessingErrors
- Specified by:
getProcessingErrorsin interfaceddf.catalog.operation.Response<ddf.catalog.operation.UpdateRequest>
-
getUpdatedMetacards
- Specified by:
getUpdatedMetacardsin interfaceddf.catalog.operation.UpdateResponse
-