@Controller(value="blAdminOfferController") @RequestMapping(value="/offer") public class AdminOfferController extends AdminBasicEntityController
Offer entity. Certain Offer fields should only render when specific values
are set for other fields; we provide the support for that in this controller.| Modifier and Type | Field and Description |
|---|---|
protected static String |
SECTION_KEY |
adminNavigationService, adminRemoteSecurityService, entityConfiguration, entityFormValidator, formService, service| Constructor and Description |
|---|
AdminOfferController() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getSectionKey(Map<String,String> pathVars) |
String |
viewAddEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String entityType) |
String |
viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id)
Offer field visibility is dependent on other fields in the entity.
|
addCollectionItem, addEntity, buildAddCollectionItemModel, getCollectionFieldRecords, initBinder, removeCollectionItem, removeEntity, saveEntity, showAddCollectionItem, showSelectCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItemSequence, viewCollectionItemDetails, viewEntityListattachSectionSpecificInfo, getAddEntityTypes, getBlankDynamicFieldTemplateForm, getClassNameForSection, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getMaxIndex, getSectionCustomCriteria, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, setModelAttributesgetContextPath, isAjaxRequestprotected static final String SECTION_KEY
protected String getSectionKey(Map<String,String> pathVars)
getSectionKey in class 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 AdminBasicEntityControllerException@RequestMapping(value="/add",
method=GET)
public String viewAddEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam(defaultValue="")
String entityType)
throws Exception
viewAddEntityForm in class AdminBasicEntityControllerExceptionCopyright © 2017. All Rights Reserved.