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 TypeMethodDescriptionvoidSQSQueuePoller.setSessionSupplier(Supplier<QSession> sessionSupplier) Setter for sessionSupplier -
Uses of QSession in com.kingsrook.qqq.backend.core.actions.tables.helpers
Methods in com.kingsrook.qqq.backend.core.actions.tables.helpers with parameters of type QSessionModifier and TypeMethodDescriptionstatic booleanValidateRecordSecurityLockHelper.allowedToReadRecord(QTableMetaData table, QRecord record, QSession qSession, QBackendTransaction transaction) return boolean if given session can read given recordstatic List<QErrorMessage> ValidateRecordSecurityLockHelper.validateRecordSecurityValue(QTableMetaData table, RecordSecurityLock recordSecurityLock, Serializable recordSecurityValue, QFieldType fieldType, ValidateRecordSecurityLockHelper.Action action, Map<Serializable, QRecord> madeUpPrimaryKeys, QSession qSession) 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 QSessionQContext.getQSession()CapturedContext.qSession()Returns the value of theqSessionrecord component.Methods in com.kingsrook.qqq.backend.core.context with parameters of type QSessionModifier and TypeMethodDescriptionstatic voidMost common method to set or init the context - e.g., set the current thread with a QInstance and QSession.static voidQContext.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 voidQContext.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 aCapturedContextrecord 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 QSchedulerInterfaceQSchedulerMetaData.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 TypeClassDescriptionclassSpecial 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 QSessionQAuthenticationModuleInterface.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 voidQAuthenticationModuleCustomizerInterface.addSecurityKeyValueToSession(QSession session, String keyName, Serializable value) default voidQAuthenticationModuleCustomizerInterface.customizeAutomatedSessionForUser(QInstance qInstance, QSession automatedSessionForUser, Serializable userId) default voidQAuthenticationModuleCustomizerInterface.customizeSession(QInstance qInstance, QSession qSession, Map<String, Object> context) default voidQAuthenticationModuleCustomizerInterface.finalCustomizeSession(QInstance qInstance, QSession qSession) booleanQAuthenticationModuleInterface.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) Create or restore a session.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 TypeMethodDescriptionbooleanAuth0AuthenticationModule.isSessionValid(QInstance instance, QSession session) booleanFullyAnonymousAuthenticationModule.isSessionValid(QInstance instance, QSession session) booleanMockAuthenticationModule.isSessionValid(QInstance instance, QSession session) booleanOAuth2AuthenticationModule.isSessionValid(QInstance instance, QSession session) booleanTableBasedAuthenticationModule.isSessionValid(QInstance instance, QSession session) static voidFullyAnonymousAuthenticationModule.persistSession(QSession session) Persist session data to StateProvider. -
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 QScheduleManagerQScheduleManager.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 voidSchedulerUtils.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 QuartzSchedulerQuartzScheduler.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.sessionSupplierStandardScheduledExecutor.sessionSupplierMethods 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 TypeMethodDescriptionvoidSimpleScheduler.setSessionSupplier(Supplier<QSession> sessionSupplier) Setter for sessionSuppliervoidStandardScheduledExecutor.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 QSessionQJavalinImplementation.setupSession(io.javalin.http.Context context, AbstractActionInput input) static QSessionQJavalinImplementation.setupSession(io.javalin.http.Context context, AbstractActionInput input, QAuthenticationMetaData authMetaData) Setup session using the specified authentication metadata. -
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 TypeMethodDescriptionvoidBaseAPIActionUtil.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 QSessionExecutorSessionUtils.setupSession(io.javalin.http.Context context, QInstance qInstance)