Class BatchRequest
java.lang.Object
com.broadleafcommerce.common.dataimport.messaging.BatchRequest
Event domain sent across the
BatchRequestConsumer channel- Author:
- Phillip Verheyden (phillipuniverse)
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBatchRequest(String id, String importId, String type, String fileType, BatchRequest.BatchContext context, List<BatchRecord> records) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe original specification that this import comes from, like CSV, EXCEL, etcgetId()Unique identifier for this batchThe import that this batch request is associated withThe records that should be inserted within this batchgetType()Configurable type of this import, like PRODUCT, CATEGORY, etcinthashCode()voidsetContext(BatchRequest.BatchContext context) voidsetFileType(String fileType) The original specification that this import comes from, like CSV, EXCEL, etcvoidUnique identifier for this batchvoidsetImportId(String importId) The import that this batch request is associated withvoidsetRecords(List<BatchRecord> records) The records that should be inserted within this batchvoidConfigurable type of this import, like PRODUCT, CATEGORY, etctoString()
-
Constructor Details
-
BatchRequest
public BatchRequest() -
BatchRequest
public BatchRequest(String id, String importId, String type, String fileType, BatchRequest.BatchContext context, List<BatchRecord> records)
-
-
Method Details
-
getId
Unique identifier for this batch -
getImportId
The import that this batch request is associated with -
getType
Configurable type of this import, like PRODUCT, CATEGORY, etc -
getFileType
The original specification that this import comes from, like CSV, EXCEL, etc -
getContext
-
getRecords
The records that should be inserted within this batch -
setId
Unique identifier for this batch -
setImportId
The import that this batch request is associated with -
setType
Configurable type of this import, like PRODUCT, CATEGORY, etc -
setFileType
The original specification that this import comes from, like CSV, EXCEL, etc -
setContext
-
setRecords
The records that should be inserted within this batch -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-