nl.gx.webmanager.authorization.command
Class ImportUsersCommandObject
java.lang.Object
nl.gx.webmanager.springmvc.FormBindableBase
nl.gx.webmanager.springmvc.panel.PanelTabFBO
nl.gx.webmanager.authorization.command.AuthorizationCommandObject
nl.gx.webmanager.authorization.command.ImportUsersCommandObject
- All Implemented Interfaces:
- DelegatedController, DelegatedControllerAware, FormBackingObject
public class ImportUsersCommandObject
- extends AuthorizationCommandObject
Tab for importing users.
- Author:
- arjans
|
Method Summary |
User[] |
getAvailableUsers()
Returns all users assigned to the selected website that aren't assigned
to the current website. |
ImportUsersCommandObject.WebsiteWrapper[] |
getOtherWebs()
Returns all websites other than the current website. |
ImportUsersCommandObject.WebsiteWrapper |
getSelectedWeb()
Returns the website that is selected to import users from. |
void |
onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors,
org.springframework.web.servlet.ModelAndView modelAndView)
This is method is called by the Spring framework after binding posted form
values onto the form backing object and invoking the onBind and onBindAndValidate callback
methods. |
| Methods inherited from class nl.gx.webmanager.authorization.command.AuthorizationCommandObject |
addUsedRoleId, getActionCommand, getCurrentUser, getCurrentUserAuthorizingRoles, getErrorMessage, getRoleByGroupObject, getRoleByHtmlObject, getRoles, getStaticBackendDir, getUserByHtmlObject, getWebid, initBinder, referenceData, setActionCommand, setErrorMessage, setWebid, sortPermissionCategories |
| Methods inherited from class nl.gx.webmanager.springmvc.panel.PanelTabFBO |
addToFBOMap, getEditViews, getFBOMap, getNestedPath, getNode, getPanel, getPanelAction, getPanelGotoTabId, getUUID, getWebContainerNode, setPanel, setPanelAction, setPanelGotoTabId |
| Methods inherited from class nl.gx.webmanager.springmvc.FormBindableBase |
addDisallowedField, addEditView, addValidator, formBackingObject, getControllerDelegationMap, getDelegatedController, getEditView, getEditViewByValue, getParentController, getResourceBaseNames, getValidators, initialize, onBind, onBindAndValidate, setDelegatedController, setEditViews, setParentController, setValidators, showForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportUsersCommandObject
public ImportUsersCommandObject()
onSubmit
public void onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors,
org.springframework.web.servlet.ModelAndView modelAndView)
throws java.lang.Exception
- Description copied from class:
FormBindableBase
- This is method is called by the Spring framework after binding posted form
values onto the form backing object and invoking the onBind and onBindAndValidate callback
methods. In this method values contained by the form backing object can be set to the data model
and be persisted.
- Specified by:
onSubmit in interface DelegatedController- Overrides:
onSubmit in class FormBindableBase
- Parameters:
request - current servlet requestresponse - current servlet responsecommand - form object with request parameters bound onto iterrors - Errors instance without errors (subclass can add errors if it wants to)modelAndView - model and view of the original main spring controller which handles the request
- Throws:
java.lang.Exception - in case of errors
getSelectedWeb
public ImportUsersCommandObject.WebsiteWrapper getSelectedWeb()
- Returns the website that is selected to import users from.
- Returns:
- the website that is selected to import users from
getAvailableUsers
public User[] getAvailableUsers()
- Returns all users assigned to the selected website that aren't assigned
to the current website.
- Returns:
- all users assigned to the selected website that aren't assigned
to the current website
getOtherWebs
public ImportUsersCommandObject.WebsiteWrapper[] getOtherWebs()
- Returns all websites other than the current website.
- Returns:
- all websites other than the current website
Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.