Interface ConfigurableHybrisConstraintViolation
- All Superinterfaces:
HybrisConstraintViolation
- All Known Implementing Classes:
DefaultHybrisConstraintViolation,LocalizedHybrisConstraintViolation
Extends the violation interface by allowing to configure the original constraint violation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetConstraintViolation(javax.validation.ConstraintViolation constraintViolation) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface de.hybris.platform.validation.exceptions.HybrisConstraintViolation
getConstraintModel, getConstraintViolation, getLocalizedMessage, getMessageTemplate, getModelName, getProperty, getQualifier, getTypeName, getViolationSeverity
-
Method Details
-
setConstraintViolation
@Deprecated(since="2005.0", forRemoval=true) void setConstraintViolation(javax.validation.ConstraintViolation constraintViolation) Deprecated, for removal: This API element is subject to removal in a future version.Configures the constraint violation by using based violation object.
-
ConstraintViolationFactory.createDefaultConstraintViolation(javax.validation.ConstraintViolation)instead