public class AdminAdvancedOfferController
extends org.broadleafcommerce.admin.web.controller.entity.AdminOfferController
| Modifier and Type | Field and Description |
|---|---|
static Long |
DEFAULT_OFFER_TEMPLATE_ID |
static String |
DEFAULT_OFFER_TEMPLATE_IDENTIFIER |
static String |
EMBEDDABLE_ADVANCED_OFFER_IS_TIERED_OFFER |
static String |
OFFER_IMPL_QUALIFIERS_TAB |
static String |
OFFER_TEMPLATE_FIELD_NAME |
protected OfferTemplateService |
offerTemplateService |
static String |
TRUE |
static String |
VALUE_FIELD |
static String |
ZERO_VALUE |
customCriteria, duplicator, offerService, SECTION_KEYadminUserDao, adornedTargetAutoPopulateExtensionManager, ALTERNATE_ID_PROPERTY, CUSTOM_CRITERIA, dynamicEntityDao, IS_SELECTIZE_REQUEST, LOG, rowLevelSecurityService, sandBoxHelperadminNavigationService, 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 |
|---|
AdminAdvancedOfferController() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCleanedFieldName(OfferDependentField f) |
String |
getDefaultOfferTemplateIdentifier() |
String |
saveEntity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes ra) |
String |
viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id) |
String |
viewEntityList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
addDuplicateOption, addEntity, duplicateEntity, getErrorDuplicatingResponse, getSectionCustomCriteria, getSectionKey, modifyModelAttributes, viewAddEntityFormaddAddActionIfAllowed, addAuditableDisplayFields, addCollectionItem, addCollectionItem, addEmptyCollectionItem, addSelectizeCollectionItem, buildAddCollectionItemModel, buildDirtyList, buildSelectizeCustomCriteria, declareShouldIgnoreAdditionStatusFilter, getCollectionFieldRecords, getCollectionValueDetails, getCurrentTabName, getCustomCriteria, getSelectizeCollectionOptions, getViewSubRecords, initBinder, isAddActionAllowed, removeCollectionItem, removeCollectionItem, removeEntity, saveEntityJson, setTypedEntityModelAttributes, setupViewEntityListBasicModel, showAddCollectionItem, showUpdateCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItem, updateCollectionItemSequence, updateCollectionItemSequence, viewCollectionItemDetails, viewCollectionItemTab, viewEntityListSelectize, viewEntityTabattachSectionSpecificInfo, attachSectionSpecificInfo, createSectionCrumb, extractDynamicFormFields, getAddEntityTypes, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getEntityForm, getEntityForm, getEntityForm, getFirstId, getLastId, getLowerCount, getMaxIndex, getMaxResults, getPageSize, getPersistencePackageRequest, getSectionCrumbs, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, getUpperCount, modifyAddEntityForm, modifyCriteria, modifyEntityForm, populateJsonValidationErrors, setModelAttributes, setSpecializedNameForFields, translateErrorMessagepublic static final String DEFAULT_OFFER_TEMPLATE_IDENTIFIER
public static final Long DEFAULT_OFFER_TEMPLATE_ID
public static final String OFFER_IMPL_QUALIFIERS_TAB
public static final String OFFER_TEMPLATE_FIELD_NAME
public static final String EMBEDDABLE_ADVANCED_OFFER_IS_TIERED_OFFER
public static final String TRUE
public static final String VALUE_FIELD
public static final String ZERO_VALUE
protected OfferTemplateService offerTemplateService
public String viewEntityList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable Map<String,String> pathVars, @RequestParam org.springframework.util.MultiValueMap<String,String> requestParams) throws Exception
viewEntityList in class org.broadleafcommerce.admin.web.controller.entity.AdminOfferControllerException@RequestMapping(value="/{id}",
method=GET)
public String viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@PathVariable(value="id")
String id)
throws Exception
viewEntityForm in class org.broadleafcommerce.admin.web.controller.entity.AdminOfferControllerException@RequestMapping(value="/{id}",
method=POST)
public String saveEntity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@PathVariable(value="id")
String id,
@ModelAttribute(value="entityForm")
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes ra)
throws Exception
saveEntity in class org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityControllerExceptionprotected String getCleanedFieldName(OfferDependentField f)
public String getDefaultOfferTemplateIdentifier()
Copyright © 2020. All rights reserved.