Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.trees.uiModel.util
Class DataSourceUtils

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.uiModel.util.DataSourceUtils

public final class DataSourceUtils
extends java.lang.Object

Utility class to be used for processing data sources.

Author:
Abhay K Kumar <abhay.k.kumar&064;oracle.com>

Method Summary
static java.lang.String getCreateDataSourcePage(DataSource ds)
          Gets the create page UI from view object definition of data source.
static java.util.List<Attribute> getDataSourceAttrs(DataSource ds)
          Gets the attribute available for give data source view object.
static java.lang.String getDataSourceDisplayName(DataSource ds)
          Gets the data source display name for given data source.
static java.util.List<Attribute> getDataSourceHierDispAttrs(DataSource ds)
          Gets the hierarchy display attributes for give data source view object.
static java.util.List<Attribute> getDataSourceLabelHierDispAttrs(DataSource ds)
          Gets the hierarchy display attributes for give data source's label view object.
static java.util.List<Attribute> getDataSourceLabelPkAttrs(DataSource ds)
          Gets the primary key attributes for give data source's label view object.
static java.util.List<Attribute> getDataSourcePkAttrs(DataSource ds)
          Gets the primary key attributes for give data source view object.
static java.util.List<org.apache.commons.beanutils.DynaProperty> getDataSourceProperties(DataSource ds)
          Gets the DynaProperty's of this DataSource and all its children.
static java.lang.String getDeleteDataSourcePage(DataSource ds)
          Gets the delete page UI from view object definition of data source.
static java.lang.String getDuplicateDataSourcePage(DataSource ds)
          Gets the duplicate page UI from view object definition of data source.
static java.lang.String getLabelDataSourceDisplayName(DataSource ds)
          Gets the label data source display name for given data source.
static java.lang.String getSearchDataSourcePage(DataSource ds)
          Gets the search and select page UI from view object definition of data source.
static java.lang.String getUpdateDataSourcePage(DataSource ds)
          Gets the update page UI from view object definition of data source.
static boolean isVlAccessorChild(oracle.jbo.server.ApplicationModuleImpl am, DataSource ds)
          checks whether this data source is registered for some view link of its parent data source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDataSourceDisplayName

public static java.lang.String getDataSourceDisplayName(DataSource ds)
Gets the data source display name for given data source.

Parameters:
ds - Data Source
Returns:
Value for data source display name
See Also:
DataSource

getLabelDataSourceDisplayName

public static java.lang.String getLabelDataSourceDisplayName(DataSource ds)
Gets the label data source display name for given data source.

Parameters:
ds - Data Source
Returns:
Value for label data source display name
See Also:
DataSource

getDataSourceAttrs

public static java.util.List<Attribute> getDataSourceAttrs(DataSource ds)
Gets the attribute available for give data source view object.

Parameters:
ds - Data Source
Returns:
List of attribute for given data source view object
See Also:
DataSource, Attribute

getDataSourcePkAttrs

public static java.util.List<Attribute> getDataSourcePkAttrs(DataSource ds)
Gets the primary key attributes for give data source view object.

Parameters:
ds - Data Source
Returns:
List of primary key attribute for given data source view object
See Also:
DataSource, Attribute

getDataSourceHierDispAttrs

public static java.util.List<Attribute> getDataSourceHierDispAttrs(DataSource ds)
Gets the hierarchy display attributes for give data source view object.

Parameters:
ds - Data Source
Returns:
List of hierarchy display attribute for given data source view object
See Also:
DataSource, Attribute

getDataSourceLabelPkAttrs

public static java.util.List<Attribute> getDataSourceLabelPkAttrs(DataSource ds)
Gets the primary key attributes for give data source's label view object.

Parameters:
ds - Data Source
Returns:
List of primary key attribute for given data source's label view object
See Also:
DataSource, Attribute

getDataSourceLabelHierDispAttrs

public static java.util.List<Attribute> getDataSourceLabelHierDispAttrs(DataSource ds)
Gets the hierarchy display attributes for give data source's label view object.

Parameters:
ds - Data Source
Returns:
List of hierarchy display attribute for given data source's label view object
See Also:
DataSource, Attribute

getDataSourceProperties

public static java.util.List<org.apache.commons.beanutils.DynaProperty> getDataSourceProperties(DataSource ds)
Gets the DynaProperty's of this DataSource and all its children.

Parameters:
ds - Data Source
Returns:
List the list of DynaProperty's
See Also:
DataSource, DynaProperty

getCreateDataSourcePage

public static java.lang.String getCreateDataSourcePage(DataSource ds)
Gets the create page UI from view object definition of data source.

Parameters:
ds - Data Source
Returns:
value for create page UI set for data source's view object definition
See Also:
DataSource

getDeleteDataSourcePage

public static java.lang.String getDeleteDataSourcePage(DataSource ds)
Gets the delete page UI from view object definition of data source.

Parameters:
ds - Data Source
Returns:
value for delete page UI set for data source's view object definition
See Also:
DataSource

getUpdateDataSourcePage

public static java.lang.String getUpdateDataSourcePage(DataSource ds)
Gets the update page UI from view object definition of data source.

Parameters:
ds - Data Source
Returns:
value for update page UI set for data source's view object definition
See Also:
DataSource

getDuplicateDataSourcePage

public static java.lang.String getDuplicateDataSourcePage(DataSource ds)
Gets the duplicate page UI from view object definition of data source.

Parameters:
ds - Data Source
Returns:
value for duplicate page UI set for data source's view object definition
See Also:
DataSource

isVlAccessorChild

public static boolean isVlAccessorChild(oracle.jbo.server.ApplicationModuleImpl am,
                                        DataSource ds)
checks whether this data source is registered for some view link of its parent data source.

Parameters:
am - Application Module
ds - Candidate data source
Returns:
true if tdata source is for some view link accessor

getSearchDataSourcePage

public static java.lang.String getSearchDataSourcePage(DataSource ds)
Gets the search and select page UI from view object definition of data source.

Parameters:
ds - Data Source
Returns:
value for search and select page UI set for data source's view object definition
See Also:
DataSource

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.