Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dataSecurity.ui.managed
Class CreateDBResource

java.lang.Object
  extended by oracle.apps.fnd.applcore.dataSecurity.ui.managed.DataSecurityBackingBean
      extended by oracle.apps.fnd.applcore.dataSecurity.ui.managed.CreateDBResource

public class CreateDBResource
extends DataSecurityBackingBean

JSF managed bean for DBResource Creation/Edit flow.

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

Constructor Summary
CreateDBResource()
          Constructor for CreateDBResource.
 
Method Summary
 void actionCancel(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Action Cancel Flow.
 void actionSave(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Save Action flow.
 void addDBResourcePkColumn(javax.faces.event.ActionEvent actionEvent)
          ActionListener for ADD DBResource Primary Key Columns.
 java.lang.String applyDBResource()
          On final click of Apply for DB Resource.
 java.lang.String cancelDBResource()
          Processing and action setting for DB Resource flow cancellation.
 void changePKColumn(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Capture the Value Change Event for Primary Key Selection Choice.
 void conditionCancel(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Condition details cancel flow.
 void conditionSave(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Condition details save flow.
 void createActionDetail(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Action Creation flow.
 void createConditionDetail(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Condition creation flow.
 void databaseObjectProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)
          Capture the Return Popup Event associated with Data Object LOV.
 void deleteAction(javax.faces.event.ActionEvent actionEvent)
          Removes the Action row from the Condition Table.
 void deleteCond(javax.faces.event.ActionEvent actionEvent)
          Removes the Condition row from the Condition Table.
 void editActionDetail(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Action Edit flow.
 void editConditionDetail(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Condition update flow.
 java.lang.String filterAction()
          Processing and action setting for Filter launch action.
 void filtetNavigation(oracle.adf.view.rich.event.RegionNavigationEvent rne)
           
 java.lang.String getActionOperType()
          Getter for action operator type.
 oracle.adf.view.rich.component.rich.layout.RichPanelHeader getActionPanelHeader()
          Getter for Action Panel Header.
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getActionPanelLayout()
          Getter for action panel layout.
 oracle.adf.view.rich.component.rich.data.RichTable getActionTable()
          Getter for action table.
 java.lang.String getCondOperType()
          Getter for Condition operator type.
 oracle.adf.view.rich.component.rich.layout.RichPanelHeader getCondPanelHeader()
          Getter for Condition Panel Header.
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getCondPanelLayout()
          Getter for Conditions Panel Group Layout.
 oracle.adf.view.rich.component.rich.data.RichTable getCondTable()
          Getter for ConditionTable.
 oracle.adf.view.rich.component.rich.input.RichInputComboboxListOfValues getDatabaseObjectId()
          Getter for Data Object LOV.
 oracle.adf.view.rich.component.rich.layout.RichPanelHeader getEditActionPanelHeader()
          Getter for Edit Action Panel
 oracle.adf.view.rich.component.rich.layout.RichPanelHeader getEditCondPanelHeader()
          Getter for Edit Condition Panel Header.
 oracle.adf.view.rich.component.rich.RichPopup getFilterPopup()
           
 oracle.jbo.domain.ClobDomain getFilterXml()
           
 java.lang.Long getObjectId()
          Gets the object Id from the current DB Resource Row.
 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.output.RichOutputText getPkColumnType()
          Getter for PKColumn type.
 oracle.adf.view.rich.component.rich.data.RichTable getPkTable()
          Getter for PK Table.
 oracle.adf.view.rich.component.rich.RichPopup getPopupApply()
          Getter for PopupApply.
 void moduleIdProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)
          Capture the Return Popup Event associated with Module Id LOV.
 void noteWindowListener()
           
 void objDisplayNameValidator(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object newValue)
          Validates the Object Display name for uniqueness.
 void objNameValidator(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object newValue)
          Validates the Object name for uniqueness.
 void processAndSetParams()
          Process and sets parameter for taskflow DB Resource Summary.
 void returnFromFilter(org.apache.myfaces.trinidad.event.ReturnEvent returnEvent)
          Handle the flow after returning from Filter screen.
 void setActionOperType(java.lang.String actionOperType)
          Setter for action operator type.
 void setActionPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader actionPanelHeader)
          Setter for action Panel Header.
 void setActionPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout actionPanelLayout)
          Setter for action panel layout.
 void setActionTable(oracle.adf.view.rich.component.rich.data.RichTable actionTable)
          Setter for action table.
 void setCondOperType(java.lang.String condOperType)
          Setter for Condition Operator Type.
 void setCondPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader condPanelHeader)
          Setter for Condition Panel Header.
 void setCondPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout condPanelLayout)
          Setter for Conditions Panel Group Layout.
 void setCondTable(oracle.adf.view.rich.component.rich.data.RichTable condTable)
          Setter for Condition table.
 void setDatabaseObjectId(oracle.adf.view.rich.component.rich.input.RichInputComboboxListOfValues databaseObjectId)
          Setter Data Object LOV.
 void setEditActionPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader editActionPanelHeader)
          Setter for Edit Action Panel.
 void setEditCondPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader editCondPanelHeader)
          Setter for Edit Condition Panel Header.
 void setFilterPopup(oracle.adf.view.rich.component.rich.RichPopup _filterPopup)
           
 void setFilterXml(oracle.jbo.domain.ClobDomain _filterXml)
           
 void setPkColumnType(oracle.adf.view.rich.component.rich.output.RichOutputText pkColumnType)
          Setter for PKColumn type.
 void setPkTable(oracle.adf.view.rich.component.rich.data.RichTable pkTable)
          Setter for PK Table
 void setPopupApply(oracle.adf.view.rich.component.rich.RichPopup popupApply)
          Setter for PopupApply.
 java.lang.String submitDBResource()
          Action setting for Submit DB Resource details.
 
Methods inherited from class oracle.apps.fnd.applcore.dataSecurity.ui.managed.DataSecurityBackingBean
errorMethod, evaluateExpr, getBindingContainer, getDataSecurityAM, getDataSecurityGlobalUIAM, getDataSecurityUIAM, getRootAM, getScopeVariable, queryAndPopulateColumnsMap, refresh, setScopeVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDBResource

public CreateDBResource()
Constructor for CreateDBResource.

Method Detail

addDBResourcePkColumn

public void addDBResourcePkColumn(javax.faces.event.ActionEvent actionEvent)
ActionListener for ADD DBResource Primary Key Columns.

Parameters:
actionEvent - as ActionEvent

setDatabaseObjectId

public void setDatabaseObjectId(oracle.adf.view.rich.component.rich.input.RichInputComboboxListOfValues databaseObjectId)
Setter Data Object LOV.

Parameters:
databaseObjectId - as RichInputComboboxListOfValues

getDatabaseObjectId

public oracle.adf.view.rich.component.rich.input.RichInputComboboxListOfValues getDatabaseObjectId()
Getter for Data Object LOV.

Returns:
RichInputComboboxListOfValues for LOV of data objects

databaseObjectProcessReturn

public void databaseObjectProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)
Capture the Return Popup Event associated with Data Object LOV.

Parameters:
returnPopupEvent - Return Popup Event

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

changePKColumn

public void changePKColumn(javax.faces.event.ValueChangeEvent valueChangeEvent)
Capture the Value Change Event for Primary Key Selection Choice.

Parameters:
valueChangeEvent - Value Change Event

setPkColumnType

public void setPkColumnType(oracle.adf.view.rich.component.rich.output.RichOutputText pkColumnType)
Setter for PKColumn type.

Parameters:
pkColumnType - RichOutputText

getPkColumnType

public oracle.adf.view.rich.component.rich.output.RichOutputText getPkColumnType()
Getter for PKColumn type.

Returns:
RichOutputText for PK Column Type.

setCondPanelLayout

public void setCondPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout condPanelLayout)
Setter for Conditions Panel Group Layout.

Parameters:
condPanelLayout - RichPanelGroupLayout

getCondPanelLayout

public oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getCondPanelLayout()
Getter for Conditions Panel Group Layout.

Returns:
condPanelLayout RichPanelGroupLayout

createConditionDetail

public void createConditionDetail(javax.faces.event.ActionEvent actionEvent)
Action Listener for Condition creation flow.

Parameters:
actionEvent - as Action Event.

editConditionDetail

public void editConditionDetail(javax.faces.event.ActionEvent actionEvent)
Action Listener for Condition update flow.

