@RequestMapping(value="/structured-content") public class AdminStructuredContentController extends AdminBasicEntityController
StructuredContent entity. This entity has fields that are 
 dependent on the value of the StructuredContent.getStructuredContentType() field, and as such,
 it deviates from the typical AdminAbstractEntityController.| Modifier and Type | Field and Description | 
|---|---|
| protected static String | SECTION_KEY | 
adminUserDao, adornedTargetAutoPopulateExtensionManager, ALTERNATE_ID_PROPERTY, CUSTOM_CRITERIA, duplicator, dynamicEntityDao, genericEntityService, IS_SELECTIZE_REQUEST, LOG, rowLevelSecurityService, sandBoxHelperadminNavigationService, adminRemoteSecurityService, CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME, CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME, customCriteriaService, DEFAULT_CONTAINER_VIEW, entityConfiguration, entityFormValidator, extensionManager, FILTER_VALUE_SEPARATOR, FILTER_VALUE_SEPARATOR_REGEX, filterProductTypeExtensionManager, formService, MODAL_CONTAINER_VIEW, service, validationService| Constructor and Description | 
|---|
| AdminStructuredContentController() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDynamicForm(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response,
              org.springframework.ui.Model model,
              Map<String,String> pathVars,
              String propertyName,
              String propertyTypeId) | 
| protected String | getSectionKey(Map<String,String> pathVars)This method is used to determine the current section key. | 
| String | saveEntity(javax.servlet.http.HttpServletRequest request,
          javax.servlet.http.HttpServletResponse response,
          org.springframework.ui.Model model,
          Map<String,String> pathVars,
          String id,
          EntityForm entityForm,
          org.springframework.validation.BindingResult result,
          org.springframework.web.servlet.mvc.support.RedirectAttributes ra)Attempts to save the given entity. | 
| String | viewEntityForm(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response,
              org.springframework.ui.Model model,
              Map<String,String> pathVars,
              String id)Renders the main entity form for the specified entity | 
addAddActionIfAllowed, addAuditableDisplayFields, addCollectionItem, addCollectionItem, addEmptyCollectionItem, addEntity, addSelectizeCollectionItem, buildAddCollectionItemModel, buildDirtyList, buildSelectizeCustomCriteria, declareShouldIgnoreAdditionStatusFilter, determineEntityType, duplicateEntity, getCollectionFieldRecords, getCollectionValueDetails, getCurrentTabName, getCustomCriteria, getErrorDuplicatingResponse, getModalForBlankEntityType, getSelectizeCollectionOptions, getViewSubRecords, initBinder, isAddActionAllowed, isNotReadOnly, modifyEntityForm, reinitializeEntityForm, removeCollectionItem, removeCollectionItem, removeEntity, resolveAppropriateEntityView, saveEntityJson, setTypedEntityModelAttributes, setupViewEntityListBasicModel, showAddCollectionItem, showUpdateCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItem, updateCollectionItemSequence, updateCollectionItemSequence, viewAddEntityForm, viewCollectionItemDetails, viewCollectionItemTab, viewEntityList, viewEntityListSelectize, viewEntityTabattachSectionSpecificInfo, 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, translateErrorMessageaddDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected static final String SECTION_KEY
protected String getSectionKey(Map<String,String> pathVars)
AdminAbstractControllergetSectionKey in class AdminAbstractControllerpathVars - - the map of all currently bound path variables for this request@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
AdminBasicEntityControllerviewEntityForm in class AdminBasicEntityControllerException@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")
                                                                                     EntityForm entityForm,
                                                                                     org.springframework.validation.BindingResult result,
                                                                                     org.springframework.web.servlet.mvc.support.RedirectAttributes ra)
                                                                              throws Exception
AdminBasicEntityControllersaveEntity in class AdminBasicEntityControllerException@RequestMapping(value="/{propertyName}/dynamicForm",
                method=GET)
public String getDynamicForm(javax.servlet.http.HttpServletRequest request,
                                                                                                              javax.servlet.http.HttpServletResponse response,
                                                                                                              org.springframework.ui.Model model,
                                                                                                              @PathVariable
                                                                                                              Map<String,String> pathVars,
                                                                                                              @PathVariable(value="propertyName")
                                                                                                              String propertyName,
                                                                                                              @RequestParam(value="propertyTypeId")
                                                                                                              String propertyTypeId)
                                                                                                       throws Exception
ExceptionCopyright © 2020. All rights reserved.