Class BasePdfTemplateAction
- java.lang.Object
-
- net.anotheria.webutils.actions.BaseAction
-
- net.anotheria.anosite.gen.shared.action.BaseAdminapiAction
-
- net.anotheria.anosite.gen.shared.action.BaseResourcesAction
-
- net.anotheria.anosite.gen.asresourcedata.action.BasePdfTemplateAction
-
- All Implemented Interfaces:
net.anotheria.maf.action.Action
- Direct Known Subclasses:
ExportPdfTemplatesAction,MultiOpDialogPdfTemplatesAction,MultiOpPdfTemplatesAction,MultiOpPdfTemplatesLocalizationsAction,SearchPdfTemplatesAction,ShowPdfTemplatesAction,TransferPdfTemplateAction
public abstract class BasePdfTemplateAction extends BaseResourcesAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.anotheria.anosite.gen.shared.action.BaseAdminapiAction
BaseAdminapiAction.LockedDocumentAttribute
-
-
Field Summary
-
Fields inherited from class net.anotheria.anosite.gen.shared.action.BaseAdminapiAction
BEAN_CURRENT_APPLICATION, BEAN_CURRENT_SYSTEM, BEAN_DOCUMENT_DEF_NAME, BEAN_MAIN_NAVIGATION, BEAN_MODULE_DEF_NAME, BEAN_SEARCH_SCOPE, BEAN_USER_DEF_ID, BEAN_VIEW_SELECTOR, FLAG_DISABLED_SEARCH, PARAM_SORT_ORDER, PARAM_SORT_TYPE, PARAM_SORT_TYPE_NAME, SA_FILTER_PREFIX, SA_PREFIX, SA_SORT_TYPE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description BasePdfTemplateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFieldExplanations(jakarta.servlet.http.HttpServletRequest req, PdfTemplate pdftemplate)protected voidcanUpdatePdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req)Checking UpdateCapability rightsprotected voidcheckPdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req)Executing auto-unlocking check....protected java.lang.StringgetCurrentDocumentDefName()protected java.lang.StringgetCurrentModuleDefName()protected java.lang.StringgetTitle()protected voidlockPdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req)Executing locking.protected voidunLockPdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req, boolean unlockByTimeoout)Executing unlocking.-
Methods inherited from class net.anotheria.anosite.gen.shared.action.BaseResourcesAction
getActiveMainNavi, getRequiredRoles, getSubNavigation, isAuthorizationRequired
-
Methods inherited from class net.anotheria.anosite.gen.shared.action.BaseAdminapiAction
addLockedAttribute, anoDocExecute, checkAuthorization, containsLockedAttribute, execute, getAnoAccessApplicationDataService, getAnoAccessConfigurationService, getASActionService, getASBrandService, getASCustomActionService, getASCustomDataService, getASExperimentService, getASFeatureService, getASFederatedDataService, getASGenericActionService, getASGenericDataService, getASLayoutDataService, getASResourceDataService, getASSiteConfigService, getASSiteDataService, getASUserDataService, getASWebDataService, getASWizardDataService, getImagesService, getLockingTimeout, getMainNavigation, getSortOder, getSubsystem, getSupportedLanguages, isAutoLockingEnabled, isUserInRole, prepareMenu, preProcess, removeLockedAttribute, stripPath
-
Methods 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
-
-
-
-
Method Detail
-
getTitle
protected java.lang.String getTitle()
- Specified by:
getTitlein classBaseResourcesAction
-
getCurrentModuleDefName
protected java.lang.String getCurrentModuleDefName()
- Specified by:
getCurrentModuleDefNamein classBaseAdminapiAction
-
getCurrentDocumentDefName
protected java.lang.String getCurrentDocumentDefName()
- Specified by:
getCurrentDocumentDefNamein classBaseAdminapiAction
-
addFieldExplanations
protected void addFieldExplanations(jakarta.servlet.http.HttpServletRequest req, PdfTemplate pdftemplate)
-
lockPdfTemplates
protected void lockPdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req) throws java.lang.Exception
Executing locking. Actually.- Throws:
java.lang.Exception
-
unLockPdfTemplates
protected void unLockPdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req, boolean unlockByTimeoout) throws java.lang.Exception
Executing unlocking. Actually.- Throws:
java.lang.Exception
-
checkPdfTemplates
protected void checkPdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req) throws java.lang.Exception
Executing auto-unlocking check....- Throws:
java.lang.Exception
-
canUpdatePdfTemplates
protected void canUpdatePdfTemplates(PdfTemplate pdftemplate, jakarta.servlet.http.HttpServletRequest req) throws java.lang.Exception
Checking UpdateCapability rights- Throws:
java.lang.Exception
-
-