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 boolean
boolean
The 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, etcint
hashCode()
void
setContext
(BatchRequest.BatchContext context) void
setFileType
(String fileType) The original specification that this import comes from, like CSV, EXCEL, etcvoid
Unique identifier for this batchvoid
setImportId
(String importId) The import that this batch request is associated withvoid
setRecords
(List<BatchRecord> records) The records that should be inserted within this batchvoid
Configurable 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
-