org.broadleafcommerce.openadmin.web.controller.entity
Class AdminUserController
java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
org.broadleafcommerce.openadmin.web.controller.entity.AdminUserController
@Controller(value="blAdminUserController")
@RequestMapping(value="/user-management")
public class AdminUserController
- extends AdminBasicEntityController
- Author:
- Phillip Verheyden (phillipuniverse)
|
Method Summary |
protected String |
getSectionKey(Map<String,String> pathVars)
This method is used to determine the current section key. |
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 |
| 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, viewEntityList |
| Methods inherited from class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController |
attachSectionSpecificInfo, extractDynamicFormFields, getAddEntityTypes, getBlankDynamicFieldTemplateForm, getBlankDynamicFieldTemplateForm, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getMaxIndex, getSectionCrumbs, getSectionCustomCriteria, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, setModelAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECTION_KEY
protected static final String SECTION_KEY
- See Also:
- Constant Field Values
AdminUserController
public AdminUserController()
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
viewEntityForm
@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
- Description copied from class:
AdminBasicEntityController
- Renders the main entity form for the specified entity
- Overrides:
viewEntityForm in class AdminBasicEntityController
- Returns:
- the return view path
- Throws:
Exception
Copyright © 2013. All Rights Reserved.