public interface InteractiveErrorFactory
| Modifier and Type | Method and Description |
|---|---|
InteractiveError |
createInteractiveError(String text,
org.tentackle.log.Logger.Level level,
String errorCode,
org.tentackle.validate.ValidationResult validationResult,
Object uiComponent)
Creates an interactive error explicitly.
|
InteractiveError |
createInteractiveError(TreeSet<org.tentackle.validate.ValidationMapper> mappers,
org.tentackle.bind.Binder binder,
org.tentackle.validate.ValidationResult validationResult)
Creates an interactive error from a validation result.
|
static InteractiveErrorFactory |
getInstance()
The singleton.
|
static InteractiveErrorFactory getInstance()
InteractiveError createInteractiveError(TreeSet<org.tentackle.validate.ValidationMapper> mappers, org.tentackle.bind.Binder binder, org.tentackle.validate.ValidationResult validationResult)
mappers - optional mappers to map the validation path to a binding pathbinder - the bindervalidationResult - the validation resultInteractiveError createInteractiveError(String text, org.tentackle.log.Logger.Level level, String errorCode, org.tentackle.validate.ValidationResult validationResult, Object uiComponent)
text - the error textlevel - the severity (usually Logger.Level.WARNING or Logger.Level.SEVERE)errorCode - the optional error codeuiComponent - the optional UI component related to the error, null if nonevalidationResult - the optional validation resultTentackle - a domain driven enterprise framework