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 PolicySetupBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.dataSecurity.ui.managed.DataSecurityBackingBean
      extended by oracle.apps.fnd.applcore.dataSecurity.ui.managed.setup.PolicySetupBean
All Implemented Interfaces:
java.io.Serializable

public class PolicySetupBean
extends DataSecurityBackingBean
implements java.io.Serializable

JSF managed bean for Policy setup taskflow of Data Security UI.

Since:
11.1.1.4.84DROP
Author:
Dan Xu <dan.xu&064;oracle.com>
See Also:
Serialized Form

Nested Class Summary
 class PolicySetupBean.InstanceData
          data structure for a single row of instance -- INSTANCE
 class PolicySetupBean.RoleData
          Class used to hold role information, including enterprise role and application role.
 class PolicySetupBean.SetData
          data structure for sets of rows of instance -- SET
 
Field Summary
static java.lang.String POLICY_SETUP_BEAN
           
 
Constructor Summary
PolicySetupBean()
           
 
Method Summary
 void applyRoles(javax.faces.event.ActionEvent actionEvent)
           
 void cancel(javax.faces.event.ActionEvent actionEvent)
          Action Listenr to cancel the flow
 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 for filtering instance 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.sql.Timestamp getEndDate()
           
 java.lang.String getERoleFilter()
          Getter for enterprise role filter
 java.lang.String getGrantDesc()
          Get the grant description.
 java.lang.String getGrantName()
          Get the grant name.
 java.util.List<PolicySetupBean.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.
 oracle.apps.fnd.applcore.dataSecurity.ui.managed.setup.PolicySetupBean.PolicyMode getMode()
          Get the mode Flag.
 java.lang.String getModuleId()
          Get the Module ID.
 oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getPageParaForm()
          Getter for Parameter form.
 oracle.adf.view.rich.component.rich.data.RichTable getPageRoleTbl()
           
 oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getParaForm()
           
 java.util.List<PolicySetupBean.InstanceData> getPKs()
          Get Primary Keys.
 oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getPopupParaForm()
          Getter for Parameter form.
 oracle.adf.view.rich.component.rich.data.RichTable getPopupRoleTbl()
           
 oracle.adf.view.rich.component.rich.data.RichTable getRoleTbl()
           
 java.lang.String getRoleType()
          Gets the role type.
 java.util.List<java.lang.String> getSelectedActs()
          Gets selected actions.
 java.util.List<PolicySetupBean.RoleData> getSelectedRole()
          Gets the Selected Role.
 PolicySetupBean.SetData getSelectedSet()
          Gets the current instance set.
 java.lang.String getSetFilter()
          Getter for Filter.
 java.sql.Timestamp getStartDate()
           
 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 objIdProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)
           
 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 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 removeERoleFilter(javax.faces.event.ActionEvent actionEvent)
          Listener to remove enterprise role filter
 void removeRole(javax.faces.event.ActionEvent actionEvent)
          Action Listener for Role removal.
 void removeSetFilter(javax.faces.event.ActionEvent actionEvent)
          Action Listener to remove the filter of instance set.
 void save(javax.faces.event.ActionEvent actionEvent)
          Action Listenr to save current policy
 void setApplication(java.lang.String app)
          Setter for application
 void setARoleFilter(java.lang.String name)
          Setter for application role filter
 void setEndDate(java.sql.Timestamp date)
           
 void setERoleFilter(java.lang.String name)
          Setter for enterprise role 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 setPageParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout form)
          This form panel is used to hold the parameters of instance set or pk values for a single grant row Setter for parameter form.
 void setPageRoleTbl(oracle.adf.view.rich.component.rich.data.RichTable tbl)
           
 void setParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout paraForm)
           
 void setPopupParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout form)
          This form panel is used to hold the parameters of instance set or pk values for a single grant row Setter for parameter form.
 void setPopupRoleTbl(oracle.adf.view.rich.component.rich.data.RichTable tbl)
           
 void setRoleTbl(oracle.adf.view.rich.component.rich.data.RichTable roleTbl)
           
 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 setSelectedRole(java.util.List<PolicySetupBean.RoleData> roles)
          Sets the Selected Role.
 void setSelectedSet(PolicySetupBean.SetData set)
          Sets the current instance set.
 void setSetFilter(java.lang.String name)
          Setter for filter.
 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
 

