Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.auditlog | |
com.sap.cloud.sdk.cloudplatform.cache | |
com.sap.cloud.sdk.cloudplatform.concurrency | |
com.sap.cloud.sdk.cloudplatform.resilience | |
com.sap.cloud.sdk.cloudplatform.tenant | |
com.sap.cloud.sdk.services.currencyconversion.datamodel.adapter |
This package provides the interface with the method signatures to get exchange rates, exchange rate type details, and
default tenant settings.
|
com.sap.cloud.sdk.services.currencyconversion.datamodel.model |
This package provides models that you can use to send information to the Currency Conversion library.
|
com.sap.cloud.sdk.testutil |
Modifier and Type | Method and Description |
---|---|
static AccessRequester |
AccessRequester.of(javax.servlet.http.HttpServletRequest request,
Tenant tenant)
Creates a request based on the given, nullable request and tenant.
|
Constructor and Description |
---|
AccessRequester(javax.servlet.http.HttpServletRequest request,
Tenant tenant)
Creates an AccessRequester based on the given request and tenant.
|
Modifier and Type | Method and Description |
---|---|
static SerializableCacheKey |
SerializableCacheKey.of(Tenant tenant,
Principal principal)
Constructs a
CacheKey for the given tenant and principal identifier, independent of whether they are
null or not. |
static CacheKey |
CacheKey.of(Tenant tenant,
Principal principal)
Constructs a
CacheKey for the given tenant and principal identifier, independent of whether they are
null or not. |
Modifier and Type | Method and Description |
---|---|
Tenant |
ScpNeoTenantCallable.getOriginalTenant() |
Constructor and Description |
---|
ScpNeoTenantCallable(Tenant originalTenant,
Callable<T> callable) |
Modifier and Type | Method and Description |
---|---|
Tenant |
ResilienceIsolationKey.getTenant() |
Modifier and Type | Interface and Description |
---|---|
interface |
TenantWithSubdomain
Represents a {@link Tenant) that can be accessed through a subdomain.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTenant |
class |
ScpCfTenant
Implementation of
Tenant for SAP Cloud Platform Cloud Foundry. |
class |
ScpNeoTenant
Implementation of
Tenant for SAP Cloud Platform Neo. |
Modifier and Type | Method and Description |
---|---|
static Tenant |
TenantAccessor.getCurrentTenant()
Returns the current
Tenant . |
Modifier and Type | Method and Description |
---|---|
static Supplier<Tenant> |
TenantAccessor.getFallbackTenant()
Global fallback
Tenant . |
io.vavr.control.Try<Tenant> |
ScpCfTenantFacade.tryGetAuthTokenTenant()
|
io.vavr.control.Try<Tenant> |
ScpCfTenantFacade.tryGetCurrentTenant()
Returns a
Try of the current Tenant . |
io.vavr.control.Try<Tenant> |
ScpNeoTenantFacade.tryGetCurrentTenant()
Returns a
Try of the current Tenant . |
static io.vavr.control.Try<Tenant> |
TenantAccessor.tryGetCurrentTenant()
|
io.vavr.control.Try<Tenant> |
TenantFacade.tryGetCurrentTenant()
Returns a
Try of the current Tenant . |
io.vavr.control.Try<Tenant> |
DefaultTenantFacade.tryGetCurrentTenant()
Returns a
Try of the current Tenant . |
io.vavr.control.Try<Tenant> |
ScpCfTenantFacade.tryGetXsuaaServiceTenant()
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
TenantAccessor.executeWithTenant(Tenant tenant,
Callable<T> callable)
Execute the given
Callable on behalf of a given tenant. |
static void |
TenantAccessor.executeWithTenant(Tenant tenant,
Executable executable)
Execute the given
Executable on behalf of a given tenant. |
Modifier and Type | Method and Description |
---|---|
static <T> T |
TenantAccessor.executeWithFallbackTenant(Supplier<Tenant> fallbackTenant,
Callable<T> callable)
Execute the given
Callable , using the given tenant as fallback if there is no other tenant available. |
static void |
TenantAccessor.executeWithFallbackTenant(Supplier<Tenant> fallbackTenant,
Executable executable)
Execute the given
Executable , using the given tenant as fallback if there is no other tenant available. |
static void |
TenantAccessor.setFallbackTenant(Supplier<Tenant> fallbackTenant)
Global fallback
Tenant . |
Constructor and Description |
---|
TenantThreadContextListener(Tenant tenant)
Constructor for providing a
Tenant to be returned by this listener. |
Modifier and Type | Method and Description |
---|---|
default TenantSettings |
DataAdapter.getDefaultSettingsForTenant(Tenant tenant)
Returns the default
TenantSettings associated with a Tenant . |
default TenantSettings |
DataAdapter.getDefaultTenantSettings(Tenant tenant)
Deprecated.
It is a deprecated API. Please use
DataAdapter.getDefaultSettingsForTenant(Tenant) .
Returns the default |
default List<ExchangeRate> |
DataAdapter.getExchangeRates(List<ConversionParametersForNonFixedRate> conversionParameters,
Tenant tenant,
TenantSettings tenantSettings)
Deprecated.
It is a deprecated API. Please use
DataAdapter.getExchangeRatesForTenant(List, Tenant, TenantSettings) .
Returns a list of |
default List<ExchangeRate> |
DataAdapter.getExchangeRatesForTenant(List<ConversionParametersForNonFixedRate> conversionParameters,
Tenant tenant,
TenantSettings tenantSettings)
Returns a list of
ExchangeRate to be used for conversion for a given list of
ConversionParametersForNonFixedRate . |
default Map<RateType,ExchangeRateTypeDetail> |
DataAdapter.getExchangeRateTypeDetailsForTenant(Tenant tenant,
Set<RateType> rateTypeSet)
Returns the
Map of the ExchangeRateTypeDetail with the RateType as the key for a given
Set of RateType . |
Modifier and Type | Method and Description |
---|---|
Tenant |
ExchangeRate.getTenantIdentifier() |
Modifier and Type | Method and Description |
---|---|
ExchangeRate.ExchangeRateBuilder |
ExchangeRate.ExchangeRateBuilder.tenantIdentifier(Tenant tenantIdentifier) |
Modifier and Type | Method and Description |
---|---|
Tenant |
MockUtil.mockCurrentTenant() |
Tenant |
MockUtil.mockCurrentTenant(String tenantId) |
Tenant |
MockUtil.mockTenant(String tenantId) |
Copyright © 2021 SAP SE. All rights reserved.