Package com.sap.cds.services.outbox
Interface StoredRequestContext
public interface StoredRequestContext
extends com.sap.cds.CdsData
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.CdsData
com.sap.cds.CdsData.Factory -
Field Summary
Fields inherited from interface com.sap.cds.CdsData
factory -
Method Summary
Modifier and TypeMethodDescriptionstatic StoredRequestContextcreate()Creates a newStoredRequestContextvoidsetCorrelationId(String correlationId) Sets the correlation ID.voidsetIsPrivileged(Boolean isPrivileged) voidSets the locale.voidSets the tenant ID.voidsetValidFrom(String validFrom) Sets the valid from timestamp.voidsetValidTo(String validTo) Sets the valid to timestamp.Methods inherited from interface com.sap.cds.CdsData
containsPath, forRemoval, forRemoval, get, getMetadata, getPath, getPathOrDefault, isForRemoval, putMetadata, putPath, putPathIfAbsent, removePathMethods inherited from interface com.sap.cds.JSONizable
toJsonMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
create
Creates a newStoredRequestContext- Returns:
- the
StoredRequestContext
-
getTenant
String getTenant()- Returns:
- the tenant ID
-
setTenant
Sets the tenant ID.- Parameters:
tenant- the tenant ID
-
getIsPrivileged
Boolean getIsPrivileged()- Returns:
- true, if the user is a privileged user
-
setIsPrivileged
- Parameters:
isPrivileged- true, if the user is a privileged user
-
getCorrelationId
String getCorrelationId()- Returns:
- the correlation ID
-
setCorrelationId
Sets the correlation ID.- Parameters:
correlationId- the correlation ID
-
getLocale
String getLocale()- Returns:
- the locale
-
setLocale
Sets the locale.- Parameters:
locale- the locale
-
getValidFrom
String getValidFrom()- Returns:
- the valid from timestamp
-
setValidFrom
Sets the valid from timestamp.- Parameters:
validFrom- the valid to timestamp
-
getValidTo
String getValidTo()- Returns:
- the valid to timestamp
-
setValidTo
Sets the valid to timestamp.- Parameters:
validTo- the valid to timestamp
-