|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.web.impl.ui.controller.common.AbstractGenericHandler<ACTION,REQUEST,RESPONSE> com.hack23.cia.web.impl.ui.controller.content.AbstractContentActionHandler<ACTION,REQUEST,RESPONSE> com.hack23.cia.web.impl.ui.controller.content.AbstractUserActionHandler<BallotAction,BallotRequest,BallotResponse> com.hack23.cia.web.impl.ui.controller.content.BallotActionHandler
public class BallotActionHandler extends AbstractUserActionHandler<BallotAction,BallotRequest,BallotResponse>
The Class BallotActionHandler.
Constructor and Description |
---|
BallotActionHandler(ViewFactoryService viewFactoryService,
ApplicationManager applicationManager)
Instantiates a new ballot action handler. |
Modifier and Type | Method and Description |
---|---|
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.impl.ui.controller.common.AbstractGenericHandler |
---|
getApplicationDtoFactory, getApplicationManager, getUserStateService, getViewFactoryService, processAction, setApplicationDtoFactory, 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 actionpublic 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 |