org.broadleafcommerce.admin.web.controller.entity
Class AdminCategoryController

java.lang.Object
  extended by org.broadleafcommerce.common.web.controller.BroadleafAbstractController
      extended by org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
          extended by org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
              extended by org.broadleafcommerce.admin.web.controller.entity.AdminCategoryController

@Controller(value="blAdminCategoryController")
@RequestMapping(value="/category")
public class AdminCategoryController
extends AdminBasicEntityController

Handles admin operations for the Category entity.

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  CatalogService catalogService
           
protected static String SECTION_KEY
           
 
Fields inherited from class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
adminNavigationService, adminRemoteSecurityService, entityConfiguration, entityFormValidator, FILTER_VALUE_SEPARATOR, FILTER_VALUE_SEPARATOR_REGEX, formService, mainEntityActionsExtensionManager, service
 
Constructor Summary
AdminCategoryController()
           
 
Method Summary
protected  String getSectionKey(Map<String,String> pathVars)
           
 String viewEntityList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, Map<String,String> pathVars, org.springframework.util.MultiValueMap<String,String> requestParams)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
addAddActionIfAllowed, addCollectionItem, addEntity, buildAddCollectionItemModel, getCollectionFieldRecords, getCollectionValueDetails, initBinder, removeCollectionItem, removeEntity, saveEntity, showAddCollectionItem, showSelectCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItemSequence, viewAddEntityForm, viewCollectionItemDetails, viewEntityForm
 
Methods inherited from class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
attachSectionSpecificInfo, extractDynamicFormFields, getAddEntityTypes, getBlankDynamicFieldTemplateForm, getBlankDynamicFieldTemplateForm, getClassNameForSection, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getMaxIndex, getSectionCustomCriteria, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, setModelAttributes
 
Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
getContextPath, isAjaxRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECTION_KEY

protected static final String SECTION_KEY
See Also:
Constant Field Values

catalogService

protected CatalogService catalogService
Constructor Detail

AdminCategoryController

public AdminCategoryController()
Method Detail

getSectionKey

protected String getSectionKey(Map<String,String> pathVars)
Overrides:
getSectionKey in class AdminAbstractController

viewEntityList

@RequestMapping(value="",
                method=GET)
public String viewEntityList(javax.servlet.http.HttpServletRequest request,
                                            javax.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:
viewEntityList in class AdminBasicEntityController
Throws:
Exception


Copyright © 2013. All Rights Reserved.