com.hack23.cia.web.controller.user
Class TopListActionHandler

Package class diagram package TopListActionHandler
java.lang.Object
  extended by com.hack23.cia.web.controller.common.AbstractGenericHandler<ACTION,REQUEST,RESPONSE>
      extended by com.hack23.cia.web.controller.user.AbstractUserActionHandler<ACTION,REQUEST,RESPONSE>
          extended by com.hack23.cia.web.controller.user.AbstractTopListActionHandler<TopListAction,TopListRequest,TopListResponse>
              extended by com.hack23.cia.web.controller.user.TopListActionHandler
All Implemented Interfaces:
ActionHandler

public class TopListActionHandler
extends AbstractTopListActionHandler<TopListAction,TopListRequest,TopListResponse>

The Class TopListActionHandler.


Constructor Summary
TopListActionHandler(ViewFactoryService viewFactoryService, ApplicationManager applicationManager)
          Instantiates a new top list action handler.
 
Method Summary
 TopListRequest createServiceRequest(TopListAction action)
          Creates the service request.
 Class getSupportedAction()
          Gets the supported action.
 ModelAndView handleSuccessResponse(TopListAction action, TopListResponse 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

TopListActionHandler

public TopListActionHandler(ViewFactoryService viewFactoryService,
                            ApplicationManager applicationManager)
Instantiates a new top list action handler.

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

createServiceRequest

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

Specified by:
createServiceRequest in class AbstractGenericHandler<TopListAction,TopListRequest,TopListResponse>
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(TopListAction action,
                                                TopListResponse response)
Description copied from class: AbstractGenericHandler
Handle success response.

Specified by:
handleSuccessResponse in class AbstractGenericHandler<TopListAction,TopListRequest,TopListResponse>
Parameters:
action - the action
response - the response
Returns:
the model and view


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