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 StoredRequestContext
create()
Creates a newStoredRequestContext
void
setCorrelationId
(String correlationId) Sets the correlation ID.void
setIsPrivileged
(Boolean isPrivileged) void
Sets the locale.void
Sets the tenant ID.void
setValidFrom
(String validFrom) Sets the valid from timestamp.void
setValidTo
(String validTo) Sets the valid to timestamp.Methods inherited from interface com.sap.cds.CdsData
containsPath, forRemoval, forRemoval, get, getPath, getPathOrDefault, isForRemoval, putPath, putPathIfAbsent, removePath
Methods inherited from interface com.sap.cds.JSONizable
toJson
Methods 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
-