@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 java.lang.String |
SECTION_KEY |
adminNavigationService, adminRemoteSecurityService, entityConfiguration, entityFormValidator, formService, service| Constructor and Description |
|---|
AdminOfferController() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getSectionKey(java.util.Map<java.lang.String,java.lang.String> pathVars) |
java.lang.String |
viewAddEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
java.util.Map<java.lang.String,java.lang.String> pathVars,
java.lang.String entityType) |
java.lang.String |
viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
java.util.Map<java.lang.String,java.lang.String> pathVars,
java.lang.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 java.lang.String SECTION_KEY
protected java.lang.String getSectionKey(java.util.Map<java.lang.String,java.lang.String> pathVars)
getSectionKey in class AdminAbstractController@RequestMapping(value="/{id}",
method=GET)
public java.lang.String viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
java.util.Map<java.lang.String,java.lang.String> pathVars,
@PathVariable(value="id")
java.lang.String id)
throws java.lang.Exception
viewEntityForm in class AdminBasicEntityControllerjava.lang.Exception@RequestMapping(value="/add",
method=GET)
public java.lang.String viewAddEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
java.util.Map<java.lang.String,java.lang.String> pathVars,
@RequestParam(defaultValue="")
java.lang.String entityType)
throws java.lang.Exception
viewAddEntityForm in class AdminBasicEntityControllerjava.lang.ExceptionCopyright © 2018. All Rights Reserved.