|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.audit.AuditInfo
public class AuditInfo
A class to encapsulate audit information supplied to the DAO layer. Null entries should be stored.
Constructor Summary | |
---|---|
AuditInfo(AuditConfiguration auditConfiguration)
Create the default audit info from the audit configuration. |
Method Summary | |
---|---|
java.lang.String |
getAuditApplication()
Get the name of the audited application. |
AuditConfiguration |
getAuditConfiguration()
Get the audit configuration. |
java.lang.String |
getAuditMethod()
Get the name of the audited method - if it makes sense in the uadited context. |
java.lang.String |
getAuditService()
Get the audit service. |
java.net.InetAddress |
getClientAddress()
Get the address o which the client application is running if available |
java.util.Date |
getDate()
Get the date for the audit entry/ |
java.net.InetAddress |
getHostAddress()
Get the host address where the repository is running. |
java.lang.String |
getKeyGUID()
Get the GUID for the key node ref |
java.util.Map |
getKeyPropertiesAfter()
Get the properies of the key node after the method invoation. |
java.util.Map |
getKeyPropertiesBefore()
Get the properies of the key node before the method invoation. |
StoreRef |
getKeyStore()
|
java.lang.String |
getMessage()
|
java.io.Serializable[] |
getMethodArguments()
|
java.lang.String |
getPath()
|
java.io.Serializable |
getReturnObject()
|
java.lang.String |
getSessionId()
|
java.lang.Throwable |
getThrowable()
|
java.lang.String |
getTxId()
|
java.lang.String |
getUserIdentifier()
|
boolean |
isFail()
Is this an audit of a failed method invocation? |
boolean |
isFiltered()
Could some audit information have been filtered? If true there may have been some unaudited operations of the same type. |
void |
setAuditApplication(java.lang.String auditApplication)
Set the name of the audited application. |
void |
setAuditConfiguration(AuditConfiguration auditConfiguration)
Set the audit configuration. |
void |
setAuditMethod(java.lang.String auditMethod)
Set the name of the audited method. |
void |
setAuditService(java.lang.String auditService)
Set the audit service (IOC) |
void |
setClientAddress(java.net.InetAddress clientAddress)
Set the client address that casued the audit. |
void |
setDate(java.util.Date date)
Set the date for the audit entry |
void |
setFail(boolean fail)
Set that this is an audit of a failed method invoation. |
void |
setFiltered(boolean filtered)
Set if a filter was present for this audit entry |
void |
setHostAddress(java.net.InetAddress hostAddress)
Set the host address where the repository is running. |
void |
setKeyGUID(java.lang.String keyGUID)
Set the GUID for the key node ref in the audited method invoation. |
void |
setKeyPropertiesAfter(java.util.Map keyPropertiesAfter)
Set the preperties to be stored in the audit trail for the key node ref after the audited method has been invoked. |
void |
setKeyPropertiesBefore(java.util.Map keyPropertiesBefore)
Set the preperties to be stored in the audit trail for the key node ref before the audited method has been invoked. |
void |
setKeyStore(StoreRef keyStore)
|
void |
setMessage(java.lang.String message)
|
void |
setMethodArguments(java.io.Serializable[] methodArguments)
|
void |
setPath(java.lang.String keyPath)
|
void |
setReturnObject(java.io.Serializable returnObject)
|
void |
setSessionId(java.lang.String sessionId)
|
void |
setThrowable(java.lang.Throwable throwable)
|
void |
setTxId(java.lang.String txId)
|
void |
setUserIdentifier(java.lang.String userIdentifier)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditInfo(AuditConfiguration auditConfiguration)
auditConfiguration
- Method Detail |
---|
public java.lang.String getAuditApplication()
public void setAuditApplication(java.lang.String auditApplication)
auditApplication
- public AuditConfiguration getAuditConfiguration()
public void setAuditConfiguration(AuditConfiguration auditConfiguration)
auditConfiguration
- public java.lang.String getAuditMethod()
public void setAuditMethod(java.lang.String auditMethod)
auditMethod
- public java.lang.String getAuditService()
public void setAuditService(java.lang.String auditService)
auditService
- public java.net.InetAddress getClientAddress()
public void setClientAddress(java.net.InetAddress clientAddress)
clientAddress
- public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- public boolean isFail()
public void setFail(boolean fail)
fail
- public boolean isFiltered()
public void setFiltered(boolean filtered)
filtered
- public java.net.InetAddress getHostAddress()
public void setHostAddress(java.net.InetAddress hostAddress)
hostAddress
- public java.lang.String getKeyGUID()
public void setKeyGUID(java.lang.String keyGUID)
keyGUID
- public java.util.Map getKeyPropertiesAfter()
public void setKeyPropertiesAfter(java.util.Map keyPropertiesAfter)
keyPropertiesAfter
- public java.util.Map getKeyPropertiesBefore()
public void setKeyPropertiesBefore(java.util.Map keyPropertiesBefore)
keyPropertiesAfter
- public StoreRef getKeyStore()
public void setKeyStore(StoreRef keyStore)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.io.Serializable[] getMethodArguments()
public void setMethodArguments(java.io.Serializable[] methodArguments)
public java.lang.String getPath()
public void setPath(java.lang.String keyPath)
public java.io.Serializable getReturnObject()
public void setReturnObject(java.io.Serializable returnObject)
public java.lang.String getSessionId()
public void setSessionId(java.lang.String sessionId)
public java.lang.Throwable getThrowable()
public void setThrowable(java.lang.Throwable throwable)
public java.lang.String getTxId()
public void setTxId(java.lang.String txId)
public java.lang.String getUserIdentifier()
public void setUserIdentifier(java.lang.String userIdentifier)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |