Class RepositoryConfigUtils

java.lang.Object
de.hybris.platform.persistence.polyglot.config.RepositoryConfigUtils

public final class RepositoryConfigUtils extends Object
Utility class for polyglot repo configuration related methods.
  • Method Details

    • isKeyUsedInConfig

      public static boolean isKeyUsedInConfig(ItemStateRepositoryFactory itemStateRepositoryFactory, TypeInfo typeInfo, String qualifier)
      checks if the given key of given type is used in any conditional polyglot type configuration
      Parameters:
      itemStateRepositoryFactory - the factory that should be used to get repositories and configs
      typeInfo - typeInfo of the type containing the key
      qualifier - qualifier of the key that should be checked
      Returns:
      true if the given key is used in any polyglot type configuration, false otherwise
      See Also: