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

E22562-02

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

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

public class PolicyBean
extends DataSecurityBackingBean

JSF managed bean for Policy UI.

Author:
danxu

Nested Class Summary
 class PolicyBean.InstanceData
          data structure for a single row of instance -- INSTANCE
 class PolicyBean.RoleData
          Class used to hold role information, including enterprise role and application role.
 class PolicyBean.SetData
          data structure for sets of rows of instance -- SET
 
Constructor Summary
PolicyBean()
          Basing on the parameters to initialize the PolicyBean.
 
Method Summary
 void cancelInstancePopup(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
          Listener for popup cancel flow of instance.
 void cancelSetPopup(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
          Cancel Set Popup.
 void filterSet(javax.faces.event.ActionEvent actionEvent)
          Action Listener fotr filter Set.
 java.util.List<javax.faces.model.SelectItem> getActions()
          Gets the available actions.
 java.lang.String getApplication()
          Getter for application
 java.lang.String getARoleFilter()
          Getter for application role filter
 java.lang.String getDbFilter()
          Get DB Filter.
 java.sql.Timestamp getEndDate()
           
 java.lang.String getERoleFilter()
          Getter for enterprise role filter
 java.lang.String getFilter()
          Getter for Filter.
 java.lang.String getGrantDesc()
          Get the grant description.
 java.lang.String getGrantName()
          Get the grant name.
 java.lang.String getInitFlag()
          Get the Init Flag.
 java.util.List<PolicyBean.SetData> getInstanceSet()
          Getter for instance sets.
 java.lang.String getInstanceSetDesc()
          Gets the instance set description.
 java.lang.String getInstanceSetName()
          Gets the instance name.
 java.lang.String getInstanceType()
          Gets the instance type.
 java.lang.String getMode()
          Get the mode Flag.
 java.lang.String getModuleId()
          Get the Module ID.
 oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getParaForm()
          Getter for Parameter form.
 java.util.List<PolicyBean.InstanceData> getPKs()
          Get Primary Keys.
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getPolicyGrp()
           
 java.lang.String getResName()
          Gets the resource name.
 PolicyBean.RoleData getRoleRow()
          Get Role Row.
 java.lang.String getRoleType()
          Gets the role type.
 java.util.List<java.lang.String> getSelectedActs()
          Gets selected actions.
 java.util.List<java.util.Map> getSelectedResrc()
          Gets the Selected Resources.
 java.util.List<PolicyBean.RoleData> getSelectedRole()
          Gets the Selected Role.
 PolicyBean.SetData getSelectedSet()
          Gets the current instance set.
 java.sql.Timestamp getStartDate()
           
 java.lang.String getSwFacet()
          Gets the Facet.
 oracle.adf.view.rich.dnd.DnDAction handleDrop(oracle.adf.view.rich.event.DropEvent dropEvent)
          Handling for Drop Event.
 void init()
           
 void moduleIdProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)
          Capture the Return Popup Event associated with Module Id LOV.
 void okDbPopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          Dialog Listener for OK DB Popup.
 void okInstancePopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          Dialog listener for OK popup event for instance.
 void okRolePopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          Action Listener of OK button in the role popup dialog
 void okSetPopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          Dialog Listener for Set popup.
 void pkValueChange(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Value Change Listener for PK Change.
 void queryARole(javax.faces.event.ActionEvent actionEvent)
          Listener to query application roles
 void queryDB(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Query DB Resource.
 void queryERole(javax.faces.event.ActionEvent actionEvent)
          Listener to query enterprise roles
 void removeARoleFilter(javax.faces.event.ActionEvent actionEvent)
          Listener to remove application role filter
 void removeDbFilter(javax.faces.event.ActionEvent actionEvent)
          Remove DB Filter Action Listener.
 void removeERoleFilter(javax.faces.event.ActionEvent actionEvent)
          Listener to remove enterprise role filter
 void removeFilter(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Filter removal.
 void removeResrc(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Remove Resources.
 void removeRole(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Role removal.
 void Revert(javax.faces.event.ActionEvent actionEvent)
          Action Listenr for Cancel flow.
 void Save(javax.faces.event.ActionEvent actionEvent)
          Action Listenr for Sacve policy detal.s
 void setApplication(java.lang.String app)
          Setter for application
 void setARoleFilter(java.lang.String name)
          Setter for application role filter
 void setDbFilter(java.lang.String name)
          Set DB Filter.
 void setEndDate(java.sql.Timestamp date)
           
 void setERoleFilter(java.lang.String name)
          Setter for enterprise role filter
 void setFilter(java.lang.String name)
          Setter for filter.
 void setGrantDesc(java.lang.String desc)
          Sets the grant description.
 void setGrantName(java.lang.String name)
          Sets the grant name.
 void setInstanceSetDesc(java.lang.String desc)
           
 void setInstanceSetName(java.lang.String name)
           
 void setInstanceType(java.lang.String type)
          Sets the instance type.
 void setModuleId(java.lang.String id)
          Sets the Module ID.
 void setParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout paraForm)
          Setter for parameter form.
 void setPolicyGrp(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout policyGrp)
           
 void setRoleType(java.lang.String type)
          Sets the role type.
 void setSelectedActs(java.util.List<java.lang.String> value)
          Sets the list of selected actions.
 void setSelectedSet(PolicyBean.SetData set)
          Sets the current instance set.
 void setStartDate(java.sql.Timestamp date)
           
 void typeChange(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Value Change Listener for Type change.
 
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

PolicyBean

public PolicyBean()
Basing on the parameters to initialize the PolicyBean.

Method Detail

init

public void init()

handleDrop

public oracle.adf.view.rich.dnd.DnDAction handleDrop(oracle.adf.view.rich.event.DropEvent dropEvent)
Handling for Drop Event.

Parameters:
dropEvent - as Drop Event
Returns:
Drag and Drop Action

removeResrc

public void removeResrc(javax.faces.event.ActionEvent actionEvent)
Action Listener for Remove Resources.

Parameters:
actionEvent - as Action Event

removeRole

public void removeRole(javax.faces.event.ActionEvent actionEvent)
Action Listener for Role removal.

Parameters:
actionEvent - as Action Event

Revert

public void Revert(javax.faces.event.ActionEvent actionEvent)
Action Listenr for Cancel flow.

Parameters:
actionEvent - as Action Event

Save

public void Save(javax.faces.event.ActionEvent actionEvent)
Action Listenr for Sacve policy detal.s

Parameters:
actionEvent - as Action Event

getSelectedActs

public java.util.List<java.lang.String> getSelectedActs()
Gets selected actions.

Returns:
List of selected actions.

setSelectedActs

public void setSelectedActs(java.util.List<java.lang.String> value)
Sets the list of selected actions.

Parameters:
value - as List

getActions

public java.util.List<javax.faces.model.SelectItem> getActions()
Gets the available actions.

Returns:
List of available actions as select items

setGrantName

public void setGrantName(java.lang.String name)
Sets the grant name.

Parameters:
name - as String

getGrantName

public java.lang.String getGrantName()
Get the grant name.

Returns:
Grant Name

setGrantDesc

public void setGrantDesc(java.lang.String desc)
Sets the grant description.

Parameters:
desc - as String

getGrantDesc

public java.lang.String getGrantDesc()
Get the grant description.

Returns:
Grant Descripstion

setModuleId

public void setModuleId(java.lang.String id)
Sets the Module ID.

Parameters:
id - as String

getModuleId

public java.lang.String getModuleId()
Get the Module ID.

Returns:
Module ID

getSelectedRole

public java.util.List<PolicyBean.RoleData> getSelectedRole()
Gets the Selected Role.

Returns:
List of Roles

getResName

public java.lang.String getResName()
Gets the resource name.

Returns:
Resource Name

getSelectedResrc

public java.util.List<java.util.Map> getSelectedResrc()
Gets the Selected Resources.

Returns:
as List of Resources.

getSwFacet

public java.lang.String getSwFacet()
Gets the Facet.

Returns:
as Facet Name

setRoleType

public void setRoleType(java.lang.String type)
Sets the role type.

Parameters:
type - as application role or enterprise role

getRoleType

public java.lang.String getRoleType()
Gets the role type.

Returns:
type as Role

setInstanceType

public void setInstanceType(java.lang.String type)
Sets the instance type.

Parameters:
type - as String

getInstanceType

public java.lang.String getInstanceType()
Gets the instance type.

Returns:
type as String

getInstanceSetName

public java.lang.String getInstanceSetName()
Gets the instance name.

Returns:
as Instance Name

setInstanceSetName

public void setInstanceSetName(java.lang.String name)

getInstanceSetDesc

public java.lang.String getInstanceSetDesc()
Gets the instance set description.

Returns:
Description as String

setInstanceSetDesc

public void setInstanceSetDesc(java.lang.String desc)

setSelectedSet

public void setSelectedSet(PolicyBean.SetData set)
Sets the current instance set.

Parameters:
set - as SetData

getSelectedSet

public PolicyBean.SetData getSelectedSet()
Gets the current instance set.

Returns:
set as SetData

getRoleRow

public PolicyBean.RoleData getRoleRow()
Get Role Row.

Returns:
ViewRowImpl

setParaForm

public void setParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout paraForm)
Setter for parameter form.

Parameters:
paraForm - as RichPanelFormLayout

getParaForm

public oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getParaForm()
Getter for Parameter form.

Returns:
paraForm as RichPanelFormLayout

getPKs

public java.util.List<PolicyBean.InstanceData> getPKs()
Get Primary Keys.

Returns:
as List of popup data

getFilter

public java.lang.String getFilter()
Getter for Filter.

Returns:
Filter as String

setFilter

public void setFilter(java.lang.String name)
Setter for filter.

Parameters:
name - as Filter

removeFilter

public void removeFilter(javax.faces.event.ActionEvent actionEvent)
Action Listener for Filter removal.

Parameters:
actionEvent - as Action Event

filterSet

public void filterSet(javax.faces.event.ActionEvent actionEvent)
Action Listener fotr filter Set.

Parameters:
actionEvent - as Action Event

getInstanceSet

public java.util.List<PolicyBean.SetData> getInstanceSet()
Getter for instance sets.

Returns:
as List of popup data

cancelSetPopup

public void cancelSetPopup(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
Cancel Set Popup.

Parameters:
popupCanceledEvent - as popup canceled event

okSetPopup

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

Parameters:
dialogEvent - as Dialog event

cancelInstancePopup

public void cancelInstancePopup(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
Listener for popup cancel flow of instance.

Parameters:
popupCanceledEvent - as popupCanceled Event

okInstancePopup

public void okInstancePopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
Dialog listener for OK popup event for instance.

Parameters:
dialogEvent - as Dialog event

typeChange

public void typeChange(javax.faces.event.ValueChangeEvent valueChangeEvent)
Value Change Listener for Type change.

Parameters:
valueChangeEvent - as Value Change Event

pkValueChange

public void pkValueChange(javax.faces.event.ValueChangeEvent valueChangeEvent)
Value Change Listener for PK Change.

Parameters:
valueChangeEvent - as Value Change Event

getDbFilter

public java.lang.String getDbFilter()
Get DB Filter.

Returns:
Filter String

setDbFilter

public void setDbFilter(java.lang.String name)
Set DB Filter.

Parameters:
name - as Filter String

queryDB

public void queryDB(javax.faces.event.ActionEvent actionEvent)
Action Listener for Query DB Resource.

Parameters:
actionEvent - as Action Event

removeDbFilter

public void removeDbFilter(javax.faces.event.ActionEvent actionEvent)
Remove DB Filter Action Listener.

Parameters:
actionEvent - as Action Event

okDbPopup

public void okDbPopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
Dialog Listener for OK DB Popup.

Parameters:
dialogEvent - as Dialog Event

getApplication

public java.lang.String getApplication()
Getter for application


setApplication

public void setApplication(java.lang.String app)
Setter for application


getERoleFilter

public java.lang.String getERoleFilter()
Getter for enterprise role filter


setERoleFilter

public void setERoleFilter(java.lang.String name)
Setter for enterprise role filter


removeERoleFilter

public void removeERoleFilter(javax.faces.event.ActionEvent actionEvent)
Listener to remove enterprise role filter


getARoleFilter

public java.lang.String getARoleFilter()
Getter for application role filter


setARoleFilter

public void setARoleFilter(java.lang.String name)
Setter for application role filter


removeARoleFilter

public void removeARoleFilter(javax.faces.event.ActionEvent actionEvent)
Listener to remove application role filter


queryERole

public void queryERole(javax.faces.event.ActionEvent actionEvent)
Listener to query enterprise roles


queryARole

public void queryARole(javax.faces.event.ActionEvent actionEvent)
Listener to query application roles


okRolePopup

public void okRolePopup(oracle.adf.view.rich.event.DialogEvent dialogEvent)
Action Listener of OK button in the role popup dialog


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

getInitFlag

public java.lang.String getInitFlag()
Get the Init Flag.

Returns:
Init Flag

getMode

public java.lang.String getMode()
Get the mode Flag.

Returns:
mode Flag

setStartDate

public void setStartDate(java.sql.Timestamp date)

getStartDate

public java.sql.Timestamp getStartDate()

setEndDate

public void setEndDate(java.sql.Timestamp date)

getEndDate

public java.sql.Timestamp getEndDate()

setPolicyGrp

public void setPolicyGrp(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout policyGrp)

getPolicyGrp

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

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

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.