モジュール jp.ecuacion.splib.web
クラス SplibSearchListController<FST extends SplibSearchForm,FLT extends SplibListForm<?>,S extends SplibSearchListService<FST,FLT>>
java.lang.Object
jp.ecuacion.splib.web.controller.SplibBaseController
jp.ecuacion.splib.web.controller.SplibGeneralController<S>
jp.ecuacion.splib.web.controller.SplibGeneral2FormsController<FST,FLT,S>
jp.ecuacion.splib.web.controller.SplibSearchListController<FST,FLT,S>
public abstract class SplibSearchListController<FST extends SplibSearchForm,FLT extends SplibListForm<?>,S extends SplibSearchListService<FST,FLT>>
extends SplibGeneral2FormsController<FST,FLT,S>
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース jp.ecuacion.splib.web.controller.SplibGeneralController
SplibGeneralController.ControllerContext, SplibGeneralController.PrepareSettings -
フィールドの概要
クラスから継承されたフィールド jp.ecuacion.splib.web.controller.SplibGeneralController
context, prepareSettings, redirectUrlOnAppExceptionBean, rolesAndAuthoritiesBean, serviceListクラスから継承されたフィールド jp.ecuacion.splib.web.controller.SplibBaseController
request -
コンストラクタの概要
コンストラクタコンストラクタ説明SplibSearchListController(String function) SplibSearchListController(String function, SplibGeneralController.ControllerContext settings) -
メソッドの概要
修飾子とタイプメソッド説明delete(org.springframework.ui.Model model, FST searchForm, FLT listForm, org.springframework.security.core.userdetails.UserDetails loginUser) 処理成功時redirectをする場合のredirect先subFunctionのdefault。protected FSTgetProperSearchForm(org.springframework.ui.Model model, FST searchForm) page(org.springframework.ui.Model model, FST searchForm, FLT listForm, org.springframework.security.core.userdetails.UserDetails loginUser) listFormはparameterを受け取るわけではないが、instance生成のため引数に付加。search(org.springframework.ui.Model model, FST searchForm, FLT listForm, org.springframework.security.core.userdetails.UserDetails loginUser) 本来はpage()で直接受けたいが、1 methodに複数のGetMappingを設定できないため別メソッドとした。searchAgain(org.springframework.ui.Model model, FST searchForm, org.springframework.security.core.userdetails.UserDetails loginUser, FLT listForm) 本来はpage()で直接受けたいが、1 methodに複数のGetMappingを設定できないため別メソッドとした。searchConditionClear(org.springframework.ui.Model model, FST searchForm, FLT listForm, org.springframework.security.core.userdetails.UserDetails loginUser) showInsertForm(org.springframework.ui.Model model, org.springframework.security.core.userdetails.UserDetails loginUser) showUpdateForm(org.springframework.ui.Model model, org.springframework.security.core.userdetails.UserDetails loginUser) submitOnChangeToRefresh(org.springframework.ui.Model model, FST searchForm, FLT listForm, org.springframework.security.core.userdetails.UserDetails loginUser) 基本的にはSearch側の項目で使用すると想定されるため、overrideの引数としてはSearchForm側を渡しておく。クラスから継承されたメソッド jp.ecuacion.splib.web.controller.SplibGeneralController
getDefaultHtmlFileName, getDefaultPageOnAppException, getDefaultPageOnSuccess, getDefaultSubFunctionOnAppException, getFunction, getPrepareSettings, getRedirectUrlOnAppExceptionBean, getReturnStringOnSuccess, getReturnStringOnSuccess, getReturnStringToShowPage, getReturnStringToShowPage, getRootRecordName, getService, getSubFunction, newContext, prepare, prepare, prepare, prepare, prepareForForwardAndGetPath, prepareForForwardAndGetPath, prepareForRedirectOrForwardAndGetPath, prepareForSuccessRedirectAndGetPath, prepareForSuccessRedirectAndGetPath, throw404, transactionTokenCheckクラスから継承されたメソッド jp.ecuacion.splib.web.controller.SplibBaseController
initBinder
-
コンストラクタの詳細
-
SplibSearchListController
-
SplibSearchListController
public SplibSearchListController(@Nonnull String function, SplibGeneralController.ControllerContext settings)
-
-
メソッドの詳細
-
getDefaultSubFunctionOnSuccess
クラスからコピーされた説明:SplibGeneralController処理成功時redirectをする場合のredirect先subFunctionのdefault。- オーバーライド:
getDefaultSubFunctionOnSuccessクラス内SplibGeneralController<S extends SplibSearchListService<FST,FLT>>
-
submitOnChangeToRefresh
public String submitOnChangeToRefresh(org.springframework.ui.Model model, FST searchForm, FLT listForm, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception 基本的にはSearch側の項目で使用すると想定されるため、overrideの引数としてはSearchForm側を渡しておく。- オーバーライド:
submitOnChangeToRefreshクラス内SplibGeneral2FormsController<FST extends SplibSearchForm,FLT extends SplibListForm<?>, S extends SplibSearchListService<FST, FLT>> - 例外:
Exception
-
page
public String page(org.springframework.ui.Model model, FST searchForm, FLT listForm, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception listFormはparameterを受け取るわけではないが、instance生成のため引数に付加。- オーバーライド:
pageクラス内SplibGeneral2FormsController<FST extends SplibSearchForm,FLT extends SplibListForm<?>, S extends SplibSearchListService<FST, FLT>> - 例外:
Exception
-
search
@GetMapping(value="action", params="search") public String search(org.springframework.ui.Model model, FST searchForm, FLT listForm, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception 本来はpage()で直接受けたいが、1 methodに複数のGetMappingを設定できないため別メソッドとした。- 例外:
Exception
-
searchAgain
@GetMapping(value="action", params="action=searchAgain") public String searchAgain(org.springframework.ui.Model model, FST searchForm, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser, FLT listForm) throws Exception 本来はpage()で直接受けたいが、1 methodに複数のGetMappingを設定できないため別メソッドとした。- 例外:
Exception
-
getProperSearchForm
-
searchConditionClear
@GetMapping(value="action", params="conditionClear") public String searchConditionClear(org.springframework.ui.Model model, FST searchForm, FLT listForm, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception - 例外:
Exception
-
delete
@PostMapping(value="action", params="delete") public String delete(org.springframework.ui.Model model, FST searchForm, FLT listForm, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception - 例外:
Exception
-
showInsertForm
@PostMapping(value="action", params="showInsertForm") public String showInsertForm(org.springframework.ui.Model model, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws InputValidationException, jp.ecuacion.lib.core.exception.checked.AppException - 例外:
InputValidationExceptionjp.ecuacion.lib.core.exception.checked.AppException
-
showUpdateForm
@PostMapping(value="action", params="showUpdateForm") public String showUpdateForm(org.springframework.ui.Model model, @AuthenticationPrincipal org.springframework.security.core.userdetails.UserDetails loginUser) throws InputValidationException, jp.ecuacion.lib.core.exception.checked.AppException - 例外:
InputValidationExceptionjp.ecuacion.lib.core.exception.checked.AppException
-