public abstract class BaseAdminapiAction
extends net.anotheria.webutils.actions.BaseAction
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseAdminapiAction.LockedDocumentAttribute
Actually simplest been - which should hold information about document ID and Clazz.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_CURRENT_APPLICATION |
static java.lang.String |
BEAN_CURRENT_SYSTEM |
static java.lang.String |
BEAN_DOCUMENT_DEF_NAME |
static java.lang.String |
BEAN_MAIN_NAVIGATION |
static java.lang.String |
BEAN_MODULE_DEF_NAME |
static java.lang.String |
BEAN_SEARCH_SCOPE |
static java.lang.String |
BEAN_USER_DEF_ID |
static java.lang.String |
BEAN_VIEW_SELECTOR |
static java.lang.String |
FLAG_DISABLED_SEARCH |
static java.lang.String |
PARAM_SORT_ORDER |
static java.lang.String |
PARAM_SORT_TYPE |
static java.lang.String |
PARAM_SORT_TYPE_NAME |
static java.lang.String |
SA_FILTER_PREFIX |
static java.lang.String |
SA_PREFIX |
static java.lang.String |
SA_SORT_TYPE_PREFIX |
| Constructor and Description |
|---|
BaseAdminapiAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLockedAttribute(javax.servlet.http.HttpServletRequest req,
net.anotheria.asg.data.AbstractASGDocument doc)
Adding attribute to the session list as LockedDocumentAttribute.
|
abstract net.anotheria.maf.action.ActionCommand |
anoDocExecute(net.anotheria.maf.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected boolean |
checkAuthorization(javax.servlet.http.HttpServletRequest req) |
protected boolean |
containsLockedAttribute(javax.servlet.http.HttpServletRequest req,
net.anotheria.asg.data.AbstractASGDocument doc)
Return true if current document represented as LockedDocumentAttribute.
|
net.anotheria.maf.action.ActionCommand |
execute(net.anotheria.maf.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected abstract java.lang.String |
getActiveMainNavi() |
protected IAnoAccessApplicationDataService |
getAnoAccessApplicationDataService() |
protected IAnoAccessConfigurationService |
getAnoAccessConfigurationService() |
protected IASActionService |
getASActionService() |
protected IASBrandService |
getASBrandService() |
protected IASCustomActionService |
getASCustomActionService() |
protected IASCustomDataService |
getASCustomDataService() |
protected IASExperimentService |
getASExperimentService() |
protected IASFeatureService |
getASFeatureService() |
protected IASFederatedDataService |
getASFederatedDataService() |
protected IASGenericActionService |
getASGenericActionService() |
protected IASGenericDataService |
getASGenericDataService() |
protected IASLayoutDataService |
getASLayoutDataService() |
protected IASResourceDataService |
getASResourceDataService() |
protected IASSiteConfigService |
getASSiteConfigService() |
protected IASSiteDataService |
getASSiteDataService() |
protected IASUserDataService |
getASUserDataService() |
protected IASWebDataService |
getASWebDataService() |
protected IASWizardDataService |
getASWizardDataService() |
protected abstract java.lang.String |
getCurrentDocumentDefName() |
protected abstract java.lang.String |
getCurrentModuleDefName() |
protected IImagesService |
getImagesService() |
protected long |
getLockingTimeout() |
protected java.util.List<net.anotheria.webutils.bean.NavigationItemBean> |
getMainNavigation(javax.servlet.http.HttpServletRequest req) |
protected java.util.List<java.lang.String> |
getRequiredRoles() |
protected boolean |
getSortOder(javax.servlet.http.HttpServletRequest req) |
protected abstract java.util.List<net.anotheria.webutils.bean.NavigationItemBean> |
getSubNavigation() |
java.lang.String |
getSubsystem() |
static java.util.List<java.lang.String> |
getSupportedLanguages()
Get current application supported languages wrapper method.
|
protected boolean |
isAuthorizationRequired() |
protected boolean |
isAutoLockingEnabled() |
protected boolean |
isUserInRole(javax.servlet.http.HttpServletRequest req,
java.lang.String... roles) |
protected void |
prepareMenu(javax.servlet.http.HttpServletRequest req) |
void |
preProcess(net.anotheria.maf.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected void |
removeLockedAttribute(javax.servlet.http.HttpServletRequest req,
net.anotheria.asg.data.AbstractASGDocument doc)
Removing attributes List from session.
|
protected java.lang.String |
stripPath(java.lang.String path) |
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, throwableToStrackTracepublic static final java.lang.String BEAN_MAIN_NAVIGATION
public static final java.lang.String BEAN_CURRENT_SYSTEM
public static final java.lang.String BEAN_CURRENT_APPLICATION
public static final java.lang.String BEAN_SEARCH_SCOPE
public static final java.lang.String BEAN_DOCUMENT_DEF_NAME
public static final java.lang.String BEAN_MODULE_DEF_NAME
public static final java.lang.String FLAG_DISABLED_SEARCH
public static final java.lang.String PARAM_SORT_TYPE
public static final java.lang.String PARAM_SORT_TYPE_NAME
public static final java.lang.String PARAM_SORT_ORDER
public static final java.lang.String SA_PREFIX
public static final java.lang.String SA_SORT_TYPE_PREFIX
public static final java.lang.String SA_FILTER_PREFIX
public static final java.lang.String BEAN_VIEW_SELECTOR
public static final java.lang.String BEAN_USER_DEF_ID
public void preProcess(net.anotheria.maf.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
preProcess in interface net.anotheria.maf.action.ActionpreProcess in class net.anotheria.webutils.actions.BaseActionjava.lang.Exceptionpublic abstract net.anotheria.maf.action.ActionCommand anoDocExecute(net.anotheria.maf.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
java.lang.Exceptionpublic net.anotheria.maf.action.ActionCommand execute(net.anotheria.maf.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
java.lang.Exceptionprotected IASGenericActionService getASGenericActionService()
protected IASUserDataService getASUserDataService()
protected IASSiteDataService getASSiteDataService()
protected IASGenericDataService getASGenericDataService()
protected IImagesService getImagesService()
protected IASCustomDataService getASCustomDataService()
protected IASResourceDataService getASResourceDataService()
protected IAnoAccessApplicationDataService getAnoAccessApplicationDataService()
protected IASFederatedDataService getASFederatedDataService()
protected IASLayoutDataService getASLayoutDataService()
protected IASActionService getASActionService()
protected IASWebDataService getASWebDataService()
protected IASExperimentService getASExperimentService()
protected IASCustomActionService getASCustomActionService()
protected IASFeatureService getASFeatureService()
protected IAnoAccessConfigurationService getAnoAccessConfigurationService()
protected IASWizardDataService getASWizardDataService()
protected IASBrandService getASBrandService()
protected IASSiteConfigService getASSiteConfigService()
protected boolean isAuthorizationRequired()
protected java.util.List<java.lang.String> getRequiredRoles()
protected boolean checkAuthorization(javax.servlet.http.HttpServletRequest req)
public java.lang.String getSubsystem()
protected java.lang.String stripPath(java.lang.String path)
protected boolean getSortOder(javax.servlet.http.HttpServletRequest req)
protected long getLockingTimeout()
protected boolean isAutoLockingEnabled()
protected boolean isUserInRole(javax.servlet.http.HttpServletRequest req,
java.lang.String... roles)
protected void prepareMenu(javax.servlet.http.HttpServletRequest req)
protected abstract java.util.List<net.anotheria.webutils.bean.NavigationItemBean> getSubNavigation()
protected java.util.List<net.anotheria.webutils.bean.NavigationItemBean> getMainNavigation(javax.servlet.http.HttpServletRequest req)
protected abstract java.lang.String getActiveMainNavi()
protected abstract java.lang.String getCurrentModuleDefName()
protected abstract java.lang.String getCurrentDocumentDefName()
public static java.util.List<java.lang.String> getSupportedLanguages()
protected void addLockedAttribute(javax.servlet.http.HttpServletRequest req,
net.anotheria.asg.data.AbstractASGDocument doc)
protected void removeLockedAttribute(javax.servlet.http.HttpServletRequest req,
net.anotheria.asg.data.AbstractASGDocument doc)
protected boolean containsLockedAttribute(javax.servlet.http.HttpServletRequest req,
net.anotheria.asg.data.AbstractASGDocument doc)
Copyright © 2012-2023 anotheria.net. All Rights Reserved.