public final class JboUtil
extends java.lang.Object
| Constructor and Description |
|---|
JboUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkAttributeForDisplayHide(AttributeDef attrDef,
AttributeHints hints,
LocaleContext lCtx,
boolean checkDisplayHint)
Returns true if the Attribute is Displayable based on the RowBased AttributeHint and AttributeDef
|
static java.lang.String |
getAttributeLabel(RowSet rs,
AttributeDef attrDef) |
static Row |
getRowFromKey(RowSetIterator rsi,
java.lang.String sKey)
Return a Row given a String representation of Key.
|
static boolean |
isAttributeDisplayable(AttributeDef attrDef,
AttributeHints rowBasedHint,
LocaleContext locale)
Returns true if the Attribute is Displayable based on the RowBased AttributeHint and AttributeDef
|
static boolean |
isAttributeDisplayable(AttributeDef attrDef,
LocaleContext locale)
Returns true if the Attribute is Displayable based on the AttributeDef
|
public static boolean isAttributeDisplayable(AttributeDef attrDef, LocaleContext locale)
attrDef - - AttributeDeflocale - public static boolean isAttributeDisplayable(AttributeDef attrDef, AttributeHints rowBasedHint, LocaleContext locale)
attrDef - - AttributeDefrowBasedHint - - AttributeHint for the same attribute passed as AttributeDeflocale - public static boolean checkAttributeForDisplayHide(AttributeDef attrDef, AttributeHints hints, LocaleContext lCtx, boolean checkDisplayHint)
attrDef - - AttributeDefrowBasedHint - - AttributeHint for the same attribute passed as AttributeDeflocale - public static java.lang.String getAttributeLabel(RowSet rs, AttributeDef attrDef)
public static Row getRowFromKey(RowSetIterator rsi, java.lang.String sKey)
Only the first row of the array return by findbyKey is returned.