Package org.openbravo.client.application
Class LogOutActionHandler
- java.lang.Object
-
- org.openbravo.client.kernel.BaseActionHandler
-
- org.openbravo.client.application.LogOutActionHandler
-
- All Implemented Interfaces:
ActionHandler
,PortalAccessible
@ApplicationScoped public class LogOutActionHandler extends BaseActionHandler implements PortalAccessible
Is responsible for logging out from the application.- Author:
- mtaal
- See Also:
StaticResourceComponent
-
-
Constructor Summary
Constructors Constructor Description LogOutActionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
protected org.codehaus.jettison.json.JSONObject
execute(Map<String,Object> parameters, String data)
Needs to be implemented by a subclass.-
Methods inherited from class org.openbravo.client.kernel.BaseActionHandler
extractParametersFromRequest, extractRequestContent, fixRequestMap, writeResponse
-
-
-
-
Method Detail
-
execute
public void execute()
- Specified by:
execute
in interfaceActionHandler
- Overrides:
execute
in classBaseActionHandler
-
execute
protected org.codehaus.jettison.json.JSONObject execute(Map<String,Object> parameters, String data)
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
.data
- the request content (if any)- Returns:
- the return should be a JSONObject, this is passed back to the caller on the client.
-
-