Class ProductSpecification
java.lang.Object
com.broadleafcommerce.dataimport.processor.specification.DefaultSpecification
com.broadleafcommerce.dataimport.processor.specification.ProductSpecification
- All Implemented Interfaces:
GlobalImportSpecification
,ImportSpecification
@Deprecated
public class ProductSpecification
extends DefaultSpecification
implements GlobalImportSpecification
Deprecated.
- Author:
- Phillip Verheyden (phillipuniverse)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated.static final class
Deprecated.static final class
Deprecated. -
Field Summary
Fields inherited from class com.broadleafcommerce.dataimport.processor.specification.DefaultSpecification
dependencyMappings, fieldConfigMap
Fields inherited from interface com.broadleafcommerce.dataimport.processor.specification.ImportSpecification
ROW_DETERMINATION_COLUMN
-
Constructor Summary
ConstructorDescriptionProductSpecification
(String importType, List<ImportDataNormalizer> importDataNormalizers, List<String> requiredAuthorities, List<String> requiredScopes) Deprecated.ProductSpecification
(List<ImportDataNormalizer> importDataNormalizers, List<String> requiredAuthorities, List<String> requiredScopes) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Whether or not this specification can actually handle the given import.Deprecated.The list ofImportDataNormalizer
that will be executed to pre-process the data parsed out from the file.protected void
Deprecated.protected void
Deprecated.boolean
Deprecated.Whether or not the entity is catalog discriminated.boolean
Deprecated.Whether or not the entity is sandbox discriminated.Methods inherited from class com.broadleafcommerce.dataimport.processor.specification.DefaultSpecification
getDependencyMappings, getDynamicHeaderMappingConfigsByRowType, getFieldConfigMap, getHeaderFieldConfigsByRowType, getImportType, getName, getRequiredAuthorities, getRequiredHeaders, getRequiredHeaders, getRequiredScopes, isRequiresRowTypeHeader, mapDynamicFieldToHeader, mapDynamicHeaderToField, populateDynamicHeaderMappingsByRowType, populateHeaderFieldConfigsByRowType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.dataimport.processor.specification.GlobalImportSpecification
getParentEntityIdHeader, hasParentEntity
Methods inherited from interface com.broadleafcommerce.dataimport.processor.specification.ImportSpecification
getDependencyMappings, getFieldConfigMap, getHeaderFieldConfigsByRowType, getImportType, getMainRecordType, getName, getRequiredAuthorities, getRequiredHeaders, getRequiredHeaders, getRequiredScopes, isRequiresRowTypeHeader, mapDynamicFieldToHeader, mapDynamicHeaderToField, parentEntityIdRequiredInRequest, resolveAndRemoveRecordType, resolveRecordTypeBeforePropertyMapping, shouldAllowUnmappedHeaders, shouldAutoGenerateOperationTypeForEachRecord, shouldAutoGenerateResourceTierIdForEachRecord
-
Constructor Details
-
ProductSpecification
public ProductSpecification(List<ImportDataNormalizer> importDataNormalizers, List<String> requiredAuthorities, List<String> requiredScopes) Deprecated. -
ProductSpecification
public ProductSpecification(String importType, List<ImportDataNormalizer> importDataNormalizers, List<String> requiredAuthorities, List<String> requiredScopes) Deprecated.
-
-
Method Details
-
canHandle
Deprecated.Description copied from interface:ImportSpecification
Whether or not this specification can actually handle the given import. Checks will generally be based on the import type.- Specified by:
canHandle
in interfaceImportSpecification
- Overrides:
canHandle
in classDefaultSpecification
- Returns:
- whether or not this specification can actually handle the given import
-
isCatalogDiscriminated
public boolean isCatalogDiscriminated()Deprecated.Description copied from interface:ImportSpecification
Whether or not the entity is catalog discriminated.- Specified by:
isCatalogDiscriminated
in interfaceImportSpecification
- Returns:
- true if the entity is catalog discriminated or false otherwise
-
isSandboxDiscriminated
public boolean isSandboxDiscriminated()Deprecated.Description copied from interface:ImportSpecification
Whether or not the entity is sandbox discriminated.- Specified by:
isSandboxDiscriminated
in interfaceImportSpecification
- Returns:
- true if the entity is sandbox discriminated or false otherwise
-
initializeFieldConfigMap
protected void initializeFieldConfigMap()Deprecated. -
initializeDependencyMappings
protected void initializeDependencyMappings()Deprecated. -
getImportDataNormalizers
Deprecated.Description copied from interface:ImportSpecification
The list ofImportDataNormalizer
that will be executed to pre-process the data parsed out from the file.- Specified by:
getImportDataNormalizers
in interfaceImportSpecification
- Returns:
- the list of
ImportDataNormalizer
-
CompleteProductImportSpecification