|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.trees.ui.util.UIHierarchyUtils
public final class UIHierarchyUtils
Utility class for Hierarchy UI's.
Method Summary | |
---|---|
static void |
displayHierarchyConfirmationMessage(java.lang.String confirmHeader,
java.lang.String confirmText)
Display the confirmation message for given message header and text string. |
static void |
displayHierarchyErrorMessage(java.lang.String errMsg)
Display the error message for given message string. |
static void |
displayHierarchyWarningMessage(java.lang.String warnMsg)
Display the warning message for given message string. |
static java.lang.Object |
evaluateExpr(java.lang.String pExpr,
java.lang.Class pClass)
Evalutates the given expression |
static javax.faces.component.UIComponent |
findComponent(javax.faces.component.UIComponent component,
java.lang.String componentType)
Find the component for the Hierarchy Declarative component. |
static oracle.adf.view.rich.component.fragment.UIXDeclarativeComponent |
findHierarchyDC(java.lang.String hierarchyId)
Search the hierarchy Declarative component. |
static javax.faces.component.UIComponent |
findHierarchyTreeComponent(javax.faces.component.UIComponent component)
Find the tree component for the Hierarchy Declarative component. |
static java.lang.String |
getHierarchyMessage(java.lang.String pRbKey)
Returns a translated String based on the given key from the run tree bundle |
static java.lang.String |
getHierarchyMessage(java.lang.String pRbKey,
java.lang.Object... pTokens)
Returns a translated String based on the given key from the run tree bundle |
static java.lang.String |
getMessage(java.lang.String pRbKey)
Returns a translated String based on the given key from the run tree bundle |
static java.lang.String |
getMessage(java.lang.String pRbKey,
java.lang.Object... pTokens)
Returns a translated String based on the given key from the run tree bundle |
static java.io.File |
getRootDirectory()
Gets the root Directory for Web- context -root (public_html). |
static java.lang.String |
getTranslatedLabel(java.lang.String pRbName,
java.lang.String pRbKey,
java.lang.Object... pTokens)
Returns the translated String from the given resource bundle with the given key and token values. |
static java.lang.Object |
invokeEL(java.lang.String el,
java.lang.Class[] paramTypes,
java.lang.Object[] params)
Programmatic invocation of a method that an EL evaluates to. |
static boolean |
isPortletRequest()
Check whether it is a portlet environment or servlet environment. |
static void |
launchHierarchyDialogPage(java.lang.String dialogPage)
Programmatically launch the passed page name as Dialog page. |
static void |
setActionExpression(javax.faces.event.ActionEvent actionEvent,
java.lang.String actionMethod)
Sets the ActionExpression for the given Action Source programmatically. |
static void |
setPickedNodeValue(PickedNode pickedNode,
org.apache.myfaces.trinidad.component.UIXSelectOne selectChoice)
|
static void |
showPopup(oracle.adf.view.rich.component.rich.RichPopup popupDialog)
Prepares the script to render a pop up dynamically. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void launchHierarchyDialogPage(java.lang.String dialogPage)
dialogPage
- Name of the page which should be launched as dialogpublic static void displayHierarchyErrorMessage(java.lang.String errMsg)
errMsg
- Error message to be displayedpublic static void displayHierarchyWarningMessage(java.lang.String warnMsg)
warnMsg
- Warning message to be displayedpublic static void displayHierarchyConfirmationMessage(java.lang.String confirmHeader, java.lang.String confirmText)
confirmHeader
- Confirmation Header message to be displayedconfirmText
- Confirmation Text Message to be displayedpublic static void setActionExpression(javax.faces.event.ActionEvent actionEvent, java.lang.String actionMethod)
actionEvent
- Action Event assoicated with the SourceactionMethod
- Method Expression which sneed to be set as actionpublic static oracle.adf.view.rich.component.fragment.UIXDeclarativeComponent findHierarchyDC(java.lang.String hierarchyId)
hierarchyId
- as String
public static javax.faces.component.UIComponent findComponent(javax.faces.component.UIComponent component, java.lang.String componentType)
component
- passed in UIComponent as parent
public static javax.faces.component.UIComponent findHierarchyTreeComponent(javax.faces.component.UIComponent component)
component
- passed in UIComponent as parent
public static java.io.File getRootDirectory()
public static boolean isPortletRequest()
public static void showPopup(oracle.adf.view.rich.component.rich.RichPopup popupDialog)
popupDialog
- the Popup Dailog componentpublic static java.lang.Object evaluateExpr(java.lang.String pExpr, java.lang.Class pClass)
public static java.lang.String getTranslatedLabel(java.lang.String pRbName, java.lang.String pRbKey, java.lang.Object... pTokens)
pRbName
- fully qualified name of the resource bundle.
This could be a XLIFF resource bundle or a Java resource bundle.pRbKey
- key for the resource in the bundlepTokens
- any tokens for the resource that need to be
substituted.
public static java.lang.String getMessage(java.lang.String pRbKey)
pRbKey
- key for the resource in the bundle
public static java.lang.String getMessage(java.lang.String pRbKey, java.lang.Object... pTokens)
pRbKey
- key for the resource in the bundlepTokens
- any tokens for the resource that need to be
substituted.
public static java.lang.String getHierarchyMessage(java.lang.String pRbKey)
pRbKey
- key for the resource in the bundle
public static java.lang.String getHierarchyMessage(java.lang.String pRbKey, java.lang.Object... pTokens)
pRbKey
- key for the resource in the bundlepTokens
- any tokens for the resource that need to be
substituted.
public static void setPickedNodeValue(PickedNode pickedNode, org.apache.myfaces.trinidad.component.UIXSelectOne selectChoice)
public static java.lang.Object invokeEL(java.lang.String el, java.lang.Class[] paramTypes, java.lang.Object[] params)
el
- EL of the method to invokeparamTypes
- Array of Class defining the types of the
parametersparams
- Array of Object defining the values of the
parametrs
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |