Uses of Interface
com.sap.cds.services.runtime.RequestContextRunner
Packages that use RequestContextRunner
-
Uses of RequestContextRunner in com.sap.cds.services.runtime
Methods in com.sap.cds.services.runtime that return RequestContextRunnerModifier and TypeMethodDescriptionRequestContextRunner.anonymousUser()Sets theUserInfofor theRequestContextto the anonymous user.RequestContextRunner.clearMessages()Resets theMessagesfor theRequestContextbeing opened.RequestContextRunner.clearParameters()Resets theParameterInfofor theRequestContextbeing opened.default RequestContextRunnerRequestContextRunner.clearUser()Resets theUserInfofor theRequestContextbeing opened.RequestContextRunner.featureToggles(FeatureTogglesInfo featureTogglesInfo) Sets a dedicatedFeatureTogglesInfofor theRequestContextbeing opened.RequestContextRunner.modifyParameters(Consumer<ModifiableParameterInfo> contextParameters) Opens aRequestContextwith an adaptedParameterInfo.RequestContextRunner.modifyUser(Consumer<ModifiableUserInfo> contextUser) Opens aRequestContextwith an adaptedUserInfo.RequestContextRunner.parameters(ParameterInfo parameterInfo) Sets a dedicatedParameterInfofor theRequestContextbeing opened.RequestContextRunner.privilegedUser()Sets theUserInfofor theRequestContextto the internal privileged user who passes all authorization checks.RequestContextRunner.providedParameters()RequestContextRunner.providedUser()CdsRuntime.requestContext()Starts a newRequestContextwhich defines the context of parameters (reflecting the user, request parameters etc.)RequestContextRunner.systemUser()Sets theUserInfofor theRequestContextto the system user.RequestContextRunner.systemUser(String tenantId) Sets theUserInfofor theRequestContextto the system user of the specified subscriber account.RequestContextRunner.systemUserProvider()Sets theUserInfofor theRequestContextto the system user of the provider account.Sets a dedicatedUserInfofor theRequestContextbeing opened.