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

E22562-01

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

java.lang.Object
  extended by oracle.apps.fnd.applcore.audit.ui.bean.AuditTreeBean

public class AuditTreeBean
extends java.lang.Object


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
 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
 java.lang.Integer getAuditVaultSourceId()
           
 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.
 oracle.adf.view.rich.component.rich.nav.RichCommandToolbarButton getDisableAuditButton()
          Binding method for the disable audit button.
 java.lang.String getGlobalDatabaseName()
           
 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.layout.RichShowDetailHeader getTableShowDetailheader()
          Bind method to get the show detail header component for the Applications 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.
 java.lang.String isAuditVaultConfigured()
          Method to check if Audit Vault is configured.
 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 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 setDisableAuditButton(oracle.adf.view.rich.component.rich.nav.RichCommandToolbarButton disableAuditButton)
          Binding method for the disable audit button.
 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 setTable(oracle.adf.view.rich.component.rich.data.RichTable table)
          Bind method to set the ADF table component.
 void setTableShowDetailheader(oracle.adf.view.rich.component.rich.layout.RichShowDetailHeader tableShowDetailheader)
          Bind method to set the show detail header component for the Applications Table.
 void setTree(oracle.adf.view.rich.component.rich.data.RichTree tree)
          Bind method to set the ADF Tree object.
 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

setTableShowDetailheader

public void setTableShowDetailheader(oracle.adf.view.rich.component.rich.layout.RichShowDetailHeader tableShowDetailheader)
Bind method to set the show detail header component for the Applications Table.

Parameters:
tableShowDetailheader -

getTableShowDetailheader

public oracle.adf.view.rich.component.rich.layout.RichShowDetailHeader getTableShowDetailheader()
Bind method to get the show detail header component for the Applications Table.

Returns:
RichShowDetailHeader

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 -

setDisableAuditButton

public void setDisableAuditButton(oracle.adf.view.rich.component.rich.nav.RichCommandToolbarButton disableAuditButton)
Binding method for the disable audit button.

Parameters:
disableAuditButton -

getDisableAuditButton

public oracle.adf.view.rich.component.rich.nav.RichCommandToolbarButton getDisableAuditButton()
Binding method for the disable audit button.

Returns:
RichCommandToolbarButton

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 -

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

isAuditVaultConfigured

public java.lang.String isAuditVaultConfigured()
Method to check if Audit Vault is configured. Calls api AuditConfigUtility.isAuditVaultConfigured() internally.

Parameters:
none -
Returns:
String - indicates status of Configuration..ie.CONFIGURATION_SUCCESS or CONFIGURATION_FAILURE

getGlobalDatabaseName

public java.lang.String getGlobalDatabaseName()

getAuditVaultSourceId

public java.lang.Integer getAuditVaultSourceId()

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.