Class RepositoryConfigUtils
java.lang.Object
de.hybris.platform.persistence.polyglot.config.RepositoryConfigUtils
Utility class for polyglot repo configuration related methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisKeyUsedInConfig(ItemStateRepositoryFactory itemStateRepositoryFactory, TypeInfo typeInfo, String qualifier) checks if the given key of given type is used in any conditional polyglot type configuration
-
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 configstypeInfo- typeInfo of the type containing the keyqualifier- qualifier of the key that should be checked- Returns:
trueif the given key is used in any polyglot type configuration,falseotherwise- See Also:
-