public interface ConstraintLocalizationService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
LocalizedConstraintMessage |
findLocalizedConstraintMessage(java.lang.String entityName,
ConstraintOperationType operationType)
Tries to find an instance of
LocalizedConstraintMessage by given entity name and operation type. |
static final java.lang.String NAME
@Nullable LocalizedConstraintMessage findLocalizedConstraintMessage(java.lang.String entityName, ConstraintOperationType operationType)
LocalizedConstraintMessage
by given entity name and operation type.entityName
- the entity nameoperationType
- the operation typeLocalizedConstraintMessage
with given entity name and operation type
or null if nothing found.