Uses of Class
ch.autumo.beetroot.Session
Packages that use Session
Package
Description
Main classes for the beetRoot framework, web server and servlet (when running in a web-container).
All base handlers for different purposes.
Handler an entity for properties (aka settings) generated by PLANT.
System handlers.
User handlers; covers all necessary handlers including password reset, user settings and 2FA.
Task handlers for demonstration purposes.
User handlers; covers all necessary handlers including password reset, user settings and 2FA.
Database access and tools.
-
Uses of Session in ch.autumo.beetroot
Methods in ch.autumo.beetroot that return SessionModifier and TypeMethodDescriptionSessionManager.findOrCreate(BeetRootHTTPSession session) Get an existing user session or create a new one if it doesn't exist for the nano cookie.BeetRootHTTPSession.getUserSession()Get user session for this HTTP session.Methods in ch.autumo.beetroot with parameters of type SessionModifier and TypeMethodDescriptionLanguageManager.getBlockResource(String configResource, Session userSession) Get blocks resource / blocks template based on language.LanguageManager.getLanguage(Session userSession) Get language.LanguageManager.getLanguageFromDb(Session userSession) Get language from DB.LanguageManager.getResource(String configResource, Session userSession) Get web config resource / template based on language.Translate method for the template engine and for users of this framework.LanguageManager.translateFullEscape(String key, Session userSession, Object... arguments) Translate method for the template engine and for users of this framework.LanguageManager.translateOrDefVal(String key, String defaultValue, Session userSession, Object... arguments) Translate method for the template engine and for users of this framework that returns the default value if no translation is found at all.LanguageManager.translateTemplate(String key, Session userSession) Translate method for the template engine.LanguageManager.translateTemplate(String key, Session userSession, String[] values) Translate method for the template engine.LanguageManager.translateTemplate(String key, Session userSession, String[] values, boolean escape) Translate method for the template engine.voidLanguageManager.updateLanguage(String newLanguage, Session userSession) Update user language. -
Uses of Session in ch.autumo.beetroot.handler
Methods in ch.autumo.beetroot.handler with parameters of type SessionModifier and TypeMethodDescriptionDefaultIndexHandler.addAdditionalActions(Session userSession, String entity, String modifyID, int dbId, String lang) Add additional actions.booleanDefaultIndexHandler.changeAllowed(Session userSession) Determine if change actions are shown on index page.protected booleanBaseHandler.IfSectionHandler.continueRemoval(String text, Session userSession, String layer) Continue removal of lines?booleanDefaultIndexHandler.deleteAllowed(Session userSession) Determine if delete actions are shown on index page.DefaultIndexHandler.generateActionsTableData(Session userSession, String entity, Entity entityObj, String modifyID, int dbId, String lang) Create actions table data.protected String[]BaseHandler.getCustomizedExceptionInformation(Session userSession) Overwrite this method, if you want to have a customized handler exception title and message.Overwrite if you want to have a special layout for this handler.protected StringBaseHandler.getTemplateEngineErrorMessage(Session userSession, String resource) Get message for general template engine error.protected StringBaseHandler.getTemplateEngineErrorTitle(Session userSession, String resource) Get title for general template engine error.Page title show left above the navigation area.booleanOverwrite this method, to specifically extend handler authorization, e.g. with more app user roles.protected StringBaseHandler.isNoContentResponseButRoute(Session userSession) Overwrite this if your handler doesn't have an output.protected abstract StringNoContentButRouteHandler.isNoContentResponseButRoute(Session userSession) protected StringBuilderBaseHandler.readSnippetResource(String resource, Session userSession) Read snippet resource; e.g., 'web/html/:lang/users/snippets/roles.html'.booleanBaseHandler.showLangMenu(Session userSession) Show language menu?booleanShow template menu?booleanboolean -
Uses of Session in ch.autumo.beetroot.handler.properties
Methods in ch.autumo.beetroot.handler.properties with parameters of type SessionModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanboolean -
Uses of Session in ch.autumo.beetroot.handler.roles
Methods in ch.autumo.beetroot.handler.roles with parameters of type SessionModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanboolean -
Uses of Session in ch.autumo.beetroot.handler.system
Methods in ch.autumo.beetroot.handler.system with parameters of type Session -
Uses of Session in ch.autumo.beetroot.handler.tasks
Methods in ch.autumo.beetroot.handler.tasks with parameters of type SessionModifier and TypeMethodDescriptionbooleanTasksIndexHandler.changeAllowed(Session userSession) booleanTasksIndexHandler.deleteAllowed(Session userSession) booleanbooleanboolean -
Uses of Session in ch.autumo.beetroot.handler.users
Methods in ch.autumo.beetroot.handler.users with parameters of type SessionModifier and TypeMethodDescriptionbooleanUsersIndexHandler.deleteAllowed(Session userSession) booleanbooleanbooleanbooleanprotected StringNewQRCodeHandler.isNoContentResponseButRoute(Session userSession) booleanChangeHandler.showLangMenu(Session userSession) booleanOtpHandler.showLangMenu(Session userSession) booleanbooleanbooleanbooleanboolean -
Uses of Session in ch.autumo.beetroot.utils.database
Methods in ch.autumo.beetroot.utils.database with parameters of type SessionModifier and TypeMethodDescriptionDB.loadUserSettings(Session userSession) Load user settings map into user session.static voidDB.storeUserSettings(Session userSession) Store user setting from user session settings.