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

E22562-07

oracle.apps.fnd.applcore.audit.ui.bean
Class AuditTreeBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.audit.ui.bean.AuditTreeBean
All Implemented Interfaces:
java.io.Serializable

public class AuditTreeBean
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AuditTreeBean()
          The constructor for AuditTreeBean will build the Tree Model object and also populate the child Applications Table to show no rowws, since on first run there is not select root.
 
Method Summary
 java.lang.String cancel()
           
 void cancelActionListener(javax.faces.event.ActionEvent actionEvent)
          Actions Listener method for the "Cancel" in the Attributes Popup.
 void createNothing(javax.faces.event.ActionEvent actionEvent)
          Method for 'createActionListener' so that it does not add a new row to the Apps Table but only opens the popup.
 java.lang.String deleteAttributeAction()
          Action Listener for 'Delete' on Applications Table.
 oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getAppTable()
          Bind method to get the App table component.
 oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getAppTreeTable()
          Binding method to return the App Tree Tbale
 oracle.adf.view.rich.component.rich.layout.RichPanelHeader getAttrsPanelHeader()
           
 oracle.adf.view.rich.component.rich.input.RichSelectBooleanCheckbox getAuditCheckboxSBC()
           
 java.util.ArrayList<javax.faces.model.SelectItem> getAuditEnabledWebapps()
           
 boolean getAuditVisible()
          Method that returns whether the disable audit button is visible or not.
 boolean getCreateDisabled()
          Method to return whether the 'create' button on Applications Table is enabled.
 boolean getDeleteDisabled()
          Method to return whether the 'delete' button on Applications Table is enabled.
 org.apache.myfaces.trinidad.model.TreeModel getMyTreeModel()
          Method that returns the Tree Model objects to create the Applications Tree Table.
 java.util.List getOptions()
          Bind method to get the values from the ADF shuttle.
 java.util.List getSelectedValues()
          Method to get the selected values from the shuttle.
 java.util.List getShuttleAttributes()
          Method that returns a list of attributes for the currentl selected View Object.
 oracle.adf.view.rich.component.rich.data.RichTable getTable()
          Bind method to get the ADF table component inside the Apps Table.
 oracle.adf.view.rich.component.rich.data.RichTree getTree()
          Bind method to get the ADF Tree object.
 java.lang.String getViewName()
          Method to get the fully qualified View Objects name for the current selected node.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getWebAppSOC()
           
 boolean isFlexObject()
           
 boolean isShowFlexChkbox()
           
 void onAuditChkboxClick(javax.faces.event.ValueChangeEvent valueChangeEvent)
           
 void onFlexFieldCheckBoxListner(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Value change listner for Additional Attributes(Flex fields) checkbox
 void onWebAppSelection(javax.faces.event.ValueChangeEvent valueChangeEvent)
           
 void removeAudit(javax.faces.event.ActionEvent actionEvent)
          Action Listener to disable audit on a View Object.
 void saveActionListener(javax.faces.event.ActionEvent actionEvent)
          Actions Listener method for the "Save and Close" in the Attributes Popup.
 void saveAndCommit(javax.faces.event.ActionEvent actionEvent)
           
 java.lang.String saveCommitAndClose()
           
 void setAppTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent appTable)
          Bind method to set the App table component inside the Apps Table.
 void setAppTreeTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent appTreeTable)
          Binding method to return the Apps Tree Table
 void setAttrsPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader attrsPanelHeader)
           
 void setAuditCheckboxSBC(oracle.adf.view.rich.component.rich.input.RichSelectBooleanCheckbox auditCheckboxSBC)
           
 void setFlexObject(boolean flexObject)
           
 void setOptions(java.util.List opt)
          Bind method to set the options in the ADF shuttle.
 void setSelectedValues(java.util.List selectedValues)
          Method to set the selected values from the shuttle.
 void setShowFlexChkbox(boolean showFlexChkbox)
           
 void setTable(oracle.adf.view.rich.component.rich.data.RichTable table)
          Bind method to set the ADF table component.
 void setTree(oracle.adf.view.rich.component.rich.data.RichTree tree)
          Bind method to set the ADF Tree object.
 void setWebAppSOC(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice webAppSOC)
          Method to check if Audit Vault is configured.
 void synchAllAttributes(javax.faces.event.ActionEvent actionEvent)
          Sync attributes from all audit enabled VOs
 void treeTableSelectListener(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent)
          Selection Listener method for the Tree Table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditTreeBean

public AuditTreeBean()
The constructor for AuditTreeBean will build the Tree Model object and also populate the child Applications Table to show no rowws, since on first run there is not select root.

Method Detail

setTree

public void setTree(oracle.adf.view.rich.component.rich.data.RichTree tree)
Bind method to set the ADF Tree object.

Parameters:
tree -

getTree

public oracle.adf.view.rich.component.rich.data.RichTree getTree()
Bind method to get the ADF Tree object.

Returns:
RichTree

setOptions

public void setOptions(java.util.List opt)
Bind method to set the options in the ADF shuttle.

Parameters:
opt -

getOptions

public java.util.List getOptions()
Bind method to get the values from the ADF shuttle.

Returns:
List

getMyTreeModel

public org.apache.myfaces.trinidad.model.TreeModel getMyTreeModel()
Method that returns the Tree Model objects to create the Applications Tree Table.

Returns:
TreeModel

getViewName

public java.lang.String getViewName()
Method to get the fully qualified View Objects name for the current selected node.

Returns:
String

setAppTable

public void setAppTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent appTable)
Bind method to set the App table component inside the Apps Table.

Parameters:
appTable -

getAppTable

public oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getAppTable()
Bind method to get the App table component.

Returns:
RichDeclarativeComponent

setTable

public void setTable(oracle.adf.view.rich.component.rich.data.RichTable table)
Bind method to set the ADF table component.

Parameters:
table -

getTable

public oracle.adf.view.rich.component.rich.data.RichTable getTable()
Bind method to get the ADF table component inside the Apps Table.

Returns:
RichTable

setSelectedValues

public void setSelectedValues(java.util.List selectedValues)
Method to set the selected values from the shuttle.

Parameters:
selectedValues -

setAppTreeTable

public void setAppTreeTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent appTreeTable)
Binding method to return the Apps Tree Table

Parameters:
appTreeTable -

getAppTreeTable

public oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getAppTreeTable()
Binding method to return the App Tree Tbale

Returns:
RichDeclarativeComponent

getSelectedValues

public java.util.List getSelectedValues()
Method to get the selected values from the shuttle.

Returns:
List

getAuditVisible

public boolean getAuditVisible()
Method that returns whether the disable audit button is visible or not.

Returns:
boolean

getDeleteDisabled

public boolean getDeleteDisabled()
Method to return whether the 'delete' button on Applications Table is enabled.

Returns:
boolean

getCreateDisabled

public boolean getCreateDisabled()
Method to return whether the 'create' button on Applications Table is enabled.

Returns:
boolean

getShuttleAttributes

public java.util.List getShuttleAttributes()
Method that returns a list of attributes for the currentl selected View Object. This list is used to populate the shuttle in the Attributes popup. Displays a warning when no root is selected.

Returns:
List

treeTableSelectListener

public void treeTableSelectListener(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent)
Selection Listener method for the Tree Table. This method sets the root to the current selected node. And also populates the Apps Table with any already audit enabled attributes from the Metadata VO.

Parameters:
selectionEvent -

cancelActionListener

public void cancelActionListener(javax.faces.event.ActionEvent actionEvent)
Actions Listener method for the "Cancel" in the Attributes Popup. Making sure the webApp name does not blank out.

Parameters:
actionEvent -

saveActionListener

public void saveActionListener(javax.faces.event.ActionEvent actionEvent)
Actions Listener method for the "Save and Close" in the Attributes Popup. This method adds

Parameters:
actionEvent -

createNothing

public void createNothing(javax.faces.event.ActionEvent actionEvent)
Method for 'createActionListener' so that it does not add a new row to the Apps Table but only opens the popup.

Parameters:
actionEvent -

removeAudit

public void removeAudit(javax.faces.event.ActionEvent actionEvent)
Action Listener to disable audit on a View Object.

Parameters:
actionEvent -

deleteAttributeAction

public java.lang.String deleteAttributeAction()
Action Listener for 'Delete' on Applications Table. If there is more than one row present in table and delete is selected then that attribute will have 'EnabledFlag' set to 'N' whereas if the only ro from the table is deleted it will set the flag and also drop the capture rule.

Returns:
String

getAuditEnabledWebapps

public java.util.ArrayList<javax.faces.model.SelectItem> getAuditEnabledWebapps()

setWebAppSOC

public void setWebAppSOC(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice webAppSOC)
Method to check if Audit Vault is configured. Calls api AuditConfigUtility.isAuditVaultConfigured() internally.

Parameters:
none -

getWebAppSOC

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getWebAppSOC()

onWebAppSelection

public void onWebAppSelection(javax.faces.event.ValueChangeEvent valueChangeEvent)

setAttrsPanelHeader

public void setAttrsPanelHeader(oracle.adf.view.rich.component.rich.layout.RichPanelHeader attrsPanelHeader)

getAttrsPanelHeader

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

onAuditChkboxClick

public void onAuditChkboxClick(javax.faces.event.ValueChangeEvent valueChangeEvent)

setAuditCheckboxSBC

public void setAuditCheckboxSBC(oracle.adf.view.rich.component.rich.input.RichSelectBooleanCheckbox auditCheckboxSBC)

getAuditCheckboxSBC

public oracle.adf.view.rich.component.rich.input.RichSelectBooleanCheckbox getAuditCheckboxSBC()

saveAndCommit

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

saveCommitAndClose

public java.lang.String saveCommitAndClose()

cancel

public java.lang.String cancel()

onFlexFieldCheckBoxListner

public void onFlexFieldCheckBoxListner(javax.faces.event.ValueChangeEvent valueChangeEvent)
Value change listner for Additional Attributes(Flex fields) checkbox


setFlexObject

public void setFlexObject(boolean flexObject)

isFlexObject

public boolean isFlexObject()

setShowFlexChkbox

public void setShowFlexChkbox(boolean showFlexChkbox)

isShowFlexChkbox

public boolean isShowFlexChkbox()

synchAllAttributes

public void synchAllAttributes(javax.faces.event.ActionEvent actionEvent)
Sync attributes from all audit enabled VOs


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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.