@Controller(value="blAdminCustomerCreditAccountController")
@RequestMapping(value="/customer-credit")
public class AdminCustomerCreditAccountController
extends org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
CustomerCreditAccount
entity.
Editing a Customer Credit requires custom criteria in order to properly
invoke the CustomerCreditAccountCustomPersistenceHandlerModifier and Type | Field and Description |
---|---|
protected static String |
SECTION_KEY |
adminUserDao, adornedTargetAutoPopulateExtensionManager, ALTERNATE_ID_PROPERTY, CUSTOM_CRITERIA, dynamicEntityDao, IS_SELECTIZE_REQUEST, LOG, rowLevelSecurityService, sandBoxHelper
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 |
---|
AdminCustomerCreditAccountController() |
Modifier and Type | Method and Description |
---|---|
String |
addCollectionItem(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String collectionField,
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
org.springframework.validation.BindingResult result) |
protected String |
buildAddCollectionItemModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
String id,
String collectionField,
String sectionKey,
org.broadleafcommerce.openadmin.dto.Property collectionProperty,
org.broadleafcommerce.openadmin.dto.FieldMetadata md,
org.broadleafcommerce.openadmin.server.domain.PersistencePackageRequest ppr,
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
org.broadleafcommerce.openadmin.dto.Entity entity) |
protected String |
getSectionKey(Map<String,String> pathVars) |
String |
viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id) |
addAddActionIfAllowed, addAuditableDisplayFields, addCollectionItem, addEmptyCollectionItem, addEntity, addSelectizeCollectionItem, buildDirtyList, buildSelectizeCustomCriteria, declareShouldIgnoreAdditionStatusFilter, getCollectionFieldRecords, getCollectionValueDetails, getCurrentTabName, getCustomCriteria, getSelectizeCollectionOptions, getViewSubRecords, initBinder, isAddActionAllowed, removeCollectionItem, removeCollectionItem, removeEntity, saveEntity, saveEntityJson, setTypedEntityModelAttributes, setupViewEntityListBasicModel, showAddCollectionItem, showUpdateCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItem, updateCollectionItemSequence, updateCollectionItemSequence, viewAddEntityForm, viewCollectionItemDetails, viewCollectionItemTab, viewEntityList, viewEntityListSelectize, viewEntityTab
attachSectionSpecificInfo, attachSectionSpecificInfo, createSectionCrumb, extractDynamicFormFields, getAddEntityTypes, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getEntityForm, getEntityForm, getEntityForm, getFirstId, getLastId, getLowerCount, getMaxIndex, getMaxResults, getPageSize, getPersistencePackageRequest, getSectionCrumbs, getSectionCustomCriteria, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, getUpperCount, modifyAddEntityForm, modifyCriteria, modifyEntityForm, populateJsonValidationErrors, setModelAttributes, setSpecializedNameForFields, translateErrorMessage
protected static final String SECTION_KEY
public AdminCustomerCreditAccountController()
protected String getSectionKey(Map<String,String> pathVars)
getSectionKey
in class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
@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.openadmin.web.controller.entity.AdminBasicEntityController
Exception
@RequestMapping(value="/{id}/{collectionField:.*}/add", method=POST) public String addCollectionItem(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, @PathVariable(value="collectionField") String collectionField, @ModelAttribute(value="entityForm") org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm, org.springframework.validation.BindingResult result) throws Exception
addCollectionItem
in class org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
Exception
protected String buildAddCollectionItemModel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, String id, String collectionField, String sectionKey, org.broadleafcommerce.openadmin.dto.Property collectionProperty, org.broadleafcommerce.openadmin.dto.FieldMetadata md, org.broadleafcommerce.openadmin.server.domain.PersistencePackageRequest ppr, org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm, org.broadleafcommerce.openadmin.dto.Entity entity) throws org.broadleafcommerce.common.exception.ServiceException
buildAddCollectionItemModel
in class org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
org.broadleafcommerce.common.exception.ServiceException
Copyright © 2019. All rights reserved.