@ConditionalOnExport @Component(value="blAdminAdvancedOfferExportController") @RequestMapping(value="/export") public class AdminAdvancedOfferExportController extends org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_FRIENDLY_NAME |
protected AdvancedOfferExportScheduler |
scheduler |
adminNavigationService, adminRemoteSecurityService, CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME, CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME, customCriteriaService, entityConfiguration, entityFormValidator, extensionManager, FILTER_VALUE_SEPARATOR, FILTER_VALUE_SEPARATOR_REGEX, filterProductTypeExtensionManager, formService, service, validationService| Constructor and Description |
|---|
AdminAdvancedOfferExportController() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
uploadExport(javax.servlet.http.HttpServletRequest request,
Boolean shareable,
String exportEncoding,
String exportType,
String friendlyName,
Long id)
Used by the Import/Export Prompt to upload a data file and then schedule a job
so that it can be processed later.
|
String |
viewConfigurePrompt(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
Shows the form that the allows the user to upload an import file
|
attachSectionSpecificInfo, attachSectionSpecificInfo, createSectionCrumb, extractDynamicFormFields, getAddEntityTypes, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getEntityForm, getEntityForm, getEntityForm, getFirstId, getLastId, getLowerCount, getMaxIndex, getMaxResults, getPageSize, getPersistencePackageRequest, getSectionCrumbs, getSectionCustomCriteria, getSectionKey, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, getUpperCount, modifyAddEntityForm, modifyCriteria, modifyEntityForm, populateJsonValidationErrors, setModelAttributes, setSpecializedNameForFields, translateErrorMessageprotected static final String DEFAULT_FRIENDLY_NAME
protected AdvancedOfferExportScheduler scheduler
@RequestMapping(value="/offer-code-generation/{id}",
method=GET)
public String viewConfigurePrompt(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
throws Exception
Exception@RequestMapping(value="/offer-code-generation/{id}",
method=POST,
produces="application/json")
@ResponseBody
public Map<String,String> uploadExport(javax.servlet.http.HttpServletRequest request,
@RequestParam(value="shareable",defaultValue="false")
Boolean shareable,
@RequestParam(value="exportEncoding")
String exportEncoding,
@RequestParam(value="exportType")
String exportType,
@RequestParam(value="friendlyName",defaultValue="Offer Code Group Export")
String friendlyName,
@PathVariable(value="id")
Long id)
Copyright © 2020. All rights reserved.