Field Detail

POLICY_SETUP_BEAN

public static final java.lang.String POLICY_SETUP_BEAN
See Also:
Constant Field Values
Constructor Detail

PolicySetupBean

public PolicySetupBean()
Method Detail

init

public void init()

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

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()

getMode

public oracle.apps.fnd.applcore.dataSecurity.ui.managed.setup.PolicySetupBean.PolicyMode getMode()
Get the mode Flag.

Returns:
mode Flag

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

objIdProcessReturn

public void objIdProcessReturn(oracle.adf.view.rich.event.ReturnPopupEvent returnPopupEvent)

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

getSelectedRole

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

Returns:
List of Roles

setSelectedRole

public void setSelectedRole(java.util.List<PolicySetupBean.RoleData> roles)
Sets the Selected Role.


removeRole

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

Parameters:
actionEvent - as Action Event

setRoleTbl

public void setRoleTbl(oracle.adf.view.rich.component.rich.data.RichTable roleTbl)

getRoleTbl

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

setPopupRoleTbl

public void setPopupRoleTbl(oracle.adf.view.rich.component.rich.data.RichTable tbl)

getPopupRoleTbl

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

setPageRoleTbl

public void setPageRoleTbl(oracle.adf.view.rich.component.rich.data.RichTable tbl)

getPageRoleTbl

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

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

getERoleFilter

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


setERoleFilter

public void setERoleFilter(java.lang.String name)
Setter for 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


queryERole

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


removeERoleFilter

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


queryARole

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


removeARoleFilter

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


getApplication

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


setApplication

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


applyRoles

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

okRolePopup

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


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

setSelectedSet

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

Parameters:
set - as SetData

getSelectedSet

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

Returns:
set as SetData

setParaForm

public void setParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout paraForm)

getParaForm

public oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getParaForm()

setPopupParaForm

public void setPopupParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout form)
This form panel is used to hold the parameters of instance set or pk values for a single grant row Setter for parameter form.

Parameters:
paraForm - as RichPanelFormLayout

getPopupParaForm

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

Returns:
paraForm as RichPanelFormLayout

setPageParaForm

public void setPageParaForm(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout form)
This form panel is used to hold the parameters of instance set or pk values for a single grant row Setter for parameter form.

Parameters:
paraForm - as RichPanelFormLayout

getPageParaForm

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

Returns:
paraForm as RichPanelFormLayout

typeChange

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

Parameters:
valueChangeEvent - as Value Change Event

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)

cancelSetPopup

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

Parameters:
popupCanceledEvent - as popup canceled event

getSetFilter

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

Returns:
Filter as String

setSetFilter

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

Parameters:
name - as Filter

okSetPopup

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

Parameters:
dialogEvent - as Dialog event

removeSetFilter

public void removeSetFilter(javax.faces.event.ActionEvent actionEvent)
Action Listener to remove the filter of instance set.

Parameters:
actionEvent - as Action Event

filterSet

public void filterSet(javax.faces.event.ActionEvent actionEvent)
Action Listener for filtering instance Set.

Parameters:
actionEvent - as Action Event

getInstanceSet

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

Returns:
as List of popup data

cancelInstancePopup

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

Parameters:
popupCanceledEvent - as popupCanceled Event

getPKs

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

Returns:
as List of popup data

okInstancePopup

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

Parameters:
dialogEvent - as Dialog event

pkValueChange

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

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

save

public void save(javax.faces.event.ActionEvent actionEvent)
Action Listenr to save current policy

Parameters:
actionEvent - as Action Event

cancel

public void cancel(javax.faces.event.ActionEvent actionEvent)
Action Listenr to cancel the flow

Parameters:
actionEvent - as Action Event

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

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.