|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
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.managed.TreeBackingBean oracle.apps.fnd.applcore.trees.ui.managed.BaseHierarchyBean
public class BaseHierarchyBean
JSF managed bean extension for implementing some API's for hierarchies.
Constructor Summary | |
---|---|
BaseHierarchyBean()
Constructor for the Base Hierarchy. |
Method Summary | |
---|---|
void |
clearNodeParameter()
Clears the Node specific parameters once the node Operation is done/cancelled. |
protected java.lang.String |
getDisplayableMessage(oracle.jbo.JboException jbe)
|
java.util.List<org.apache.commons.beanutils.DynaBean[]> |
getSelectedTreeComponetNodes(org.apache.myfaces.trinidad.component.UIXTree treeComponent)
Gets the Selected Tree Node for which action need to be performed . |
protected java.util.List<org.apache.commons.beanutils.DynaBean> |
populateTreeNodeHierarchy(java.lang.String treeStructureCode,
java.lang.String treeCode,
java.lang.String treeVersionId)
Populate the tree Nodes. |
protected TreeStructure |
populateTreeStructure(java.lang.String treeStructureCode,
oracle.jbo.server.ApplicationModuleImpl am)
Populate the tree Structure. |
void |
putDialogParameters(org.apache.commons.beanutils.DynaBean[] selectedNodePair,
TreeStructure treeStructure,
java.util.Map<java.lang.String,Tree> treesMap,
java.lang.String treeCode,
java.lang.String treeVersionId,
UIModelConstants.SelectedNodeAction selectedAction)
Put the parameters in Process Scope for Addition of Node. |
java.lang.String[] |
setPrimaryKeysEndVal(java.util.List<Attribute> pkAttrs,
org.apache.commons.beanutils.DynaBean treeNode)
Sets the primary key attributesEnd Value for the tree Node. |
java.lang.String[] |
setPrimaryKeysStartVal(java.util.List<Attribute> pkAttrs,
org.apache.commons.beanutils.DynaBean treeNode)
Sets the primary key attributes Start value for the tree Node. |
java.util.List<org.apache.commons.beanutils.DynaBean> |
sortDynaBeanNodes(java.util.List<Attribute> pkAttrs,
java.util.List<org.apache.commons.beanutils.DynaBean> childrenOfRangeNode)
Sort all the DynaBeans Tree Node so that proper range can be set. |
java.lang.String |
validateTreeNode(java.util.List<org.apache.commons.beanutils.DynaBean[]> selectedTreeNodes,
UIModelConstants.SelectedNodeAction selectedAction,
java.lang.String treeVersionId,
boolean multipleRootNodeFlag)
Validates a Tree Node operation whether it is permitted or not. |
Methods inherited from class oracle.apps.fnd.applcore.trees.ui.managed.TreeBackingBean |
---|
evaluateExpr, getBindingContainer, getCentralTreeNodeAM, getCreateTreeAM, getHierarchyAM, getRootAM, getTreeStructureAM, getTreeStructureAuditAM, noActionMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseHierarchyBean()
Method Detail |
---|
protected TreeStructure populateTreeStructure(java.lang.String treeStructureCode, oracle.jbo.server.ApplicationModuleImpl am)
treeStructureCode
- Tree Structure Code
protected java.util.List<org.apache.commons.beanutils.DynaBean> populateTreeNodeHierarchy(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId)
treeStructureCode
- String for Tree Structure CodetreeCode
- String for Tree CodetreeVersionId
- String for Tree Version ID
public void putDialogParameters(org.apache.commons.beanutils.DynaBean[] selectedNodePair, TreeStructure treeStructure, java.util.Map<java.lang.String,Tree> treesMap, java.lang.String treeCode, java.lang.String treeVersionId, UIModelConstants.SelectedNodeAction selectedAction)
selectedNodePair
- the Selected Tree Node parent Node
pair Dyna Bean arraytreeStructure
- Tree Structure metadatatreesMap
- Map representing Tree Code and Tree as pairtreeCode
- in String formattreeVersionId
- in string formatselectedAction
- selected action indicatorpublic java.util.List<org.apache.commons.beanutils.DynaBean[]> getSelectedTreeComponetNodes(org.apache.myfaces.trinidad.component.UIXTree treeComponent)
treeComponent
- UIX component for Tree or TreeTable
public java.util.List<org.apache.commons.beanutils.DynaBean> sortDynaBeanNodes(java.util.List<Attribute> pkAttrs, java.util.List<org.apache.commons.beanutils.DynaBean> childrenOfRangeNode)
pkAttrs
- Primary Key Attributes fo the Data Source for this NodechildrenOfRangeNode
- List of tree nodes which need to be sorted
public java.lang.String[] setPrimaryKeysStartVal(java.util.List<Attribute> pkAttrs, org.apache.commons.beanutils.DynaBean treeNode)
pkAttrs
- List of primary key attributes for the dataSource corresponding to this nodetreeNode
- Tree Node dynaBean
public java.lang.String[] setPrimaryKeysEndVal(java.util.List<Attribute> pkAttrs, org.apache.commons.beanutils.DynaBean treeNode)
pkAttrs
- List of primary key attributes for the dataSource corresponding to this nodetreeNode
- Tree Node dynaBean
public void clearNodeParameter()
public java.lang.String validateTreeNode(java.util.List<org.apache.commons.beanutils.DynaBean[]> selectedTreeNodes, UIModelConstants.SelectedNodeAction selectedAction, java.lang.String treeVersionId, boolean multipleRootNodeFlag)
selectedTreeNodes
- List of Selected node and its parent pairselectedAction
- selected node action indicatortreeVersionId
- Tree Version Id for the actual treemultipleRootNodeFlag
- true when multiple root node is allowed
protected java.lang.String getDisplayableMessage(oracle.jbo.JboException jbe)
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |