Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.jbo.client
Class JboUtil

java.lang.Object
  extended by oracle.jbo.client.JboUtil


public final class JboUtil
extends java.lang.Object

Constructor Summary
JboUtil()
           

 

Method Summary
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 boolean checkHintsForDisplay(AttributeHints hints, LocaleContext lCtx)
          Returns true if the hints indicate that displayable is true
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
static void setAttributeDisplayHintToHide(NamedObjectImpl attr)
          Sets both the display hint and payload hint to hide of an attribute.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JboUtil

public JboUtil()

Method Detail

isAttributeDisplayable

public static boolean isAttributeDisplayable(AttributeDef attrDef,
                                             LocaleContext locale)
Returns true if the Attribute is Displayable based on the AttributeDef
Parameters:
attrDef - - AttributeDef
locale -
Returns:
true if the attribute is displayable, false otherwise

isAttributeDisplayable

public static boolean isAttributeDisplayable(AttributeDef attrDef,
                                             AttributeHints rowBasedHint,
                                             LocaleContext locale)
Returns true if the Attribute is Displayable based on the RowBased AttributeHint and AttributeDef
Parameters:
attrDef - - AttributeDef
rowBasedHint - - AttributeHint for the same attribute passed as AttributeDef
locale -
Returns:
true if the attribute is displayable, false otherwise

checkAttributeForDisplayHide

public 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
Parameters:
attrDef - AttributeDef to check for the displayable property
hints - row based hints for the same attribute passed as attrDef
lCtx - Locale used to lookup the hint value
Returns:
true if the attribute is displayable, false otherwise
For internal use only. Application developers should not use this
For internal framework use only

checkHintsForDisplay

public static boolean checkHintsForDisplay(AttributeHints hints,
                                           LocaleContext lCtx)
Returns true if the hints indicate that displayable is true
Parameters:
hints - - hints that contain the displayable property
lCtx - Locale used to lookup the hint value
Returns:
true if the attribute is displayable, false otherwise
For internal use only. Application developers should not use this
For internal framework use only

setAttributeDisplayHintToHide

public static void setAttributeDisplayHintToHide(NamedObjectImpl attr)
Sets both the display hint and payload hint to hide of an attribute. The attribute will then be hidden both from web UI and service payloads.
Parameters:
attr - attribute whose hint needs to be configured.
For internal use only. Application developers should not use this
For internal framework use only

getAttributeLabel

public static java.lang.String getAttributeLabel(RowSet rs,
                                                 AttributeDef attrDef)

getRowFromKey

public static Row getRowFromKey(RowSetIterator rsi,
                                java.lang.String sKey)
Return a Row given a String representation of Key.

Only the first row of the array return by findbyKey is returned.

See Also:
Key.toStringFormat(boolean bSignature)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


Copyright © 1997, 2015, Oracle. All rights reserved.