Parameters:
actionEvent - as Action Event.

deleteCond

public void deleteCond(javax.faces.event.ActionEvent actionEvent)
Removes the Condition row from the Condition Table.

Parameters:
actionEvent - ActionEvent

conditionSave

public void conditionSave(javax.faces.event.ActionEvent actionEvent)
Action Listener for Condition details save flow.

Parameters:
actionEvent - as Action Event.

conditionCancel

public void conditionCancel(javax.faces.event.ActionEvent actionEvent)
Action Listener for Condition details cancel flow.

Parameters:
actionEvent - as Action Event.

setCondPanelHeader

public void setCondPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader condPanelHeader)
Setter for Condition Panel Header.

Parameters:
condPanelHeader - as RichPanelHeader

getCondPanelHeader

public oracle.adf.view.rich.component.rich.layout.RichPanelHeader getCondPanelHeader()
Getter for Condition Panel Header.

Returns:
RichPanelHeader as Condition panel

setEditCondPanelHeader

public void setEditCondPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader editCondPanelHeader)
Setter for Edit Condition Panel Header.

Parameters:
editCondPanelHeader - as RichPanelHeader

getEditCondPanelHeader

public oracle.adf.view.rich.component.rich.layout.RichPanelHeader getEditCondPanelHeader()
Getter for Edit Condition Panel Header.

Returns:
RichPanelHeader as Edit Condition panel

setCondTable

public void setCondTable(oracle.adf.view.rich.component.rich.data.RichTable condTable)
Setter for Condition table.

Parameters:
condTable - as RichTable

getCondTable

public oracle.adf.view.rich.component.rich.data.RichTable getCondTable()
Getter for ConditionTable.

Returns:
contable as Rich Table.

setActionPanelLayout

public void setActionPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout actionPanelLayout)
Setter for action panel layout.

Parameters:
actionPanelLayout - as RichPanelGroupLayout

getActionPanelLayout

public oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getActionPanelLayout()
Getter for action panel layout.

Returns:
actionPanelLayout as RichPanelGroupLayout

setCondOperType

public void setCondOperType(java.lang.String condOperType)
Setter for Condition Operator Type.

Parameters:
condOperType - as String

getCondOperType

public java.lang.String getCondOperType()
Getter for Condition operator type.

Returns:
Condition operator type as String.

createActionDetail

public void createActionDetail(javax.faces.event.ActionEvent actionEvent)
Action Listener for Action Creation flow.

Parameters:
actionEvent - as ActionEvent

editActionDetail

public void editActionDetail(javax.faces.event.ActionEvent actionEvent)
Action Listener for Action Edit flow.

Parameters:
actionEvent - as ActionEvent

deleteAction

public void deleteAction(javax.faces.event.ActionEvent actionEvent)
Removes the Action row from the Condition Table.

Parameters:
actionEvent - ActionEvent

setActionTable

public void setActionTable(oracle.adf.view.rich.component.rich.data.RichTable actionTable)
Setter for action table.

Parameters:
actionTable - as RichTable

getActionTable

public oracle.adf.view.rich.component.rich.data.RichTable getActionTable()
Getter for action table.

Returns:
actionTable as RichTable

setActionPanelHeader

public void setActionPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader actionPanelHeader)
Setter for action Panel Header.

Parameters:
actionPanelHeader - as RichPanelHeader

