Uses of Class
com.broadleafcommerce.dataimport.domain.ImportRequest
Package
Description
-
Uses of ImportRequest in com.broadleafcommerce.dataimport.service
Modifier and TypeMethodDescriptionImportValidationContext.getRequest()
The original import requestModifier and TypeMethodDescriptionboolean
DefaultImportValidator.canValidate
(ImportRequest request) boolean
ImportValidator.canValidate
(ImportRequest request) Returns whether this validator can validate the given request.protected ImportValidationContext<FileReaderContext>
DefaultImportManager.createValidationContext
(ImportRequest request, ImportSpecification importSpecification, FileReader<FileReaderContext> fileReader, org.springframework.core.io.InputStreamSource inputStreamSource) protected String
DefaultImportManager.determineImportingSandboxId
(ImportRequest request) IfproductionImport
is true or ifimportingSandboxId
is blank, this will returnnull
.protected String
DefaultImportManager.determineName
(ImportRequest request) protected ImportValidator
DefaultImportManager.findValidator
(ImportRequest request) protected Import
DefaultImportManager.generateImportFromRequest
(ImportRequest request) Builds anImport
and initializes its basic fields from the values in theImportRequest
.protected String
DefaultImportManager.generateName
(ImportRequest request) protected String
DefaultImportManager.generateStoragePath
(ImportRequest request) protected void
DefaultImportManager.initializeContextFields
(Import target, ImportRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the context-related fields on the givenImport
, including the fields describing the context where the operation itself was initiated (such asImport.getApplicationId()
), and "importing context" fields describing the context where the operation will be performed (such asImport.getImportingApplicationId()
).protected void
DefaultImportManager.initializeImportingCatalogId
(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) InitializesImport.getImportingCatalogId()
.protected void
DefaultImportManager.initializeImportingSandboxFields
(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) Initializes sandbox-related fields on the importing context.protected void
DefaultImportManager.initializeParentEntityId
(ImportRequest request, Import newImport) InitializesImport.getParentEntityId()
fromgetParentEntityId()
.protected void
DefaultImportManager.initializeSandboxNameToCreate
(Import newImport, ImportRequest request) Sets theImport.importingSandboxNameToCreate
to the requested value if provided, else sets it to the name of the import.DefaultImportManager.initiateImport
(ImportRequest request, org.springframework.core.io.InputStreamSource inputStreamSource, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ImportManager.initiateImport
(ImportRequest request, org.springframework.core.io.InputStreamSource inputStreamSource, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates, prepares, and requests an import to be executed from the given request, but does not actually execute the import.DefaultImportManager.resolveParentEntityId
(ImportRequest request, Import newImport) Deprecated, for removal: This API element is subject to removal in a future version.protected ImportValidationResponse
DefaultImportManager.validateRequest
(ImportRequest request, org.springframework.core.io.InputStreamSource inputStreamSource, ImportSpecification spec) ModifierConstructorDescriptionImportValidationContext
(ImportRequest request, ImportSpecification importSpecification, FileReader<R> fileReader, org.springframework.core.io.InputStreamSource inputStreamSource) -
Uses of ImportRequest in com.broadleafcommerce.dataimport.web.endpoint
Modifier and TypeMethodDescriptionImportEndpoint.start
(ImportRequest request, org.springframework.web.multipart.MultipartFile file, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
DefaultImportManager.initializeParentEntityId(ImportRequest, Import)