Class DefaultPersistenceTypeService
java.lang.Object
de.hybris.platform.servicelayer.internal.model.extractor.impl.DefaultPersistenceTypeService
- All Implemented Interfaces:
PersistenceTypeService
Checks if models should be persistence with Jalo layer or direct layer.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetPersistenceType(Collection<ModelWrapper> wrappers) Gets persistence type for given collection of model wrappers.
-
Field Details
-
PERSISTENCE_LEGACY_MODE
- See Also:
-
-
Constructor Details
-
DefaultPersistenceTypeService
public DefaultPersistenceTypeService()
-
-
Method Details
-
getLegacyPersistenceGlobalSettingFromConfig
public static boolean getLegacyPersistenceGlobalSettingFromConfig() -
getPersistenceType
Description copied from interface:PersistenceTypeServiceGets persistence type for given collection of model wrappers.- Specified by:
getPersistenceTypein interfacePersistenceTypeService
-