Class UserListControllerImpl
- java.lang.Object
-
- ubic.gemma.web.controller.common.auditAndSecurity.UserListControllerImpl
-
- All Implemented Interfaces:
UserListController
@Controller public class UserListControllerImpl extends Object implements UserListController
For display and editing of users. Note: do not use parametrized collections as parameters for ajax methods in this class! Type information is lost during proxy creation so DWR can't figure out what type of collection the method should take. See bug 2756. Use arrays instead.- Author:
- pavlidis
- See Also:
UserFormMultiActionController
,SignupController
-
-
Constructor Summary
Constructors Constructor Description UserListControllerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<UserValueObject>
getUsers()
ModelAndView
handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
saveUser(UserValueObject user)
Save or create the user.
-
-
-
Method Detail
-
getUsers
public Collection<UserValueObject> getUsers()
- Specified by:
getUsers
in interfaceUserListController
-
handleRequest
@RequestMapping(value="/admin/activeUsers.html", method=GET) public ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Specified by:
handleRequest
in interfaceUserListController
-
saveUser
public void saveUser(UserValueObject user)
Description copied from interface:UserListController
Save or create the user. FIXME this is pretty inflexible - need to be able to reset password.- Specified by:
saveUser
in interfaceUserListController
- Parameters:
user
- user
-
-