Uses of Class
com.kingsrook.qqq.backend.core.model.session.QSession
Packages that use QSession
Package
Description
This package contains (hopefully generally) api-version-agnostic classes
that implement the actual QQQ Middleware.
-
Uses of QSession in com.kingsrook.qqq.backend.core.actions.automation.polling
Constructor parameters in com.kingsrook.qqq.backend.core.actions.automation.polling with type arguments of type QSessionModifierConstructorDescriptionPollingAutomationPerTableRunner
(QInstance instance, String providerName, Supplier<QSession> sessionSupplier, PollingAutomationPerTableRunner.TableActionsInterface tableActions) -
Uses of QSession in com.kingsrook.qqq.backend.core.actions.queues
Method parameters in com.kingsrook.qqq.backend.core.actions.queues with type arguments of type QSessionModifier and TypeMethodDescriptionvoid
SQSQueuePoller.setSessionSupplier
(Supplier<QSession> sessionSupplier) Setter for sessionSupplier -
Uses of QSession in com.kingsrook.qqq.backend.core.actions.tables.helpers
Method parameters in com.kingsrook.qqq.backend.core.actions.tables.helpers with type arguments of type QSession -
Uses of QSession in com.kingsrook.qqq.backend.core.actions.values
Constructors in com.kingsrook.qqq.backend.core.actions.values with parameters of type QSession -
Uses of QSession in com.kingsrook.qqq.backend.core.context
Methods in com.kingsrook.qqq.backend.core.context that return QSessionModifier and TypeMethodDescriptionstatic QSession
QContext.getQSession()
CapturedContext.qSession()
Returns the value of theqSession
record component.Methods in com.kingsrook.qqq.backend.core.context with parameters of type QSessionModifier and TypeMethodDescriptionstatic void
Most common method to set or init the context - e.g., set the current thread with a QInstance and QSession.static void
QContext.init
(QInstance qInstance, QSession qSession, QBackendTransaction transaction, AbstractActionInput actionInput) Full flavor init method - also take a transaction and action input (to seed the stack).static void
QContext.setQSession
(QSession qSession) Constructors in com.kingsrook.qqq.backend.core.context with parameters of type QSessionModifierConstructorDescriptionCapturedContext
(QInstance qInstance, QSession qSession) Simpler constructorCapturedContext
(QInstance qInstance, QSession qSession, QBackendTransaction qBackendTransaction, Stack<AbstractActionInput> actionStack) Creates an instance of aCapturedContext
record class. -
Uses of QSession in com.kingsrook.qqq.backend.core.model.actions
Methods in com.kingsrook.qqq.backend.core.model.actions that return QSession -
Uses of QSession in com.kingsrook.qqq.backend.core.model.metadata.scheduleing
Method parameters in com.kingsrook.qqq.backend.core.model.metadata.scheduleing with type arguments of type QSessionModifier and TypeMethodDescriptionabstract QSchedulerInterface
QSchedulerMetaData.initSchedulerInstance
(QInstance qInstance, Supplier<QSession> systemSessionSupplier) -
Uses of QSession in com.kingsrook.qqq.backend.core.model.metadata.scheduleing.quartz
Method parameters in com.kingsrook.qqq.backend.core.model.metadata.scheduleing.quartz with type arguments of type QSessionModifier and TypeMethodDescriptionQuartzSchedulerMetaData.initSchedulerInstance
(QInstance qInstance, Supplier<QSession> systemSessionSupplier) -
Uses of QSession in com.kingsrook.qqq.backend.core.model.metadata.scheduleing.simple
Method parameters in com.kingsrook.qqq.backend.core.model.metadata.scheduleing.simple with type arguments of type QSessionModifier and TypeMethodDescriptionSimpleSchedulerMetaData.initSchedulerInstance
(QInstance qInstance, Supplier<QSession> systemSessionSupplier) -
Uses of QSession in com.kingsrook.qqq.backend.core.model.session
Subclasses of QSession in com.kingsrook.qqq.backend.core.model.sessionModifier and TypeClassDescriptionclass
Special session, indicating that an action being executed is being done not on behalf of a (human or otherwise) user - but instead, is the application/ system itself.Methods in com.kingsrook.qqq.backend.core.model.session that return QSessionModifier and TypeMethodDescriptionQSession.clone()
QSession.withBackendVariants
(Map<String, Serializable> backendVariants) Fluent setter for backendVariantsQSession.withPermission
(String permission) QSession.withPermissions
(String... permissionNames) QSession.withPermissions
(Collection<String> permissionNames) QSession.withSecurityKeyValue
(String keyName, Serializable value) Fluent setter for securityKeyValues - add 1 value for 1 key.QSession.withSecurityKeyValues
(Map<String, List<Serializable>> securityKeyValues) Fluent setter for securityKeyValues - replaces the map.Fluent setter for userQSession.withValueForFrontend
(String key, Serializable value) Fluent setter for a single valuesForFrontendQSession.withValuesForFrontend
(Map<String, Serializable> valuesForFrontend) Fluent setter for valuesForFrontend -
Uses of QSession in com.kingsrook.qqq.backend.core.modules.authentication
Methods in com.kingsrook.qqq.backend.core.modules.authentication that return QSessionModifier and TypeMethodDescriptiondefault QSession
QAuthenticationModuleInterface.createAutomatedSessionForUser
(QInstance qInstance, Serializable userId) QAuthenticationModuleInterface.createSession
(QInstance qInstance, Map<String, String> context) Methods in com.kingsrook.qqq.backend.core.modules.authentication with parameters of type QSessionModifier and TypeMethodDescriptiondefault void
QAuthenticationModuleCustomizerInterface.addSecurityKeyValueToSession
(QSession session, String keyName, Serializable value) default void
QAuthenticationModuleCustomizerInterface.customizeAutomatedSessionForUser
(QInstance qInstance, QSession automatedSessionForUser, Serializable userId) default void
QAuthenticationModuleCustomizerInterface.customizeSession
(QInstance qInstance, QSession qSession, Map<String, Object> context) default void
QAuthenticationModuleCustomizerInterface.finalCustomizeSession
(QInstance qInstance, QSession qSession) boolean
QAuthenticationModuleInterface.isSessionValid
(QInstance instance, QSession session) -
Uses of QSession in com.kingsrook.qqq.backend.core.modules.authentication.implementations
Methods in com.kingsrook.qqq.backend.core.modules.authentication.implementations that return QSessionModifier and TypeMethodDescriptionAuth0AuthenticationModule.createAutomatedSessionForUser
(QInstance qInstance, Serializable userId) e.g., if a scheduled job needs to run as a user (say, a report)...OAuth2AuthenticationModule.createAutomatedSessionForUser
(QInstance qInstance, Serializable userId) Auth0AuthenticationModule.createSession
(QInstance qInstance, Map<String, String> context) FullyAnonymousAuthenticationModule.createSession
(QInstance qInstance, Map<String, String> context) MockAuthenticationModule.createSession
(QInstance qInstance, Map<String, String> context) OAuth2AuthenticationModule.createSession
(QInstance qInstance, Map<String, String> context) TableBasedAuthenticationModule.createSession
(QInstance qInstance, Map<String, String> context) Methods in com.kingsrook.qqq.backend.core.modules.authentication.implementations with parameters of type QSessionModifier and TypeMethodDescriptionboolean
Auth0AuthenticationModule.isSessionValid
(QInstance instance, QSession session) boolean
FullyAnonymousAuthenticationModule.isSessionValid
(QInstance instance, QSession session) boolean
MockAuthenticationModule.isSessionValid
(QInstance instance, QSession session) boolean
OAuth2AuthenticationModule.isSessionValid
(QInstance instance, QSession session) boolean
TableBasedAuthenticationModule.isSessionValid
(QInstance instance, QSession session) -
Uses of QSession in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend
Fields in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend declared as QSession -
Uses of QSession in com.kingsrook.qqq.backend.core.scheduler
Method parameters in com.kingsrook.qqq.backend.core.scheduler with type arguments of type QSessionModifier and TypeMethodDescriptionstatic QScheduleManager
QScheduleManager.initInstance
(QInstance qInstance, Supplier<QSession> systemUserSessionSupplier) Singleton initiator - e.g., must be called to initially initialize the singleton before anyone else calls getInstance (they'll get an error if they call that first).static void
SchedulerUtils.runProcess
(QInstance qInstance, Supplier<QSession> sessionSupplier, QProcessMetaData process, Map<String, Serializable> backendVariantData, Map<String, Serializable> processInputValues) -
Uses of QSession in com.kingsrook.qqq.backend.core.scheduler.quartz
Methods in com.kingsrook.qqq.backend.core.scheduler.quartz that return types with arguments of type QSessionModifier and TypeMethodDescriptionQuartzScheduler.getSessionSupplier()
Getter for sessionSupplierMethod parameters in com.kingsrook.qqq.backend.core.scheduler.quartz with type arguments of type QSessionModifier and TypeMethodDescriptionstatic QuartzScheduler
QuartzScheduler.initInstance
(QInstance qInstance, String schedulerName, Properties quartzProperties, Supplier<QSession> sessionSupplier) Singleton initiator - e.g., must be called to initially initialize the singleton before anyone else calls getInstance (they'll get an error if they call that first). -
Uses of QSession in com.kingsrook.qqq.backend.core.scheduler.simple
Fields in com.kingsrook.qqq.backend.core.scheduler.simple with type parameters of type QSessionModifier and TypeFieldDescriptionSimpleScheduler.sessionSupplier
StandardScheduledExecutor.sessionSupplier
Methods in com.kingsrook.qqq.backend.core.scheduler.simple that return types with arguments of type QSessionModifier and TypeMethodDescriptionSimpleScheduler.getSessionSupplier()
Getter for sessionSupplierMethod parameters in com.kingsrook.qqq.backend.core.scheduler.simple with type arguments of type QSessionModifier and TypeMethodDescriptionvoid
SimpleScheduler.setSessionSupplier
(Supplier<QSession> sessionSupplier) Setter for sessionSuppliervoid
StandardScheduledExecutor.setSessionSupplier
(Supplier<QSession> sessionSupplier) Setter for sessionSupplier -
Uses of QSession in com.kingsrook.qqq.backend.javalin
Methods in com.kingsrook.qqq.backend.javalin that return QSessionModifier and TypeMethodDescriptionstatic QSession
QJavalinImplementation.setupSession
(io.javalin.http.Context context, AbstractActionInput input) -
Uses of QSession in com.kingsrook.qqq.backend.module.api.actions
Fields in com.kingsrook.qqq.backend.module.api.actions declared as QSessionMethods in com.kingsrook.qqq.backend.module.api.actions with parameters of type QSessionModifier and TypeMethodDescriptionvoid
BaseAPIActionUtil.setSession
(QSession session) Deprecated. -
Uses of QSession in com.kingsrook.qqq.middleware.javalin.executors
Methods in com.kingsrook.qqq.middleware.javalin.executors that return QSessionModifier and TypeMethodDescriptionstatic QSession
ExecutorSessionUtils.setupSession
(io.javalin.http.Context context, QInstance qInstance)