Class BaseAdminapiAction

java.lang.Object
net.anotheria.webutils.actions.BaseAction
net.anotheria.anosite.gen.shared.action.BaseAdminapiAction
All Implemented Interfaces:
net.anotheria.maf.action.Action
Direct Known Subclasses:
BaseActionsAction, BaseAnoAccessApplicationDataAction, BaseAnoAccessConfigurationAction, BaseBrandsAction, BaseContentAction, BaseDefinitionsAction, BaseFeaturesAction, BaseLayoutAction, BaseResourcesAction, BaseSiteConfigAction, BaseSitexAction, BaseToolsAction, BaseUserAction, BaseWizardAction, CmsSearchAction, WelcomePageMafAction

public abstract class BaseAdminapiAction extends net.anotheria.webutils.actions.BaseAction
  • Field Details

  • Constructor Details

    • BaseAdminapiAction

      public BaseAdminapiAction()
  • Method Details

    • preProcess

      public void preProcess(net.anotheria.maf.action.ActionMapping mapping, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception
      Specified by:
      preProcess in interface net.anotheria.maf.action.Action
      Overrides:
      preProcess in class net.anotheria.webutils.actions.BaseAction
      Throws:
      Exception
    • anoDocExecute

      public abstract net.anotheria.maf.action.ActionCommand anoDocExecute(net.anotheria.maf.action.ActionMapping mapping, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception
      Throws:
      Exception
    • execute

      public net.anotheria.maf.action.ActionCommand execute(net.anotheria.maf.action.ActionMapping mapping, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception
      Throws:
      Exception
    • getASGenericActionService

      protected IASGenericActionService getASGenericActionService()
    • getASUserDataService

      protected IASUserDataService getASUserDataService()
    • getASSiteDataService

      protected IASSiteDataService getASSiteDataService()
    • getASGenericDataService

      protected IASGenericDataService getASGenericDataService()
    • getImagesService

      protected IImagesService getImagesService()
    • getASCustomDataService

      protected IASCustomDataService getASCustomDataService()
    • getASResourceDataService

      protected IASResourceDataService getASResourceDataService()
    • getAnoAccessApplicationDataService

      protected IAnoAccessApplicationDataService getAnoAccessApplicationDataService()
    • getASFederatedDataService

      protected IASFederatedDataService getASFederatedDataService()
    • getASLayoutDataService

      protected IASLayoutDataService getASLayoutDataService()
    • getASActionService

      protected IASActionService getASActionService()
    • getASWebDataService

      protected IASWebDataService getASWebDataService()
    • getASExperimentService

      protected IASExperimentService getASExperimentService()
    • getASCustomActionService

      protected IASCustomActionService getASCustomActionService()
    • getASFeatureService

      protected IASFeatureService getASFeatureService()
    • getAnoAccessConfigurationService

      protected IAnoAccessConfigurationService getAnoAccessConfigurationService()
    • getASWizardDataService

      protected IASWizardDataService getASWizardDataService()
    • getASBrandService

      protected IASBrandService getASBrandService()
    • getASSiteConfigService

      protected IASSiteConfigService getASSiteConfigService()
    • isAuthorizationRequired

      protected boolean isAuthorizationRequired()
    • getRequiredRoles

      protected List<String> getRequiredRoles()
    • checkAuthorization

      protected boolean checkAuthorization(jakarta.servlet.http.HttpServletRequest req)
    • getSubsystem

      public String getSubsystem()
    • stripPath

      protected String stripPath(String path)
    • getSortOder

      protected boolean getSortOder(jakarta.servlet.http.HttpServletRequest req)
    • getLockingTimeout

      protected long getLockingTimeout()
    • isAutoLockingEnabled

      protected boolean isAutoLockingEnabled()
    • isUserInRole

      protected boolean isUserInRole(jakarta.servlet.http.HttpServletRequest req, String... roles)
    • prepareMenu

      protected void prepareMenu(jakarta.servlet.http.HttpServletRequest req)
    • getSubNavigation

      protected abstract List<net.anotheria.webutils.bean.NavigationItemBean> getSubNavigation()
    • getMainNavigation

      protected List<net.anotheria.webutils.bean.NavigationItemBean> getMainNavigation(jakarta.servlet.http.HttpServletRequest req)
    • getActiveMainNavi

      protected abstract String getActiveMainNavi()
    • getCurrentModuleDefName

      protected abstract String getCurrentModuleDefName()
    • getCurrentDocumentDefName

      protected abstract String getCurrentDocumentDefName()
    • getSupportedLanguages

      public static List<String> getSupportedLanguages()
      Get current application supported languages wrapper method.
    • addLockedAttribute

      protected void addLockedAttribute(jakarta.servlet.http.HttpServletRequest req, net.anotheria.asg.data.AbstractASGDocument doc)
      Adding attribute to the session list as LockedDocumentAttribute. for Locking and Unlocking functionality
    • removeLockedAttribute

      protected void removeLockedAttribute(jakarta.servlet.http.HttpServletRequest req, net.anotheria.asg.data.AbstractASGDocument doc)
      Removing attributes List from session.
    • containsLockedAttribute

      protected boolean containsLockedAttribute(jakarta.servlet.http.HttpServletRequest req, net.anotheria.asg.data.AbstractASGDocument doc)
      Return true if current document represented as LockedDocumentAttribute. in session attributes list.