@Component(value="blAdvancedOfferImportService") @ConditionalOnImport @ConditionalOnAdmin public class AdvancedOfferImportServiceImpl extends Object implements AdvancedOfferImportService
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPORT_OFFER_DETAIL |
static String |
IMPORT_OFFER_GROUP_DETAIL |
protected com.broadleafcommerce.dataimport.service.ImportService |
importService |
protected AdvOfferCodeDao |
offerCodeDao |
| Constructor and Description |
|---|
AdvancedOfferImportServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
scheduleImport(Long offerCodeGroupId,
InputStream file,
String importType)
Schedules the import of the offer code input stream via the import module's import service
with a default ImportScheduleDefinition
|
void |
scheduleImport(Long offerCodeGroupId,
InputStream file,
String importType,
com.broadleafcommerce.dataimport.service.ImportScheduleDefinition def)
Schedules the import of the offer code input stream via the import module's import service
with a specified ImportScheduleDefinition
|
@Autowired protected com.broadleafcommerce.dataimport.service.ImportService importService
@Autowired protected AdvOfferCodeDao offerCodeDao
public static final String IMPORT_OFFER_GROUP_DETAIL
public static final String IMPORT_OFFER_DETAIL
public void scheduleImport(Long offerCodeGroupId, InputStream file, String importType) throws Exception
AdvancedOfferImportServicescheduleImport in interface AdvancedOfferImportServiceExceptionpublic void scheduleImport(Long offerCodeGroupId, InputStream file, String importType, com.broadleafcommerce.dataimport.service.ImportScheduleDefinition def) throws Exception
AdvancedOfferImportServicescheduleImport in interface AdvancedOfferImportServiceExceptionCopyright © 2020. All rights reserved.