Class CustomerImportBatchIndexableTypeMapping
java.lang.Object
com.broadleafcommerce.dataimport.service.index.CustomerImportBatchIndexableTypeMapping
- All Implemented Interfaces:
ImportBatchIndexableTypeMapping
public class CustomerImportBatchIndexableTypeMapping
extends Object
implements ImportBatchIndexableTypeMapping
ImportBatchIndexableTypeMapping
for imports that need to emit messages for
BatchIndexableType.CUSTOMER
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBatchIndexableType
(Import importEntity) Given an import entity, return the batch indexable type that should be used for it (if applicable).
-
Constructor Details
-
CustomerImportBatchIndexableTypeMapping
public CustomerImportBatchIndexableTypeMapping()
-
-
Method Details
-
getBatchIndexableType
Description copied from interface:ImportBatchIndexableTypeMapping
Given an import entity, return the batch indexable type that should be used for it (if applicable).Typically, most implementations will just determine the indexable type by examining
Import.getType()
.- Specified by:
getBatchIndexableType
in interfaceImportBatchIndexableTypeMapping
- Parameters:
importEntity
- the import entity for which to determine the batch indexable type- Returns:
- the determined batch indexable type for this import entity. In cases where the
implementation does not support or cannot determine the batch indexable type for the
import,
null
will be returned. - See Also:
-
BatchIndexableType
-
getSupportedImportTypes
-