getActionPanelHeader

public oracle.adf.view.rich.component.rich.layout.RichPanelHeader getActionPanelHeader()
Getter for Action Panel Header.

Returns:
RichPanelHeader as Action Panel

setEditActionPanelHeader

public void setEditActionPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader editActionPanelHeader)
Setter for Edit Action Panel.

Parameters:
editActionPanelHeader - as RichPanelHeade

getEditActionPanelHeader

public oracle.adf.view.rich.component.rich.layout.RichPanelHeader getEditActionPanelHeader()
Getter for Edit Action Panel

Returns:
RichPanelHeader as Action Panel for editing

actionSave

public void actionSave(javax.faces.event.ActionEvent actionEvent)
Action Listener for Save Action flow.

Parameters:
actionEvent - as Action Event

actionCancel

public void actionCancel(javax.faces.event.ActionEvent actionEvent)
Action Listener for Action Cancel Flow.

Parameters:
actionEvent - as Action Event

setActionOperType

public void setActionOperType(java.lang.String actionOperType)
Setter for action operator type.

Parameters:
actionOperType - as String

getActionOperType

public java.lang.String getActionOperType()
Getter for action operator type.

Returns:
actionOperType as String

submitDBResource

public java.lang.String submitDBResource()
Action setting for Submit DB Resource details.

Returns:
String as the action on submission of DB Resource details.

applyDBResource

public java.lang.String applyDBResource()
On final click of Apply for DB Resource.

Returns:
Action for returning from Apply flow.

objNameValidator

public void objNameValidator(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent uiComponent,
                             java.lang.Object newValue)
Validates the Object name for uniqueness.

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

objDisplayNameValidator

public void objDisplayNameValidator(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent uiComponent,
                                    java.lang.Object newValue)
Validates the Object Display name for uniqueness.

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

cancelDBResource

public java.lang.String cancelDBResource()
Processing and action setting for DB Resource flow cancellation.

Returns:
String as action for DB Resource cancellation

filtetNavigation

public void filtetNavigation(oracle.adf.view.rich.event.RegionNavigationEvent rne)

returnFromFilter

public void returnFromFilter(org.apache.myfaces.trinidad.event.ReturnEvent returnEvent)
Handle the flow after returning from Filter screen.

Parameters:
returnEvent - Return Event

filterAction

public java.lang.String filterAction()
Processing and action setting for Filter launch action.

Returns:
Action for Filter task flow launch.

getObjectId

public java.lang.Long getObjectId()
Gets the object Id from the current DB Resource Row.

Returns:
Object Id as Long

moduleIdProcessReturn

public void moduleIdProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)
Capture the Return Popup Event associated with Module Id LOV.

Parameters:
returnPopupEvent - Return Popup Event

setPopupApply

public void setPopupApply(oracle.adf.view.rich.component.rich.RichPopup popupApply)
Setter for PopupApply.

Parameters:
popupApply - as RichPopup

getPopupApply

public oracle.adf.view.rich.component.rich.RichPopup getPopupApply()
Getter for PopupApply.

Returns:
popupApply as RichPopup

processAndSetParams

public void processAndSetParams()
Process and sets parameter for taskflow DB Resource Summary.


setPkTable

public void setPkTable(oracle.adf.view.rich.component.rich.data.RichTable pkTable)
Setter for PK Table

Parameters:
pkTable -

getPkTable

public oracle.adf.view.rich.component.rich.data.RichTable getPkTable()
Getter for PK Table.

Returns:
PK Table.

setFilterPopup

public void setFilterPopup(oracle.adf.view.rich.component.rich.RichPopup _filterPopup)

getFilterPopup

public oracle.adf.view.rich.component.rich.RichPopup getFilterPopup()

noteWindowListener

public void noteWindowListener()

setFilterXml

public void setFilterXml(oracle.jbo.domain.ClobDomain _filterXml)

getFilterXml

public oracle.jbo.domain.ClobDomain getFilterXml()

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.