com.hack23.cia.web.impl.ui.controller.user
Class UserAccountActionHandler

Package class diagram package UserAccountActionHandler
java.lang.Object
  extended by com.hack23.cia.web.impl.ui.controller.common.AbstractGenericHandler<ACTION,REQUEST,RESPONSE>
      extended by com.hack23.cia.web.impl.ui.controller.user.AbstractUserActionHandler<UserAccountAction,AbstractUserAccountRequest,AbstractUserAccountResponse>
          extended by com.hack23.cia.web.impl.ui.controller.user.UserAccountActionHandler
All Implemented Interfaces:
ActionHandler

public class UserAccountActionHandler
extends AbstractUserActionHandler<UserAccountAction,AbstractUserAccountRequest,AbstractUserAccountResponse>

The Class UserAccountActionHandler.


Constructor Summary
UserAccountActionHandler(ViewFactoryService viewFactoryService, ApplicationManager applicationManager)
          Instantiates a new user account action handler.
 
Method Summary
 AbstractUserAccountRequest createServiceRequest(UserAccountAction action)
          Creates the service request.
 Class getSupportedAction()
          Gets the supported action.
 ModelAndView handleSuccessResponse(UserAccountAction action, AbstractUserAccountResponse response)
          Handle success response.
 
Methods inherited from class com.hack23.cia.web.impl.ui.controller.common.AbstractGenericHandler
getApplicationManager, getUserStateService, getViewFactoryService, processAction, processModelAndView, setUserStateService, setViewFactoryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAccountActionHandler

public UserAccountActionHandler(ViewFactoryService viewFactoryService,
                                ApplicationManager applicationManager)
Instantiates a new user account action handler.

Parameters:
viewFactoryService - the view factory service
applicationManager - the application manager
Method Detail

createServiceRequest

public final AbstractUserAccountRequest createServiceRequest(UserAccountAction action)
Description copied from class: AbstractGenericHandler
Creates the service request.

Specified by:
createServiceRequest in class AbstractGenericHandler<UserAccountAction,AbstractUserAccountRequest,AbstractUserAccountResponse>
Parameters:
action - the action
Returns:
the rEQUEST

getSupportedAction

public final Class getSupportedAction()
Description copied from interface: ActionHandler
Gets the supported action.

Returns:
the supported action

handleSuccessResponse

public final ModelAndView handleSuccessResponse(UserAccountAction action,
                                                AbstractUserAccountResponse response)
Description copied from class: AbstractGenericHandler
Handle success response.

Specified by:
handleSuccessResponse in class AbstractGenericHandler<UserAccountAction,AbstractUserAccountRequest,AbstractUserAccountResponse>
Parameters:
action - the action
response - the response
Returns:
the model and view


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.