Interface StoredRequestContext

All Superinterfaces:
com.sap.cds.CdsData, com.sap.cds.JSONizable, Map<String,Object>

public interface StoredRequestContext extends com.sap.cds.CdsData
  • Method Details

    • create

      static StoredRequestContext create()
      Creates a new StoredRequestContext
      Returns:
      the StoredRequestContext
    • getTenant

      String getTenant()
      Returns:
      the tenant ID
    • setTenant

      void setTenant(String tenant)
      Sets the tenant ID.
      Parameters:
      tenant - the tenant ID
    • getIsPrivileged

      Boolean getIsPrivileged()
      Returns:
      true, if the user is a privileged user
    • setIsPrivileged

      void setIsPrivileged(Boolean isPrivileged)
      Parameters:
      isPrivileged - true, if the user is a privileged user
    • getCorrelationId

      String getCorrelationId()
      Returns:
      the correlation ID
    • setCorrelationId

      void setCorrelationId(String correlationId)
      Sets the correlation ID.
      Parameters:
      correlationId - the correlation ID
    • getLocale

      String getLocale()
      Returns:
      the locale
    • setLocale

      void setLocale(String locale)
      Sets the locale.
      Parameters:
      locale - the locale
    • getValidFrom

      String getValidFrom()
      Returns:
      the valid from timestamp
    • setValidFrom

      void setValidFrom(String validFrom)
      Sets the valid from timestamp.
      Parameters:
      validFrom - the valid to timestamp
    • getValidTo

      String getValidTo()
      Returns:
      the valid to timestamp
    • setValidTo

      void setValidTo(String validTo)
      Sets the valid to timestamp.
      Parameters:
      validTo - the valid to timestamp