Module jp.ecuacion.splib.web
Package jp.ecuacion.splib.web.controller
Class SplibGeneral2FormsController<F1 extends SplibGeneralForm,F2 extends SplibGeneralForm,S extends SplibGeneral2FormsService<F1,F2>>
java.lang.Object
jp.ecuacion.splib.web.controller.SplibBaseController
jp.ecuacion.splib.web.controller.SplibGeneralController<S>
jp.ecuacion.splib.web.controller.SplibGeneral2FormsController<F1,F2,S>
- Direct Known Subclasses:
SplibSearchListController
public abstract class SplibGeneral2FormsController<F1 extends SplibGeneralForm,F2 extends SplibGeneralForm,S extends SplibGeneral2FormsService<F1,F2>>
extends SplibGeneralController<S>
-
Nested Class Summary
Nested classes/interfaces inherited from class jp.ecuacion.splib.web.controller.SplibGeneralController
SplibGeneralController.ControllerContext, SplibGeneralController.PrepareSettings -
Field Summary
Fields inherited from class jp.ecuacion.splib.web.controller.SplibGeneralController
context, prepareSettings, redirectUrlOnAppExceptionBean, rolesAndAuthoritiesBean, serviceListFields inherited from class jp.ecuacion.splib.web.controller.SplibBaseController
request -
Constructor Summary
ConstructorsModifierConstructorDescriptionSplibGeneral2FormsController(String function) protectedSplibGeneral2FormsController(String function, SplibGeneralController.ControllerContext settings) functionを指定したconstructor。 -
Method Summary
Modifier and TypeMethodDescriptionpage(org.springframework.ui.Model model, F1 form1, F2 form2, org.springframework.security.core.userdetails.UserDetails loginUser) postした際にsession timeoutだった場合はlogin画面に戻されるがその際もPOST通信になる場合があるなど、 場面によりget/post両方ありうるので両方記載しておく。submitOnChangeToRefresh(org.springframework.ui.Model model, F1 form1, F2 form2, org.springframework.security.core.userdetails.UserDetails loginUser) 場面によりget/post両方ありうるので両方記載しておく。Methods inherited from class jp.ecuacion.splib.web.controller.SplibGeneralController
getDefaultHtmlFileName, getDefaultPageOnAppException, getDefaultPageOnSuccess, getDefaultSubFunctionOnAppException, getDefaultSubFunctionOnSuccess, getFunction, getPrepareSettings, getRedirectUrlOnAppExceptionBean, getReturnStringOnSuccess, getReturnStringOnSuccess, getReturnStringToShowPage, getReturnStringToShowPage, getRootRecordName, getService, getSubFunction, newContext, prepare, prepare, prepare, prepare, prepareForForwardAndGetPath, prepareForForwardAndGetPath, prepareForRedirectOrForwardAndGetPath, prepareForSuccessRedirectAndGetPath, prepareForSuccessRedirectAndGetPath, throw404, transactionTokenCheckMethods inherited from class jp.ecuacion.splib.web.controller.SplibBaseController
initBinder
-
Constructor Details
-
SplibGeneral2FormsController
-
SplibGeneral2FormsController
protected SplibGeneral2FormsController(@Nonnull String function, @NonNull SplibGeneralController.ControllerContext settings) functionを指定したconstructor。functionだけは必須なのでconstructorの引数としている。
-
-
Method Details
-
page
@RequestMapping(value="page", method={GET,POST}) public String page(org.springframework.ui.Model model, F1 form1, F2 form2, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception postした際にsession timeoutだった場合はlogin画面に戻されるがその際もPOST通信になる場合があるなど、 場面によりget/post両方ありうるので両方記載しておく。- Throws:
Exception
-
submitOnChangeToRefresh
@RequestMapping(value="action", params="submitOnChangeToRefresh=true", method={GET,POST}) public String submitOnChangeToRefresh(org.springframework.ui.Model model, F1 form1, F2 form2, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception 場面によりget/post両方ありうるので両方記載しておく。- Throws:
Exception
-