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

E22562-03

oracle.apps.fnd.applcore.trees.ui.managed
Class ManageDataSource

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.ui.managed.TreeBackingBean
      extended by oracle.apps.fnd.applcore.trees.ui.managed.ManageDataSource
All Implemented Interfaces:
java.io.Serializable

public class ManageDataSource
extends TreeBackingBean

JSF managed bean for Adding/Updating Data Source details.

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

Constructor Summary
ManageDataSource()
           
 
Method Summary
 void addParameter(javax.faces.event.ActionEvent actionEvent)
          Adds the new Data Source parameter row in Parameter Table.
 org.apache.myfaces.trinidad.component.UIXGroup getCustomKeysPanelLayout()
          Getter for CustomKeys Panel layout.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getMaxDepth()
          Getter for max depth
 java.util.List<javax.faces.model.SelectItem> getMaxDepthItems()
          populates the set of attributes which can be used for max depth as the data source.
 oracle.adf.view.rich.component.rich.data.RichTable getParameterTable()
          Getter for Data Source Parameter Table.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk1ColumnChoice()
          Getter for PK1Column primary key.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk2ColumnChoice()
          Getter for PK2Column primary key.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk3ColumnChoice()
          Getter for PK3Column primary key.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk4ColumnChoice()
          Getter for PK4Column primary key.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk5ColumnChoice()
          Getter for PK5Column primary key.
 java.util.List<javax.faces.model.SelectItem> getPkColumnItems()
          populates the set of attributes which can be used for Primary key columns for this data source.
 oracle.adf.view.rich.component.rich.input.RichSelectOneRadio getUsageLimitRadio()
          Getter for Usage Limit Radio option.
 org.apache.myfaces.trinidad.component.UIXGroup getViewLinkAccessorPanelLayout()
          Getter for View Link Accesor panel.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getVlAccessorChoice()
          Getter for View Link Accessor choices.
 java.util.List<javax.faces.model.SelectItem> getVlAccessorItems()
          Populates the VL Accessor items for this data source.
 void labelDataSourceValidator(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object newValue)
          Validates the Label Data Source definition Name's availablity.
 void removeParameter(javax.faces.event.ActionEvent actionEvent)
          Removes the Data Source Parameter row from the Parameter Table.
 void save(javax.faces.event.ActionEvent actionEvent)
          Add/update the Data Source information provided.
 void setCustomKeysPanelLayout(org.apache.myfaces.trinidad.component.UIXGroup customKeysPanelLayout)
          Setter for CustomKeys Panel layout.
 void setMaxDepth(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice maxDepth)
          Setter for max depth
 void setParameterTable(oracle.adf.view.rich.component.rich.data.RichTable parameterTable)
          Setter for DataSource Parameter Table.
 void setPk1ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk1ColumnChoice)
          Setter for PK1Column primary key.
 void setPk2ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk2ColumnChoice)
          Setter for PK2Column primary key.
 void setPk3ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk3ColumnChoice)
          Setter for PK3Column primary key.
 void setPk4ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk4ColumnChoice)
          Setter for PK4Column primary key.
 void setPk5ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk5ColumnChoice)
          Setter for PK5Column primary key.
 void setUsageLimitRadio(oracle.adf.view.rich.component.rich.input.RichSelectOneRadio usageLimitRadio)
          Setter for Usage Limit Radio option.
 void setViewLinkAccessorPanelLayout(org.apache.myfaces.trinidad.component.UIXGroup viewLinkAccessorPanelLayout)
          Setter for View Link Accesor panel.
 void setVlAccessorChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice vlAccessorChoice)
          Setter for View Link Accessor choices.
 java.lang.String validateAndSetViewObjectDisplayName(java.lang.String viewObjectName, boolean setDisplayName, boolean isLabelDataSource)
          Validates the View Object Definition provided for Data Source/Label DataSource.
 void valueChangeCustomKeys(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Value Change Listener associated with Use Custome Keys CheckBox.
 void valueChangeForeignKey(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Value Change Listener associated with ForeignKey CheckBox.
 void viewObjectNameChange(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Value Change Listener associated with View Object Name input text.
 void viewObjectNameValidator(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object newValue)
          Validates the View Object definition Name's availablity.
 
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

ManageDataSource

public ManageDataSource()
Method Detail

save

public void save(javax.faces.event.ActionEvent actionEvent)
Add/update the Data Source information provided.

Parameters:
actionEvent - ActionEvent

valueChangeForeignKey

public void valueChangeForeignKey(javax.faces.event.ValueChangeEvent valueChangeEvent)
Value Change Listener associated with ForeignKey CheckBox.

Parameters:
valueChangeEvent - Value Change Event handle

addParameter

public void addParameter(javax.faces.event.ActionEvent actionEvent)
Adds the new Data Source parameter row in Parameter Table.

Parameters:
actionEvent - ActionEvent

removeParameter

public void removeParameter(javax.faces.event.ActionEvent actionEvent)
Removes the Data Source Parameter row from the Parameter Table.

Parameters:
actionEvent - ActionEvent

setUsageLimitRadio

public void setUsageLimitRadio(oracle.adf.view.rich.component.rich.input.RichSelectOneRadio usageLimitRadio)
Setter for Usage Limit Radio option.

Parameters:
usageLimitRadio - RichSelectOneRadio

getUsageLimitRadio

public oracle.adf.view.rich.component.rich.input.RichSelectOneRadio getUsageLimitRadio()
Getter for Usage Limit Radio option.

Returns:
usageLimitRadio RichSelectOneRadio

viewObjectNameValidator

public void viewObjectNameValidator(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent uiComponent,
                                    java.lang.Object newValue)
Validates the View Object definition Name's availablity.

Parameters:
facesContext - Faces Context
uiComponent - Component
newValue - Value for the View Object Definition Name

labelDataSourceValidator

public void labelDataSourceValidator(javax.faces.context.FacesContext facesContext,
                                     javax.faces.component.UIComponent uiComponent,
                                     java.lang.Object newValue)
Validates the Label Data Source definition Name's availablity.

Parameters:
facesContext - Faces Context
uiComponent - Component
newValue - Value for the Label Data Source

setViewLinkAccessorPanelLayout

public void setViewLinkAccessorPanelLayout(org.apache.myfaces.trinidad.component.UIXGroup viewLinkAccessorPanelLayout)
Setter for View Link Accesor panel.

Parameters:
viewLinkAccessorPanelLayout - RichPanelGroupLayout

getViewLinkAccessorPanelLayout

public org.apache.myfaces.trinidad.component.UIXGroup getViewLinkAccessorPanelLayout()
Getter for View Link Accesor panel.

Returns:
viewLinkAccessorPanelLayout RichPanelGroupLayout

setParameterTable

public void setParameterTable(oracle.adf.view.rich.component.rich.data.RichTable parameterTable)
Setter for DataSource Parameter Table.

Parameters:
parameterTable - RichTable

getParameterTable

public oracle.adf.view.rich.component.rich.data.RichTable getParameterTable()
Getter for Data Source Parameter Table.

Returns:
parameterTable RichTable

viewObjectNameChange

public void viewObjectNameChange(javax.faces.event.ValueChangeEvent valueChangeEvent)
Value Change Listener associated with View Object Name input text.

Parameters:
valueChangeEvent - Value Change Event handle

validateAndSetViewObjectDisplayName

public java.lang.String validateAndSetViewObjectDisplayName(java.lang.String viewObjectName,
                                                            boolean setDisplayName,
                                                            boolean isLabelDataSource)
Validates the View Object Definition provided for Data Source/Label DataSource.

Parameters:
viewObjectName - View Object Definition for Data Source/Label DataSource
setDisplayName - Inidactes whether we need to set the Display Name for this data Source
isLabelDataSource - if it is a Label Data source
Returns:
Error message if validation fails otherwise returns null

setVlAccessorChoice

public void setVlAccessorChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice vlAccessorChoice)
Setter for View Link Accessor choices.

Parameters:
vlAccessorChoice - as RichSelectOneChoice

getVlAccessorChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getVlAccessorChoice()
Getter for View Link Accessor choices.

Returns:
vlAccessorChoice as RichSelectOneChoice

getVlAccessorItems

public java.util.List<javax.faces.model.SelectItem> getVlAccessorItems()
Populates the VL Accessor items for this data source.

Returns:
List of Select item for each data Source supported

setCustomKeysPanelLayout

public void setCustomKeysPanelLayout(org.apache.myfaces.trinidad.component.UIXGroup customKeysPanelLayout)
Setter for CustomKeys Panel layout.

Parameters:
customKeysPanelLayout - RichPanelGroupLayout

getCustomKeysPanelLayout

public org.apache.myfaces.trinidad.component.UIXGroup getCustomKeysPanelLayout()
Getter for CustomKeys Panel layout.

Returns:
customKeysPanelLayout RichPanelGroupLayout

setPk1ColumnChoice

public void setPk1ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk1ColumnChoice)
Setter for PK1Column primary key.

Parameters:
pk1ColumnChoice - RichSelectOneChoice

getPk1ColumnChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk1ColumnChoice()
Getter for PK1Column primary key.

Returns:
pk1ColumnChoice RichSelectOneChoice

setPk2ColumnChoice

public void setPk2ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk2ColumnChoice)
Setter for PK2Column primary key.

Parameters:
pk2ColumnChoice - RichSelectOneChoice

getPk2ColumnChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk2ColumnChoice()
Getter for PK2Column primary key.

Returns:
pk2ColumnChoice RichSelectOneChoice

setPk3ColumnChoice

public void setPk3ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk3ColumnChoice)
Setter for PK3Column primary key.

Parameters:
pk3ColumnChoice - RichSelectOneChoice

getPk3ColumnChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk3ColumnChoice()
Getter for PK3Column primary key.

Returns:
pk3ColumnChoice RichSelectOneChoice

setPk4ColumnChoice

public void setPk4ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk4ColumnChoice)
Setter for PK4Column primary key.

Parameters:
pk4ColumnChoice - RichSelectOneChoice

getPk4ColumnChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk4ColumnChoice()
Getter for PK4Column primary key.

Returns:
pk4ColumnChoice RichSelectOneChoice

setPk5ColumnChoice

public void setPk5ColumnChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice pk5ColumnChoice)
Setter for PK5Column primary key.

Parameters:
pk5ColumnChoice - RichSelectOneChoice

getPk5ColumnChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getPk5ColumnChoice()
Getter for PK5Column primary key.

Returns:
pk5ColumnChoice RichSelectOneChoice

valueChangeCustomKeys

public void valueChangeCustomKeys(javax.faces.event.ValueChangeEvent valueChangeEvent)
Value Change Listener associated with Use Custome Keys CheckBox.

Parameters:
valueChangeEvent - Value Change Event handle

getPkColumnItems

public java.util.List<javax.faces.model.SelectItem> getPkColumnItems()
populates the set of attributes which can be used for Primary key columns for this data source.

Returns:
List of Select item as set of alltributes along with null attribute

getMaxDepthItems

public java.util.List<javax.faces.model.SelectItem> getMaxDepthItems()
populates the set of attributes which can be used for max depth as the data source.

Returns:
List of Select item as set of attributes along with null attribute

setMaxDepth

public void setMaxDepth(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice maxDepth)
Setter for max depth

Parameters:
maxDepth - RichSelectOneChoice

getMaxDepth

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getMaxDepth()
Getter for max depth

Returns:
maxDepth RichSelectOneChoice

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.