Interface CdsModelProvider

All Superinterfaces:
CdsProvider<CdsModelProvider>

public interface CdsModelProvider extends CdsProvider<CdsModelProvider>
A provider of tenant and feature toggle dependent CDS models.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sap.cds.reflect.CdsModel
    get(UserInfo userInfo, FeatureTogglesInfo featureTogglesInfo)
    Calculates the model for a user and a set of feature toggles.

    Methods inherited from interface com.sap.cds.services.runtime.CdsProvider

    setPrevious
  • Method Details

    • get

      com.sap.cds.reflect.CdsModel get(UserInfo userInfo, FeatureTogglesInfo featureTogglesInfo)
      Calculates the model for a user and a set of feature toggles.
      Parameters:
      userInfo - The UserInfo
      featureTogglesInfo - The FeatureTogglesInfo
      Returns:
      The model for the respective user and set of feature toggles