org.broadleafcommerce.admin.web.controller.action
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(value="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)
- See Also:
AdminProductController}
|
Method Summary |
Map<String,Object> |
generateSkus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Long productId,
String skusFieldName)
Invokes a separate service to generate a list of Skus for a particular Product and that Product's
Product Options |
| Methods inherited from class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController |
attachSectionSpecificInfo, extractDynamicFormFields, getAddEntityTypes, getBlankDynamicFieldTemplateForm, getBlankDynamicFieldTemplateForm, getClassNameForSection, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getMaxIndex, getSectionCustomCriteria, getSectionKey, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, setModelAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adminCatalogService
protected AdminCatalogService adminCatalogService
AdminCatalogActionsController
public AdminCatalogActionsController()
generateSkus
@RequestMapping(value="product/{productId}/{skusFieldName}/generate-skus",
method=GET,
produces="application/json")
@ResponseBody
public Map<String,Object> generateSkus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable(value="productId")
Long productId,
@PathVariable(value="skusFieldName")
String skusFieldName)
- Invokes a separate service to generate a list of Skus for a particular
Product and that Product's
Product Options
Copyright © 2013. All Rights Reserved.