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 Details

    • updatedMetacards

      protected List<ddf.catalog.operation.Update> 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 request
      properties - the properties associated with the operation
      updatedMetacards - 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 request
      properties - the properties associated with the operation
      updatedMetacards - the updated metacards
      errors - 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 new Metacard(s).
      Parameters:
      request - the original request
      properties - the properties associated with the operation
      updatedMetacards - the updated metacards
      oldMetacards - 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 new Metacard(s).
      Parameters:
      request - the original request
      properties - the properties associated with the operation
      updatedMetacards - the updated metacards
      oldMetacards - the old metacards (prior to the updates)
      errors - the processing errors
  • Method Details

    • getProcessingErrors

      public Set<ddf.catalog.operation.ProcessingDetails> getProcessingErrors()
      Specified by:
      getProcessingErrors in interface ddf.catalog.operation.Response<ddf.catalog.operation.UpdateRequest>
    • getUpdatedMetacards

      public List<ddf.catalog.operation.Update> getUpdatedMetacards()
      Specified by:
      getUpdatedMetacards in interface ddf.catalog.operation.UpdateResponse