Package | Description |
---|---|
com.broadleafcommerce.dataimport.service |
Modifier and Type | Method and Description |
---|---|
ImportScheduleDefinition |
ImportScheduleDefinition.withCatalog(Long catalogId)
Optional ability to import into a given catalog.
|
ImportScheduleDefinition |
ImportScheduleDefinition.withFilename(String filename)
If null, defaults to a filename that has the format %1-import-%2.%3 where:
%1 - the
getImportType() type
%2 - the current timestamp of the format yyyy.MM.dd.HH.mm.ss
%3 - the getSpecification() type
|
ImportScheduleDefinition |
ImportScheduleDefinition.withSandboxId(Long sandboxId)
Optional ability to import into a sandbox.
|
ImportScheduleDefinition |
ImportScheduleDefinition.withSite(Long siteId)
Optional ability to import into a given site.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ImportServiceImpl.populateProcessContext(Map<String,String> processParameters,
ImportScheduleDefinition scheduleDefinition,
Long adminUserId)
Saves off various parts of the
BroadleafRequestContext so that the job consumer can re-initialize things like
timezone, locale and admin user security to properly save process the import in the background thread |
com.broadleafcommerce.process.domain.Process |
ImportServiceImpl.scheduleImport(InputStream input,
ImportScheduleDefinition def)
Schedules an import to be processed as a background event to be picked up via the
ImportProcessExecutor . |
com.broadleafcommerce.process.domain.Process |
ImportService.scheduleImport(InputStream input,
ImportScheduleDefinition def)
Schedules an import to be processed as a background event to be picked up via the
ImportProcessExecutor . |
com.broadleafcommerce.process.domain.Process |
ImportServiceImpl.scheduleImport(InputStream input,
ImportScheduleDefinition def,
Map<String,String> additionalEventDetails) |
com.broadleafcommerce.process.domain.Process |
ImportService.scheduleImport(InputStream input,
ImportScheduleDefinition def,
Map<String,String> additionalEventDetails) |
Copyright © 2020. All rights reserved.