public static class UIComponentFactoryImpl.ScreenLevelRecord extends Object
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
validationErrorOriginal
Original ui::ValidationError as received from the VALIDATE closure.
|
Variant.RecordVariant |
validationErrorScreenLevel
Screen-level ui::ValidationError copy.
|
Constructor and Description |
---|
ScreenLevelRecord(Variant.RecordVariant validationError,
LspsScreen screen) |
Modifier and Type | Method and Description |
---|---|
void |
addToShownOn(UIComponent component)
Call when the validation error was mapped on some component.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isExcluded(UIComponent component)
Invokes the UIComponent "excludeValidationError" closure and checks whether given validation error is exluded or not.
|
boolean |
isIncluded(UIComponent component)
Invokes the UIComponent "includeValidationError" closure and checks whether given validation error is included or not.
|
boolean |
isNotShown() |
static boolean |
isShownOn(RecordHolder validationError,
UIComponent component)
Deprecated.
|
boolean |
isShownOn(UIComponent component) |
static boolean |
isShownOn(Variant.RecordVariant validationError,
UIComponent component)
Deprecated.
|
public final Variant.RecordVariant validationErrorScreenLevel
public final Variant.RecordVariant validationErrorOriginal
public ScreenLevelRecord(Variant.RecordVariant validationError, LspsScreen screen)
public boolean isExcluded(UIComponent component)
component
- the component on which the closure is invoked, not null.public boolean isIncluded(UIComponent component)
component
- the component on which the closure is invoked, not null.@Deprecated public static boolean isShownOn(RecordHolder validationError, UIComponent component)
validationError
- component
- @Deprecated public static boolean isShownOn(Variant.RecordVariant validationError, UIComponent component)
validationError
- component
- public boolean isShownOn(UIComponent component)
component
- true
if the validation error is shown on the componentpublic boolean isNotShown()
true
if the validation error is shown on some componentpublic void addToShownOn(UIComponent component)
component
- Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.