Class DefaultConstraintDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.validation.daos.impl.DefaultConstraintDao
- All Implemented Interfaces:
Dao,ConstraintDao
Default implementation of the
ConstraintDao interface.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all constraints instances.getConstraintDuplicates(AbstractConstraintModel constraint) Gets the list of composed type 'affected' by any attached constraint, this means haveAbstractConstraintModel.TYPEset as reference to existing type in system.Gets the list of theAbstractConstraintModelwhich are attached to any POJO and are not attached to any model, this means not have haveAbstractConstraintModel.TYPEset as reference to existing type in system.Internal use only.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultConstraintDao
public DefaultConstraintDao()
-
-
Method Details
-
getAllConstraints
Description copied from interface:ConstraintDaoGets all constraints instances.- Specified by:
getAllConstraintsin interfaceConstraintDao
-
getConstraintedComposedTypes
Description copied from interface:ConstraintDaoGets the list of composed type 'affected' by any attached constraint, this means haveAbstractConstraintModel.TYPEset as reference to existing type in system.- Specified by:
getConstraintedComposedTypesin interfaceConstraintDao
-
getPojoRelatedConstraints
Description copied from interface:ConstraintDaoGets the list of theAbstractConstraintModelwhich are attached to any POJO and are not attached to any model, this means not have haveAbstractConstraintModel.TYPEset as reference to existing type in system.- Specified by:
getPojoRelatedConstraintsin interfaceConstraintDao
-
getConstraintDuplicates
Description copied from interface:ConstraintDao- Specified by:
getConstraintDuplicatesin interfaceConstraintDao
-
getTargetClass
Description copied from interface:ConstraintDaoInternal use only. Returns the (loaded) java class or creates a java class on runtime based on the value ofConstraintGroupModel.getInterfaceName(). The class is loaded into the VM and is available during runtime. This is needed for the validation framework only.- Specified by:
getTargetClassin interfaceConstraintDao
-