Package com.attivio.sdk.client.audit
Interface AuditDetail
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
MockIngestApi.MockAuditDetail
public interface AuditDetail extends java.io.SerializableBase interface for all AIE message and document audit information.$Revision$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAncestorId()The initiating document id if any.java.util.UUIDgetClientId()java.lang.StringgetComponent()java.util.UUIDgetCorrelationId()The unique id for a document update.java.util.DategetDate()DocumentModegetDocumentMode()TheDocumentModefor the document.ErrorCodegetErrorCode()java.lang.StringgetErrorMessage()Returns the unstructured error message associated with a processing error.java.lang.StringgetExceptionClass()java.lang.StringgetId()The id (message or document) associated with the audit detail record.java.lang.StringgetMessageClass()Message class associated with the audit detail.java.lang.StringgetNode()kjava.lang.StringgetParentId()The immediate parent document id if any.ProcessingResultCodegetResultCode()longgetSequenceId()This value has meaning only after retrieval from the audit store.
-
-
-
Method Detail
-
getSequenceId
long getSequenceId()
This value has meaning only after retrieval from the audit store.- Returns:
- The sequence ID for the detail record, -1 if undefined
-
getDate
java.util.Date getDate()
- Returns:
- the date the audit record was generated.
-
getClientId
java.util.UUID getClientId()
- Returns:
- the client associated with the detail.
-
getMessageClass
java.lang.String getMessageClass()
Message class associated with the audit detail. May be null for the common case of document bearing messages.
-
getId
java.lang.String getId()
The id (message or document) associated with the audit detail record.
-
getCorrelationId
java.util.UUID getCorrelationId()
The unique id for a document update.
-
getResultCode
ProcessingResultCode getResultCode()
- Returns:
- ProcessingResultCode for the audit detail record.
-
getNode
java.lang.String getNode()
k- Returns:
- the name of the node where the audit information was generated
-
getAncestorId
java.lang.String getAncestorId()
The initiating document id if any. For instance, for a document contained in a zip (inner.zip) contained in a zip (main.zip), this ID would be themain.zip
-
getParentId
java.lang.String getParentId()
The immediate parent document id if any. For instance, for a document contained in a zip (inner.zip) contained in a zip (main.zip), this ID would be theinner.zip
-
getDocumentMode
DocumentMode getDocumentMode()
TheDocumentModefor the document.
-
getComponent
java.lang.String getComponent()
- Returns:
nullif created by client
-
getErrorCode
ErrorCode getErrorCode()
- Returns:
nullif noErrorCodewas recorded, the error code otherwise.
-
getExceptionClass
java.lang.String getExceptionClass()
- Returns:
nullif no Exception was recorded, the simple name of the exception class otherwise.
-
getErrorMessage
java.lang.String getErrorMessage()
Returns the unstructured error message associated with a processing error.
-
-