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

E22562-01

oracle.apps.fnd.applcore.dataSecurity.ui.managed.setup
Class DBResourceCreateEditSetup

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

public class DBResourceCreateEditSetup
extends DataSecurityBackingBean

JSF managed bean for DBResource Creation/Edit flow for setup UIs.

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

Constructor Summary
DBResourceCreateEditSetup()
          Constructor for Resource create edit flow.
 
Method Summary
 void addDBResourcePkColumn(javax.faces.event.ActionEvent actionEvent)
          ActionListener for ADD DBResource Primary Key Columns.
 void applyDBResource(javax.faces.event.ActionEvent actionEvent)
          On final click of Apply for DB Resource.
 void cancelCreatePolicy(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
           
 void cancelDBResource(javax.faces.event.ActionEvent actionEvent)
          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 conditionCancelPopup(oracle.adf.view.rich.event.PopupCanceledEvent popupEvent)
           
 void conditionSave(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Condition details save flow.
 void createAction(javax.faces.event.ActionEvent aEvent)
           
 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 deleteConditionListener(javax.faces.event.ActionEvent ae)
           
 void deleteDBResourceDialog(oracle.adf.view.rich.event.DialogEvent de)
           
 void deletePolicy(javax.faces.event.ActionEvent actionEvent)
          Action Listener associated with Delete Policy Action.
 void editConditionDetail(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Condition edit flow.
 void editPolicy(javax.faces.event.ActionEvent actionEvent)
           
 void filterColumnsListener(javax.faces.event.ValueChangeEvent vce)
           
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getActionPanelLayout()
           
 oracle.adf.view.rich.component.rich.data.RichTable getActionTable()
           
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getColPanel()
           
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getCondPanelLayout()
          Getter for Conditions Panel Group Layout.
 oracle.adf.view.rich.component.rich.data.RichTable getCondTable()
           
 oracle.adf.view.rich.component.rich.RichPopup getCreateInstancePopup()
           
 oracle.adf.view.rich.component.rich.fragment.RichRegion getCreateRegion()
           
 oracle.adf.view.rich.component.rich.RichPopup getDeletePopup()
           
 oracle.adf.view.rich.component.rich.RichPopup getEditInstancePopup()
           
 oracle.adf.view.rich.component.rich.layout.RichPanelHeader getEditPolicyRgn()
           
 java.util.List<javax.faces.model.SelectItem> getFilterColumnItems()
          populates the Shuttle with availablecolumns for Filters.
 java.util.List<java.lang.String> getFilterColumnsValue()
          Gets the selected shuttle items.
 oracle.adf.view.rich.component.rich.input.RichSelectOrderShuttle getFilterShuttle()
           
 oracle.jbo.domain.ClobDomain getFilterXml()
           
 java.lang.Long getObjectId()
          Gets the object Id from the current DB Resource Row.
 java.lang.Long getObjectIdForTaskFlow()
          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.
 boolean isRefreshCreateCond()
           
 boolean isRefreshEditCond()
           
 void launchPolicy(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
           
 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 okCreatePolicy(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          Dialog Listener for Set popup.
 void processAndSetParams()
          Process and sets parameter for taskflow used by taskflow.
 void save(javax.faces.event.ActionEvent actionEvent)
           
 void setActionPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout _actionPanelLayout)
           
 void setActionTable(oracle.adf.view.rich.component.rich.data.RichTable _actionTable)
           
 void setColPanel(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout colPanel)
           
 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)
           
 void setCreateInstancePopup(oracle.adf.view.rich.component.rich.RichPopup _createInstancePopup)
           
 void setCreateRegion(oracle.adf.view.rich.component.rich.fragment.RichRegion _createRegion)
           
 void setDeletePopup(oracle.adf.view.rich.component.rich.RichPopup _deletePopup)
           
 void setEditInstancePopup(oracle.adf.view.rich.component.rich.RichPopup editInstancePopup)
           
 void setEditPolicyRgn(oracle.adf.view.rich.component.rich.layout.RichPanelHeader editPolicyRgn)
           
 void setFilterColumnsValue(java.util.List<java.lang.String> filterColumnsValue)
          Sets the values for shuttle items.
 void setFilterShuttle(oracle.adf.view.rich.component.rich.input.RichSelectOrderShuttle filterShuttle)
           
 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.
 void setRefreshCreateCond(boolean refreshCreateCond)
           
 void setRefreshEditCond(boolean _refreshEditCond)
           
 java.lang.String submitDBResource()
          Action setting for Submit DB Resource details.
 void submitDBResourceListener(javax.faces.event.ActionEvent actionEvent)
          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

DBResourceCreateEditSetup

public DBResourceCreateEditSetup()
Constructor for Resource create edit flow.

Method Detail

processAndSetParams

public void processAndSetParams()
Process and sets parameter for taskflow used by taskflow.


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

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.

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

getObjectIdForTaskFlow

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

Returns:
Object Id as Long

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

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

addDBResourcePkColumn

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

Parameters:
actionEvent - as ActionEvent

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.

changePKColumn

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

Parameters:
valueChangeEvent - Value Change 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

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 edit flow.

Parameters:
actionEvent - as Action Event.

setCreateInstancePopup

public void setCreateInstancePopup(oracle.adf.view.rich.component.rich.RichPopup _createInstancePopup)

getCreateInstancePopup

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

setRefreshCreateCond

public void setRefreshCreateCond(boolean refreshCreateCond)

isRefreshCreateCond

public boolean isRefreshCreateCond()

setActionPanelLayout

public void setActionPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout _actionPanelLayout)

getActionPanelLayout

public oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getActionPanelLayout()

createAction

public void createAction(javax.faces.event.ActionEvent aEvent)

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

submitDBResourceListener

public void submitDBResourceListener(javax.faces.event.ActionEvent actionEvent)
Action setting for Submit DB Resource details.


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 void applyDBResource(javax.faces.event.ActionEvent actionEvent)
On final click of Apply for DB Resource.


cancelDBResource

public void cancelDBResource(javax.faces.event.ActionEvent actionEvent)
Processing and action setting for DB Resource flow cancellation.


setEditInstancePopup

public void setEditInstancePopup(oracle.adf.view.rich.component.rich.RichPopup editInstancePopup)

getEditInstancePopup

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

isRefreshEditCond

public boolean isRefreshEditCond()

setRefreshEditCond

public void setRefreshEditCond(boolean _refreshEditCond)

setCondTable

public void setCondTable(oracle.adf.view.rich.component.rich.data.RichTable condTable)

getCondTable

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

conditionSave

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

Parameters:
actionEvent - as Action Event.

conditionCancelPopup

public void conditionCancelPopup(oracle.adf.view.rich.event.PopupCanceledEvent popupEvent)

setCreateRegion

public void setCreateRegion(oracle.adf.view.rich.component.rich.fragment.RichRegion _createRegion)

getCreateRegion

public oracle.adf.view.rich.component.rich.fragment.RichRegion getCreateRegion()

launchPolicy

public void launchPolicy(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)

editPolicy

public void editPolicy(javax.faces.event.ActionEvent actionEvent)

setEditPolicyRgn

public void setEditPolicyRgn(oracle.adf.view.rich.component.rich.layout.RichPanelHeader editPolicyRgn)

getEditPolicyRgn

public oracle.adf.view.rich.component.rich.layout.RichPanelHeader getEditPolicyRgn()

okCreatePolicy

public void okCreatePolicy(oracle.adf.view.rich.event.DialogEvent dialogEvent)
Dialog Listener for Set popup.

Parameters:
dialogEvent - as Dialog event

cancelCreatePolicy

public void cancelCreatePolicy(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)

deletePolicy

public void deletePolicy(javax.faces.event.ActionEvent actionEvent)
Action Listener associated with Delete Policy Action.

Parameters:
actionEvent - as Action Event

save

public void save(javax.faces.event.ActionEvent actionEvent)

setColPanel

public void setColPanel(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout colPanel)

getColPanel

public oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getColPanel()

setFilterShuttle

public void setFilterShuttle(oracle.adf.view.rich.component.rich.input.RichSelectOrderShuttle filterShuttle)

getFilterShuttle

public oracle.adf.view.rich.component.rich.input.RichSelectOrderShuttle getFilterShuttle()

setFilterColumnsValue

public void setFilterColumnsValue(java.util.List<java.lang.String> filterColumnsValue)
Sets the values for shuttle items.

Parameters:
filterColumnsValue - the selected shuttle Items.

getFilterColumnsValue

public java.util.List<java.lang.String> getFilterColumnsValue()
Gets the selected shuttle items.

Returns:
the values for selected shuttle items

getFilterColumnItems

public java.util.List<javax.faces.model.SelectItem> getFilterColumnItems()
populates the Shuttle with availablecolumns for Filters.

Returns:
List of available rows for selected database resource

setActionTable

public void setActionTable(oracle.adf.view.rich.component.rich.data.RichTable _actionTable)

getActionTable

public oracle.adf.view.rich.component.rich.data.RichTable getActionTable()

deleteConditionListener

public void deleteConditionListener(javax.faces.event.ActionEvent ae)

deleteDBResourceDialog

public void deleteDBResourceDialog(oracle.adf.view.rich.event.DialogEvent de)

setDeletePopup

public void setDeletePopup(oracle.adf.view.rich.component.rich.RichPopup _deletePopup)

getDeletePopup

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

noteWindowListener

public void noteWindowListener()

setFilterXml

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

getFilterXml

public oracle.jbo.domain.ClobDomain getFilterXml()

filterColumnsListener

public void filterColumnsListener(javax.faces.event.ValueChangeEvent vce)

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.