Class AdminFieldController


@Controller("blAdminFieldController") @RequestMapping("/org.broadleafcommerce.core.search.domain.FieldImpl") public class AdminFieldController extends AdminBasicEntityController
  • Field Details

  • Constructor Details

    • AdminFieldController

      public AdminFieldController()
  • Method Details

    • getSectionKey

      protected String getSectionKey(Map<String,String> pathVars)
      Description copied from class: AdminAbstractController
      This method is used to determine the current section key. For this default implementation, the sectionKey is pulled from the pathVariable, {sectionKey}, as defined by the request mapping on this controller. To support controller inheritance and allow more specialized controllers to delegate some methods to this basic controller, overridden implementations of this method could return a hardcoded value instead of reading the map
      Overrides:
      getSectionKey in class AdminAbstractController
      Parameters:
      pathVars - - the map of all currently bound path variables for this request
      Returns:
      the sectionKey for this request
    • viewEntityListSelectize

      @RequestMapping(value="/selectize", method=GET) @ResponseBody public Map<String,Object> viewEntityListSelectize(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable Map<String,String> pathVars, @RequestParam org.springframework.util.MultiValueMap<String,String> requestParams) throws Exception
      Overrides:
      viewEntityListSelectize in class AdminBasicEntityController
      Throws:
      Exception
    • constructSelectizeOptionMap

      public Map<String,Object> constructSelectizeOptionMap(DynamicResultSet drs, ClassMetadata cmd)