|
||||||||||
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<BallotAction,BallotRequest,BallotResponse> com.hack23.cia.web.controller.user.BallotActionHandler
public class BallotActionHandler
The Class BallotActionHandler.
Constructor Summary | |
---|---|
BallotActionHandler(ViewFactoryService viewFactoryService,
ApplicationManager applicationManager)
Instantiates a new ballot action handler. |
Method Summary | |
---|---|
BallotRequest |
createServiceRequest(BallotAction action)
Creates the service request. |
Class |
getSupportedAction()
Gets the supported action. |
ModelAndView |
handleSuccessResponse(BallotAction action,
BallotResponse 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 BallotActionHandler(ViewFactoryService viewFactoryService, ApplicationManager applicationManager)
viewFactoryService
- the view factory serviceapplicationManager
- the application managerMethod Detail |
---|
public final BallotRequest createServiceRequest(BallotAction action)
AbstractGenericHandler
createServiceRequest
in class AbstractGenericHandler<BallotAction,BallotRequest,BallotResponse>
action
- the action
public final Class getSupportedAction()
ActionHandler
public final ModelAndView handleSuccessResponse(BallotAction action, BallotResponse response)
AbstractGenericHandler
handleSuccessResponse
in class AbstractGenericHandler<BallotAction,BallotRequest,BallotResponse>
action
- the actionresponse
- the response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |