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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classActually simplest been - which should hold information about document ID and Clazz. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.anotheria.webutils.actions.BaseAction
BEAN_TARGET_ACTION, BEAN_USER_ID, MONTH, PARAM_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLockedAttribute(jakarta.servlet.http.HttpServletRequest req, net.anotheria.asg.data.AbstractASGDocument doc) Adding attribute to the session list as LockedDocumentAttribute.abstract net.anotheria.maf.action.ActionCommandanoDocExecute(net.anotheria.maf.action.ActionMapping mapping, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected booleancheckAuthorization(jakarta.servlet.http.HttpServletRequest req) protected booleancontainsLockedAttribute(jakarta.servlet.http.HttpServletRequest req, net.anotheria.asg.data.AbstractASGDocument doc) Return true if current document represented as LockedDocumentAttribute.net.anotheria.maf.action.ActionCommandexecute(net.anotheria.maf.action.ActionMapping mapping, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected abstract Stringprotected IAnoAccessApplicationDataServiceprotected IAnoAccessConfigurationServiceprotected IASActionServiceprotected IASBrandServiceprotected IASCustomActionServiceprotected IASCustomDataServiceprotected IASExperimentServiceprotected IASFeatureServiceprotected IASFederatedDataServiceprotected IASGenericActionServiceprotected IASGenericDataServiceprotected IASLayoutDataServiceprotected IASResourceDataServiceprotected IASSiteConfigServiceprotected IASSiteDataServiceprotected IASUserDataServiceprotected IASWebDataServiceprotected IASWizardDataServiceprotected abstract Stringprotected abstract Stringprotected IImagesServiceprotected longprotected List<net.anotheria.webutils.bean.NavigationItemBean> getMainNavigation(jakarta.servlet.http.HttpServletRequest req) protected booleangetSortOder(jakarta.servlet.http.HttpServletRequest req) protected abstract List<net.anotheria.webutils.bean.NavigationItemBean> Get current application supported languages wrapper method.protected booleanprotected booleanprotected booleanisUserInRole(jakarta.servlet.http.HttpServletRequest req, String... roles) protected voidprepareMenu(jakarta.servlet.http.HttpServletRequest req) voidpreProcess(net.anotheria.maf.action.ActionMapping mapping, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected voidremoveLockedAttribute(jakarta.servlet.http.HttpServletRequest req, net.anotheria.asg.data.AbstractASGDocument doc) Removing attributes List from session.protected StringMethods inherited from class net.anotheria.webutils.actions.BaseAction
addBean, addBeanToApplication, addBeanToRequest, addBeanToSession, getBean, getBeanFromApplication, getBeanFromRequest, getBeanFromSession, getErrorPageForward, getIntParameter, getStringParameter, getUserId, handleError, itoa, itoa, makeDateString, makeDateStringLong, makeDigitalDateString, makeDigitalDateStringShort, makeSizeString, makeTimeString, postProcess, removeBean, removeBeanFromApplication, removeBeanFromRequest, removeBeanFromSession, setUserId, throwableToStrackTrace
-
Field Details
-
BEAN_MAIN_NAVIGATION
- See Also:
-
BEAN_CURRENT_SYSTEM
- See Also:
-
BEAN_CURRENT_APPLICATION
- See Also:
-
BEAN_SEARCH_SCOPE
- See Also:
-
BEAN_DOCUMENT_DEF_NAME
- See Also:
-
BEAN_MODULE_DEF_NAME
- See Also:
-
FLAG_DISABLED_SEARCH
- See Also:
-
PARAM_SORT_TYPE
- See Also:
-
PARAM_SORT_TYPE_NAME
- See Also:
-
PARAM_SORT_ORDER
- See Also:
-
SA_PREFIX
- See Also:
-
SA_SORT_TYPE_PREFIX
- See Also:
-
SA_FILTER_PREFIX
- See Also:
-
BEAN_VIEW_SELECTOR
- See Also:
-
BEAN_USER_DEF_ID
- See Also:
-
-
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:
preProcessin interfacenet.anotheria.maf.action.Action- Overrides:
preProcessin classnet.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
-
getASUserDataService
-
getASSiteDataService
-
getASGenericDataService
-
getImagesService
-
getASCustomDataService
-
getASResourceDataService
-
getAnoAccessApplicationDataService
-
getASFederatedDataService
-
getASLayoutDataService
-
getASActionService
-
getASWebDataService
-
getASExperimentService
-
getASCustomActionService
-
getASFeatureService
-
getAnoAccessConfigurationService
-
getASWizardDataService
-
getASBrandService
-
getASSiteConfigService
-
isAuthorizationRequired
protected boolean isAuthorizationRequired() -
getRequiredRoles
-
checkAuthorization
protected boolean checkAuthorization(jakarta.servlet.http.HttpServletRequest req) -
getSubsystem
-
stripPath
-
getSortOder
protected boolean getSortOder(jakarta.servlet.http.HttpServletRequest req) -
getLockingTimeout
protected long getLockingTimeout() -
isAutoLockingEnabled
protected boolean isAutoLockingEnabled() -
isUserInRole
-
prepareMenu
protected void prepareMenu(jakarta.servlet.http.HttpServletRequest req) -
getCurrentModuleDefName
-
getCurrentDocumentDefName
-
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.
-