Class UserInfoWidgetActionHandler
- java.lang.Object
-
- org.openbravo.client.kernel.BaseActionHandler
-
- org.openbravo.client.application.navigationbarcomponents.UserInfoWidgetActionHandler
-
- All Implemented Interfaces:
ActionHandler
,PortalAccessible
@ApplicationScoped public class UserInfoWidgetActionHandler extends BaseActionHandler implements PortalAccessible
Action handler used to save the default user information of the 'Profile' widget and the password change using the 'Change Password' widget.- Author:
- mtaal
-
-
Constructor Summary
Constructors Constructor Description UserInfoWidgetActionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.codehaus.jettison.json.JSONObject
execute(Map<String,Object> parameters, String content)
Needs to be implemented by a subclass.protected org.codehaus.jettison.json.JSONObject
executeChangePasswordCommand(Map<String,Object> parameters, String content)
protected org.codehaus.jettison.json.JSONObject
executeSaveCommand(Map<String,Object> parameters, String content)
-
Methods inherited from class org.openbravo.client.kernel.BaseActionHandler
execute, extractParametersFromRequest, extractRequestContent, fixRequestMap, writeResponse
-
-
-
-
Method Detail
-
execute
protected org.codehaus.jettison.json.JSONObject execute(Map<String,Object> parameters, String content)
Description copied from class:BaseActionHandler
Needs to be implemented by a subclass.- Specified by:
execute
in classBaseActionHandler
- Parameters:
parameters
- the parameters obtained from the request. Note that the request object and the session object are also present in this map, resp. as the constantsKernelConstants.HTTP_REQUEST
andKernelConstants.HTTP_SESSION
.content
- the request content (if any)- Returns:
- the return should be a JSONObject, this is passed back to the caller on the client.
-
executeChangePasswordCommand
protected org.codehaus.jettison.json.JSONObject executeChangePasswordCommand(Map<String,Object> parameters, String content) throws Exception
- Throws:
Exception
-
-