|
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.uiModel.util.DataSourceDataLoader
public final class DataSourceDataLoader
Factory for available Data Source's Data.
Method Summary | |
---|---|
static java.lang.String |
concatenateAttrs(java.util.List<Attribute> attrs,
oracle.jbo.Row dataSourceVORow)
Concatenates values for all the Attributes obtained from the row. |
static java.lang.String |
concatenatePrimaryKeys(java.lang.String[] primaryKeysVal)
Concatenats the primary keys values using seperator. |
static boolean |
dataSourceParamsBasedValidation(java.lang.String treeStructureCode,
java.lang.String treeCode,
java.lang.String treeVersionId,
DataSource ds,
java.lang.String[] primaryKeysVal)
Validates whether this is a suilable candidate for addition when parameters provided for data source. |
static java.util.Map<java.lang.String,java.lang.String> |
getAvailableNodesFromDataSource(java.lang.String treeStructureCode,
java.lang.String treeCode,
java.lang.String treeVersionId,
DataSource dataSource,
int startIndex)
Gets the available nodes information from DataSource. |
static void |
setAndExecuteDataSourceQuery(OAViewObjectImpl dataSourceVO,
int startIndex,
java.lang.String viewDefName,
java.lang.String treeStructureCode,
java.lang.String orderbyColumn)
Sets and execute data source query. |
static java.lang.String |
validateAndGetHierarchyDisplay(java.lang.String treeStructureCode,
java.lang.String treeCode,
java.lang.String treeVersionId,
DataSource ds,
java.lang.String[] primaryKeysVal)
Validates whether this is a candidate for addition when parameters provided for data source and return hierarchy Display |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Map<java.lang.String,java.lang.String> getAvailableNodesFromDataSource(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId, DataSource dataSource, int startIndex)
treeStructureCode
- Tree Structure CodetreeCode
- Tree CodetreeVersionId
- Tree Version IddataSource
- Selected Data SourcestartIndex
- as int for start of range
public static java.lang.String concatenatePrimaryKeys(java.lang.String[] primaryKeysVal)
primaryKeysVal
- Array of primary keys values
public static java.lang.String concatenateAttrs(java.util.List<Attribute> attrs, oracle.jbo.Row dataSourceVORow)
attrs
- List of attributesdataSourceVORow
- Row from which value will be extracted
public static boolean dataSourceParamsBasedValidation(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId, DataSource ds, java.lang.String[] primaryKeysVal)
treeStructureCode
- Tree Structure CodetreeCode
- Tree CodetreeVersionId
- as Tree Version Idds
- Data SourceprimaryKeysVal
- Array of primarykey keys value
public static java.lang.String validateAndGetHierarchyDisplay(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId, DataSource ds, java.lang.String[] primaryKeysVal)
treeStructureCode
- Tree Structure CodetreeCode
- Tree CodetreeVersionId
- as Tree Version Idds
- Data SourceprimaryKeysVal
- Array of primarykey keys value
public static void setAndExecuteDataSourceQuery(OAViewObjectImpl dataSourceVO, int startIndex, java.lang.String viewDefName, java.lang.String treeStructureCode, java.lang.String orderbyColumn) throws oracle.jbo.JboException
dataSourceVO
- as View ObjectstartIndex
- starting index for row selectionviewDefName
- View definition nametreeStructureCode
- Tree Structure Code
oracle.jbo.JboException
- Jbo Exception for any query error
|
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 |