@Service(value="cuba_ConstraintLocalizationService") public class ConstraintLocalizationServiceBean extends java.lang.Object implements ConstraintLocalizationService
NAME
Constructor and Description |
---|
ConstraintLocalizationServiceBean() |
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. |
@Nullable public LocalizedConstraintMessage findLocalizedConstraintMessage(java.lang.String entityName, ConstraintOperationType operationType)
ConstraintLocalizationService
LocalizedConstraintMessage
by given entity name and operation type.findLocalizedConstraintMessage
in interface ConstraintLocalizationService
entityName
- the entity nameoperationType
- the operation typeLocalizedConstraintMessage
with given entity name and operation type
or null if nothing found.