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 Details

    • APP_TYPE

      protected static final String APP_TYPE
      The application type for FESs, e.g. used by access context.
      See Also:
    • USER_TYPE

      protected static final String USER_TYPE
      The user type for Admin, e.g. used by access context.
      See Also:
    • fessLoginAssist

      protected FessLoginAssist fessLoginAssist
    • sessionManager

      protected org.lastaflute.web.servlet.session.SessionManager sessionManager
    • fessConfig

      protected FessConfig fessConfig
    • activityHelper

      protected ActivityHelper activityHelper
    • responseManager

      protected org.lastaflute.web.servlet.request.ResponseManager responseManager
    • timeManager

      protected org.lastaflute.core.time.TimeManager timeManager
    • systemHelper

      protected SystemHelper systemHelper
    • accessTokenHelper

      protected AccessTokenHelper accessTokenHelper
    • viewHelper

      protected ViewHelper 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 interface org.lastaflute.web.hook.ActionHook
      Overrides:
      godHandPrologue in class org.lastaflute.web.TypicalAction
    • godHandMonologue

      public final org.lastaflute.web.response.ActionResponse godHandMonologue(org.lastaflute.web.ruts.process.ActionRuntime runtime)
      Specified by:
      godHandMonologue in interface org.lastaflute.web.hook.ActionHook
      Overrides:
      godHandMonologue in class org.lastaflute.web.TypicalAction
    • godHandEpilogue

      public final void godHandEpilogue(org.lastaflute.web.ruts.process.ActionRuntime runtime)
      Specified by:
      godHandEpilogue in interface org.lastaflute.web.hook.ActionHook
      Overrides:
      godHandEpilogue in class org.lastaflute.web.TypicalAction
    • hookBefore

      public org.lastaflute.web.response.ActionResponse hookBefore(org.lastaflute.web.ruts.process.ActionRuntime runtime)
      Specified by:
      hookBefore in interface org.lastaflute.web.hook.ActionHook
      Overrides:
      hookBefore in class org.lastaflute.web.TypicalAction
    • hookFinally

      public void hookFinally(org.lastaflute.web.ruts.process.ActionRuntime runtime)
      Specified by:
      hookFinally in interface org.lastaflute.web.hook.ActionHook
      Overrides:
      hookFinally in class org.lastaflute.web.TypicalAction
    • newAccessContextArranger

      protected org.lastaflute.db.dbflute.accesscontext.AccessContextArranger newAccessContextArranger()
      Specified by:
      newAccessContextArranger in class org.lastaflute.web.TypicalAction
    • getUserBean

      protected org.dbflute.optional.OptionalThing<FessUserBean> getUserBean()
      Specified by:
      getUserBean in class org.lastaflute.web.TypicalAction
    • myAppType

      protected String myAppType()
      Specified by:
      myAppType in class org.lastaflute.web.TypicalAction
    • myUserType

      protected org.dbflute.optional.OptionalThing<String> myUserType()
      Specified by:
      myUserType in class org.lastaflute.web.TypicalAction
    • createValidator

      public org.lastaflute.web.validation.ActionValidator<FessMessages> createValidator()
      Specified by:
      createValidator in interface org.lastaflute.web.validation.LaValidatable<FessMessages>
      Overrides:
      createValidator in class org.lastaflute.web.LastaAction
    • createMessages

      public FessMessages createMessages()
      Specified by:
      createMessages in interface org.lastaflute.web.validation.LaValidatable<FessMessages>
      Overrides:
      createMessages in class org.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

      protected static void copyBeanToBean(Object src, Object dest, Consumer<org.codelibs.core.beans.util.CopyOptions> option)
    • copyMapToBean

      protected static void copyMapToBean(Map<String,? extends Object> src, Object dest, Consumer<org.codelibs.core.beans.util.CopyOptions> option)
    • copyBeanToNewBean

      protected static <T> T copyBeanToNewBean(Object src, Class<T> destClass)
    • buildThrowableMessage

      protected String buildThrowableMessage(Throwable t)
    • isCheckboxEnabled

      public static boolean isCheckboxEnabled(String value)