Package org.codelibs.fess.app.web.base
Class FessBaseAction
java.lang.Object
org.lastaflute.web.LastaAction
org.lastaflute.web.TypicalAction
org.codelibs.fess.app.web.base.FessBaseAction
- All Implemented Interfaces:
FessHtmlPath
,org.lastaflute.web.docs.LaActionDocs
,org.lastaflute.web.hook.ActionHook
,org.lastaflute.web.validation.LaValidatable<FessMessages>
- Direct Known Subclasses:
FessAdminAction
,FessApiAction
,FessSearchAction
public abstract class FessBaseAction
extends org.lastaflute.web.TypicalAction
implements org.lastaflute.web.validation.LaValidatable<FessMessages>, FessHtmlPath
- Author:
- jflute
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessTokenHelper
protected ActivityHelper
protected static final String
The application type for FESs, e.g.protected FessConfig
protected FessLoginAssist
protected org.lastaflute.web.servlet.request.ResponseManager
protected org.lastaflute.web.servlet.session.SessionManager
protected SystemHelper
protected org.lastaflute.core.time.TimeManager
protected static final String
The user type for Admin, e.g.protected ViewHelper
Fields inherited from class org.lastaflute.web.TypicalAction
GLOBAL
Fields inherited from interface org.codelibs.fess.mylasta.action.FessHtmlPath
path_AdminAccesstoken_AdminAccesstokenDetailsJsp, path_AdminAccesstoken_AdminAccesstokenEditJsp, path_AdminAccesstoken_AdminAccesstokenJsp, path_AdminBackup_AdminBackupJsp, path_AdminBadword_AdminBadwordDetailsJsp, path_AdminBadword_AdminBadwordDownloadJsp, path_AdminBadword_AdminBadwordEditJsp, path_AdminBadword_AdminBadwordJsp, path_AdminBadword_AdminBadwordUploadJsp, path_AdminBoostdoc_AdminBoostdocDetailsJsp, path_AdminBoostdoc_AdminBoostdocEditJsp, path_AdminBoostdoc_AdminBoostdocJsp, path_AdminCrawlinginfo_AdminCrawlinginfoDetailsJsp, path_AdminCrawlinginfo_AdminCrawlinginfoJsp, path_AdminDashboard_AdminDashboardJsp, path_AdminDataconfig_AdminDataconfigDetailsJsp, path_AdminDataconfig_AdminDataconfigEditJsp, path_AdminDataconfig_AdminDataconfigJsp, path_AdminDesign_AdminDesignEditJsp, path_AdminDesign_AdminDesignJsp, path_AdminDict_AdminDictJsp, path_AdminDictKuromoji_AdminDictKuromojiDetailsJsp, path_AdminDictKuromoji_AdminDictKuromojiDownloadJsp, path_AdminDictKuromoji_AdminDictKuromojiEditJsp, path_AdminDictKuromoji_AdminDictKuromojiJsp, path_AdminDictKuromoji_AdminDictKuromojiUploadJsp, path_AdminDictMapping_AdminDictMappingDetailsJsp, path_AdminDictMapping_AdminDictMappingDownloadJsp, path_AdminDictMapping_AdminDictMappingEditJsp, path_AdminDictMapping_AdminDictMappingJsp, path_AdminDictMapping_AdminDictMappingUploadJsp, path_AdminDictProtwords_AdminDictProtwordsDetailsJsp, path_AdminDictProtwords_AdminDictProtwordsDownloadJsp, path_AdminDictProtwords_AdminDictProtwordsEditJsp, path_AdminDictProtwords_AdminDictProtwordsJsp, path_AdminDictProtwords_AdminDictProtwordsUploadJsp, path_AdminDictStemmeroverride_AdminDictStemmeroverrideDetailsJsp, path_AdminDictStemmeroverride_AdminDictStemmeroverrideDownloadJsp, path_AdminDictStemmeroverride_AdminDictStemmeroverrideEditJsp, path_AdminDictStemmeroverride_AdminDictStemmeroverrideJsp, path_AdminDictStemmeroverride_AdminDictStemmeroverrideUploadJsp, path_AdminDictStopwords_AdminDictStopwordsDetailsJsp, path_AdminDictStopwords_AdminDictStopwordsDownloadJsp, path_AdminDictStopwords_AdminDictStopwordsEditJsp, path_AdminDictStopwords_AdminDictStopwordsJsp, path_AdminDictStopwords_AdminDictStopwordsUploadJsp, path_AdminDictSynonym_AdminDictSynonymDetailsJsp, path_AdminDictSynonym_AdminDictSynonymDownloadJsp, path_AdminDictSynonym_AdminDictSynonymEditJsp, path_AdminDictSynonym_AdminDictSynonymJsp, path_AdminDictSynonym_AdminDictSynonymUploadJsp, path_AdminDuplicatehost_AdminDuplicatehostDetailsJsp, path_AdminDuplicatehost_AdminDuplicatehostEditJsp, path_AdminDuplicatehost_AdminDuplicatehostJsp, path_AdminElevateword_AdminElevatewordDetailsJsp, path_AdminElevateword_AdminElevatewordDownloadJsp, path_AdminElevateword_AdminElevatewordEditJsp, path_AdminElevateword_AdminElevatewordJsp, path_AdminElevateword_AdminElevatewordUploadJsp, path_AdminError_AdminErrorJsp, path_AdminEsreq_AdminEsreqJsp, path_AdminFailureurl_AdminFailureurlDetailsJsp, path_AdminFailureurl_AdminFailureurlJsp, path_AdminFileauth_AdminFileauthDetailsJsp, path_AdminFileauth_AdminFileauthEditJsp, path_AdminFileauth_AdminFileauthJsp, path_AdminFileconfig_AdminFileconfigDetailsJsp, path_AdminFileconfig_AdminFileconfigEditJsp, path_AdminFileconfig_AdminFileconfigJsp, path_AdminGeneral_AdminGeneralJsp, path_AdminGroup_AdminGroupDetailsJsp, path_AdminGroup_AdminGroupEditJsp, path_AdminGroup_AdminGroupJsp, path_AdminJoblog_AdminJoblogDetailsJsp, path_AdminJoblog_AdminJoblogJsp, path_AdminKeymatch_AdminKeymatchDetailsJsp, path_AdminKeymatch_AdminKeymatchEditJsp, path_AdminKeymatch_AdminKeymatchJsp, path_AdminLabeltype_AdminLabeltypeDetailsJsp, path_AdminLabeltype_AdminLabeltypeEditJsp, path_AdminLabeltype_AdminLabeltypeJsp, path_AdminLog_AdminLogJsp, path_AdminMaintenance_AdminMaintenanceJsp, path_AdminPathmap_AdminPathmapDetailsJsp, path_AdminPathmap_AdminPathmapEditJsp, path_AdminPathmap_AdminPathmapJsp, path_AdminPlugin_AdminPluginInstallpluginJsp, path_AdminPlugin_AdminPluginJsp, path_AdminRelatedcontent_AdminRelatedcontentDetailsJsp, path_AdminRelatedcontent_AdminRelatedcontentEditJsp, path_AdminRelatedcontent_AdminRelatedcontentJsp, path_AdminRelatedquery_AdminRelatedqueryDetailsJsp, path_AdminRelatedquery_AdminRelatedqueryEditJsp, path_AdminRelatedquery_AdminRelatedqueryJsp, path_AdminReqheader_AdminReqheaderDetailsJsp, path_AdminReqheader_AdminReqheaderEditJsp, path_AdminReqheader_AdminReqheaderJsp, path_AdminRole_AdminRoleDetailsJsp, path_AdminRole_AdminRoleEditJsp, path_AdminRole_AdminRoleJsp, path_AdminScheduler_AdminSchedulerDetailsJsp, path_AdminScheduler_AdminSchedulerEditJsp, path_AdminScheduler_AdminSchedulerJsp, path_AdminSearchlist_AdminSearchlistEditJsp, path_AdminSearchlist_AdminSearchlistJsp, path_AdminSearchlog_AdminSearchlogDetailsJsp, path_AdminSearchlog_AdminSearchlogJsp, path_AdminStorage_AdminStorageJsp, path_AdminStorage_AdminStorageTagEditJsp, path_AdminSuggest_AdminSuggestJsp, path_AdminSysteminfo_AdminSysteminfoJsp, path_AdminUpgrade_AdminUpgradeJsp, path_AdminUser_AdminUserDetailsJsp, path_AdminUser_AdminUserEditJsp, path_AdminUser_AdminUserJsp, path_AdminWebauth_AdminWebauthDetailsJsp, path_AdminWebauth_AdminWebauthEditJsp, path_AdminWebauth_AdminWebauthJsp, path_AdminWebconfig_AdminWebconfigDetailsJsp, path_AdminWebconfig_AdminWebconfigEditJsp, path_AdminWebconfig_AdminWebconfigJsp, path_AdminWizard_AdminWizardConfigJsp, path_AdminWizard_AdminWizardJsp, path_AdminWizard_AdminWizardStartJsp, path_AdvanceJsp, path_Error_BadRequestJsp, path_Error_ErrorJsp, path_Error_NotFoundJsp, path_Error_RedirectJsp, path_Error_SystemJsp, path_FooterJsp, path_HeaderJsp, path_HelpJsp, path_IndexJsp, path_Login_IndexJsp, path_Login_NewpasswordJsp, path_Profile_IndexJsp, path_SearchJsp, path_SearchNoResultJsp, path_SearchOptionsJsp, path_SearchResultsJsp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected static void
copyBeanToBean
(Object src, Object dest, Consumer<org.codelibs.core.beans.util.CopyOptions> option) protected static <T> T
copyBeanToNewBean
(Object src, Class<T> destClass) protected static void
copyMapToBean
(Map<String, ? extends Object> src, Object dest, Consumer<org.codelibs.core.beans.util.CopyOptions> option) org.lastaflute.web.validation.ActionValidator<FessMessages>
protected org.dbflute.optional.OptionalThing<FessUserBean>
final void
godHandEpilogue
(org.lastaflute.web.ruts.process.ActionRuntime runtime) final org.lastaflute.web.response.ActionResponse
godHandMonologue
(org.lastaflute.web.ruts.process.ActionRuntime runtime) org.lastaflute.web.response.ActionResponse
godHandPrologue
(org.lastaflute.web.ruts.process.ActionRuntime runtime) org.lastaflute.web.response.ActionResponse
hookBefore
(org.lastaflute.web.ruts.process.ActionRuntime runtime) void
hookFinally
(org.lastaflute.web.ruts.process.ActionRuntime runtime) static boolean
isCheckboxEnabled
(String value) protected String
protected org.dbflute.optional.OptionalThing<String>
protected org.lastaflute.db.dbflute.accesscontext.AccessContextArranger
protected void
saveError
(org.lastaflute.web.validation.VaMessenger<FessMessages> validationMessagesLambda) protected void
saveInfo
(org.lastaflute.web.validation.VaMessenger<FessMessages> validationMessagesLambda) Methods inherited from class org.lastaflute.web.TypicalAction
calculateSqlExecutionCountLimit, createGodHandEpilogue, createGodHandMonologue, createGodHandPrologue, createGodHandResource, createTooManySqlOption, defineSqlExecutionCountDefaultLimit, filterApplicationExceptionMessageValues, handleApplicationException, myLoginManager, myTokenGroupType, newEmbeddedMessageKeySupplier, newGodHandEpilogue, newGodHandMonologue, newGodHandPrologue, saveToken, setupHtmlData, throwVerifiedClientError, throwVerifiedIllegalTransition, verifyOrClientError, verifyOrIllegalTransition, verifyToken, verifyTokenKeep
Methods inherited from class org.lastaflute.web.LastaAction
asHtml, asJson, assertArgumentNotNull, asStream, asXml, doCreateValidator, doForward, doRedirect, forward, forwardById, forwardByParam, forwardWith, hash, moreUrl, movedPermanently, myValidationGroups, newActionValidator, newHtmlResponseAsForward, newHtmlResponseAsForward, newHtmlResponseAsRedirect, newJsonResponse, newStreamResponse, newUrlChain, newXmlResponse, params, redirect, redirectById, redirectByParam, redirectWith, toActionUrl, toActionUrl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.lastaflute.web.docs.LaActionDocs
document0_Action, document1_CallableSuperMethod, document2_OverridableSuperMethod, document3_InjectableLastaComponent, document4_InjectableQuickComponent, document8_WordDictionary
Methods inherited from interface org.lastaflute.web.validation.LaValidatable
throwValidationError, throwValidationErrorApi, validate, validateApi
-
Field Details
-
APP_TYPE
The application type for FESs, e.g. used by access context.- See Also:
-
USER_TYPE
The user type for Admin, e.g. used by access context.- See Also:
-
fessLoginAssist
-
sessionManager
protected org.lastaflute.web.servlet.session.SessionManager sessionManager -
fessConfig
-
activityHelper
-
responseManager
protected org.lastaflute.web.servlet.request.ResponseManager responseManager -
timeManager
protected org.lastaflute.core.time.TimeManager timeManager -
systemHelper
-
accessTokenHelper
-
viewHelper
-
-
Constructor Details
-
FessBaseAction
public FessBaseAction()
-
-
Method Details
-
godHandPrologue
public org.lastaflute.web.response.ActionResponse godHandPrologue(org.lastaflute.web.ruts.process.ActionRuntime runtime) - Specified by:
godHandPrologue
in interfaceorg.lastaflute.web.hook.ActionHook
- Overrides:
godHandPrologue
in classorg.lastaflute.web.TypicalAction
-
godHandMonologue
public final org.lastaflute.web.response.ActionResponse godHandMonologue(org.lastaflute.web.ruts.process.ActionRuntime runtime) - Specified by:
godHandMonologue
in interfaceorg.lastaflute.web.hook.ActionHook
- Overrides:
godHandMonologue
in classorg.lastaflute.web.TypicalAction
-
godHandEpilogue
public final void godHandEpilogue(org.lastaflute.web.ruts.process.ActionRuntime runtime) - Specified by:
godHandEpilogue
in interfaceorg.lastaflute.web.hook.ActionHook
- Overrides:
godHandEpilogue
in classorg.lastaflute.web.TypicalAction
-
hookBefore
public org.lastaflute.web.response.ActionResponse hookBefore(org.lastaflute.web.ruts.process.ActionRuntime runtime) - Specified by:
hookBefore
in interfaceorg.lastaflute.web.hook.ActionHook
- Overrides:
hookBefore
in classorg.lastaflute.web.TypicalAction
-
hookFinally
public void hookFinally(org.lastaflute.web.ruts.process.ActionRuntime runtime) - Specified by:
hookFinally
in interfaceorg.lastaflute.web.hook.ActionHook
- Overrides:
hookFinally
in classorg.lastaflute.web.TypicalAction
-
newAccessContextArranger
protected org.lastaflute.db.dbflute.accesscontext.AccessContextArranger newAccessContextArranger()- Specified by:
newAccessContextArranger
in classorg.lastaflute.web.TypicalAction
-
getUserBean
- Specified by:
getUserBean
in classorg.lastaflute.web.TypicalAction
-
myAppType
- Specified by:
myAppType
in classorg.lastaflute.web.TypicalAction
-
myUserType
- Specified by:
myUserType
in classorg.lastaflute.web.TypicalAction
-
createValidator
- Specified by:
createValidator
in interfaceorg.lastaflute.web.validation.LaValidatable<FessMessages>
- Overrides:
createValidator
in classorg.lastaflute.web.LastaAction
-
createMessages
- Specified by:
createMessages
in interfaceorg.lastaflute.web.validation.LaValidatable<FessMessages>
- Overrides:
createMessages
in classorg.lastaflute.web.LastaAction
-
saveInfo
protected void saveInfo(org.lastaflute.web.validation.VaMessenger<FessMessages> validationMessagesLambda) -
saveError
protected void saveError(org.lastaflute.web.validation.VaMessenger<FessMessages> validationMessagesLambda) -
copyBeanToBean
-
copyMapToBean
-
copyBeanToNewBean
-
buildThrowableMessage
-
isCheckboxEnabled
-