|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.audit.common.model.utility.MDSAuditEventUtil
public class MDSAuditEventUtil
Utility class for reporting MDS audit events. Currently, the only public method provided is to tranform custom audit attributes. More methods may be added in future.
Method Summary | |
---|---|
static java.util.Collection<CommonAuditAttributeBean> |
transformCustomAttributes(java.util.Collection<CommonAuditAttributeBean> attributes)
Utility method to flatten MDS custom audit attributes to look similar to the regular attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Collection<CommonAuditAttributeBean> transformCustomAttributes(java.util.Collection<CommonAuditAttributeBean> attributes)
MDS supports it's consumer components like ADF and SOA to add upto 5 arbitrary audit attributes to the MDS audit events. These are internally stored in OPSS as generic attributes as described below.
If a custom audit attribute using the following call
mdsCustomAuditEvent.addAttribute("MyAttribute", "MyValue", "MyOldValue");Then it will be stored in OPSS as shown below (with another standard MDS attribute for mds-sandbox-name).
OPSS Attribute Name | Attribute Value |
custom-attribute1-name | MyAttribute |
custom-attribute1-value | MyValue |
custom-attribute1-old-value | MyOldValue |
mds-sandbox-name | MySandbox |
Since this is not user friendly, this class provides transformation method to flatten the generic attributes as shown below to match how the attribute was added originally.
Attribute Name | Value | Old Value |
MyAttribute | MyValue | MyOldValue |
mds-sandbox-name | MySandbox |
The utility method is expected to be invoked by Audit Reporting UI for any MDS custom audit event (component names are suffixed with -MDS) to present the attributes correctly in the UI.
attributes
- Collection of audit attributes for MDS
custom audit event. This can include both custom attributes and
regular attributes. Must not be null
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |