Class BatchCompletionRecord
java.lang.Object
com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord
- Author:
 - Phillip Verheyden (phillipuniverse)
 
- 
Constructor Summary
ConstructorsConstructorDescriptionBatchCompletionRecord(String correlationId, BatchCompletionRecordStatus status) Creates a record that does not have a dedicated identifier within the resource tier (e.g.BatchCompletionRecord(String correlationId, BatchCompletionRecordStatus status, String resourceTierIdentifier) BatchCompletionRecord(String correlationId, BatchCompletionRecordStatus status, String errorMessage, String resourceTierIdentifier)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhich record was actually completed to map back to a record in the sent batch from the import processIfstatusisBatchCompletionRecordStatus.ERROR, then this contains a message detailing what the problem was.Gives the ability to, from the import service, map back a resource tier identifier from an item in the batch that was successfully (or unsuccessfully) persisted.Status of the recordinthashCode()toString() 
- 
Constructor Details
- 
BatchCompletionRecord
Creates a record that does not have a dedicated identifier within the resource tier (e.g. an embedded object)- Parameters:
 correlationId- batch record correlationstatus- whether or not this was successful
 - 
BatchCompletionRecord
public BatchCompletionRecord(String correlationId, BatchCompletionRecordStatus status, String resourceTierIdentifier)  - 
BatchCompletionRecord
public BatchCompletionRecord(String correlationId, BatchCompletionRecordStatus status, @Nullable String errorMessage, @Nullable String resourceTierIdentifier)  
 - 
 - 
Method Details
- 
getCorrelationId
Which record was actually completed to map back to a record in the sent batch from the import process - 
getStatus
Status of the record - 
getErrorMessage
IfstatusisBatchCompletionRecordStatus.ERROR, then this contains a message detailing what the problem was. - 
getResourceTierIdentifier
Gives the ability to, from the import service, map back a resource tier identifier from an item in the batch that was successfully (or unsuccessfully) persisted. All of the items within a batch do not necessarily need to have an identifier associated with them so this can be null - 
toString
 - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() 
 -