|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.web.controller.common.AbstractGenericHandler<ACTION,REQUEST,RESPONSE> com.hack23.cia.web.controller.user.AbstractUserActionHandler<UserAction,UserRequest,UserResponse> com.hack23.cia.web.controller.user.UserActionHandler
public class UserActionHandler
The Class UserActionHandler.
Constructor Summary | |
---|---|
UserActionHandler(ViewFactoryService viewFactoryService,
ApplicationManager applicationManager)
Instantiates a new user action handler. |
Method Summary | |
---|---|
UserRequest |
createServiceRequest(UserAction action)
Creates the service request. |
Class |
getSupportedAction()
Gets the supported action. |
ModelAndView |
handleSuccessResponse(UserAction action,
UserResponse response)
Handle success response. |
Methods inherited from class com.hack23.cia.web.controller.common.AbstractGenericHandler |
---|
getApplicationManager, getUserStateService, getViewFactoryService, handleErrorResponse, processAction, processModelAndView, setUserStateService, setViewFactoryService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserActionHandler(ViewFactoryService viewFactoryService, ApplicationManager applicationManager)
viewFactoryService
- the view factory serviceapplicationManager
- the application managerMethod Detail |
---|
public final UserRequest createServiceRequest(UserAction action)
AbstractGenericHandler
createServiceRequest
in class AbstractGenericHandler<UserAction,UserRequest,UserResponse>
action
- the action
public final Class getSupportedAction()
ActionHandler
public final ModelAndView handleSuccessResponse(UserAction action, UserResponse response)
AbstractGenericHandler
handleSuccessResponse
in class AbstractGenericHandler<UserAction,UserRequest,UserResponse>
action
- the actionresponse
- the response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |