public class AuditUtils extends Object
| Constructor and Description |
|---|
AuditUtils() |
| Modifier and Type | Method and Description |
|---|---|
static AuditItemType |
getAuditItem(AuditEntry auditEntry,
String auditItemType)
Gets an audit item of the given type or null if one does not exist.
|
static AuditItemType |
getOrCreateAuditItem(AuditEntry auditEntry,
String auditItemType)
Gets an existing audit item or else creates a new one.
|
static void |
setAuditItemProperty(AuditItemType auditItem,
String name,
String value)
Sets a property on the audit item.
|
public static AuditItemType getAuditItem(AuditEntry auditEntry, String auditItemType)
auditEntry - propertyAdded - public static AuditItemType getOrCreateAuditItem(AuditEntry auditEntry, String auditItemType)
auditEntry - auditItemType - public static void setAuditItemProperty(AuditItemType auditItem, String name, String value)
auditItem - name - value - Copyright © 2011–2013 JBoss, a division of Red Hat. All rights reserved.