Class AdminCatalogActionsController

java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
org.broadleafcommerce.admin.web.controller.action.AdminCatalogActionsController

@Controller("blAdminCatalogActionsController") public class AdminCatalogActionsController extends AdminAbstractController
Controller that responds to custom catalog actions. These would normally be hooked up in customized controllers like AdminProductController
Author:
Phillip Verheyden (phillipuniverse)
  • Field Details

    • adminCatalogService

      protected AdminCatalogService adminCatalogService
    • messageSource

      @Autowired protected org.springframework.context.MessageSource messageSource
  • Constructor Details

    • AdminCatalogActionsController

      public AdminCatalogActionsController()
  • Method Details

    • generateSkus

      @RequestMapping(value="product/{productId}/{skusFieldName}/generate-skus", method=GET, produces="application/json") @ResponseBody public Map<String,Object> generateSkus(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable("productId") Long productId, @PathVariable("skusFieldName") String skusFieldName)
      Invokes a separate service to generate a list of Skus for a particular Product and that Product's Product Options