com.evolveum.midpoint.audit.api
Class AuditEventRecord
java.lang.Object
com.evolveum.midpoint.audit.api.AuditEventRecord
- All Implemented Interfaces:
- DebugDumpable, Dumpable
public class AuditEventRecord
- extends Object
- implements Dumpable, DebugDumpable
- Author:
- semancik
AuditEventRecord
public AuditEventRecord()
AuditEventRecord
public AuditEventRecord(AuditEventType eventType)
AuditEventRecord
public AuditEventRecord(AuditEventType eventType,
AuditEventStage eventStage)
getTimestamp
public Long getTimestamp()
clearTimestamp
public void clearTimestamp()
setTimestamp
public void setTimestamp(Long timestamp)
getEventIdentifier
public String getEventIdentifier()
setEventIdentifier
public void setEventIdentifier(String eventIdentifier)
getSessionIdentifier
public String getSessionIdentifier()
setSessionIdentifier
public void setSessionIdentifier(String sessionIdentifier)
getTaskIdentifier
public String getTaskIdentifier()
setTaskIdentifier
public void setTaskIdentifier(String taskIdentifier)
getTaskOID
public String getTaskOID()
setTaskOID
public void setTaskOID(String taskOID)
getHostIdentifier
public String getHostIdentifier()
setHostIdentifier
public void setHostIdentifier(String hostIdentifier)
getInitiator
public PrismObject<UserType> getInitiator()
setInitiator
public void setInitiator(PrismObject<UserType> initiator)
getTarget
public PrismObject<? extends ObjectType> getTarget()
setTarget
public void setTarget(PrismObject<? extends ObjectType> target)
getTargetOwner
public PrismObject<UserType> getTargetOwner()
setTargetOwner
public void setTargetOwner(PrismObject<UserType> targetOwner)
getEventType
public AuditEventType getEventType()
setEventType
public void setEventType(AuditEventType eventType)
getEventStage
public AuditEventStage getEventStage()
setEventStage
public void setEventStage(AuditEventStage eventStage)
getDeltas
public Collection<ObjectDeltaOperation<? extends ObjectType>> getDeltas()
addDelta
public void addDelta(ObjectDeltaOperation<? extends ObjectType> delta)
addDeltas
public void addDeltas(Collection<ObjectDeltaOperation<? extends ObjectType>> deltasToAdd)
getChannel
public String getChannel()
setChannel
public void setChannel(String channel)
clearDeltas
public void clearDeltas()
getOutcome
public OperationResultStatus getOutcome()
setOutcome
public void setOutcome(OperationResultStatus outcome)
setResult
public void setResult(OperationResult result)
checkConsistence
public void checkConsistence()
clone
public AuditEventRecord clone()
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
debugDump
public String debugDump()
- Description copied from interface:
DebugDumpable
- Show the content of the object intended for diagnostics by system administrator. The out
put should be suitable to use in system logs at "debug" level. It may be multi-line, but in
that case it should be well indented and quite terse.
As it is intended to be used by system administrator, it should not use any developer terms
such as class names, exceptions or stack traces.
- Specified by:
debugDump
in interface DebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
dump
public String dump()
- Description copied from interface:
Dumpable
- Show the content of the object intended for diagnostics by developer.
The content may be multi-line, in case of hierarchical objects it may be intended.
The use of this method may not be efficient. It is not supposed to be used in normal operation.
However, it is very useful in tests or in case of dumping objects in severe error situations.
- Specified by:
dump
in interface Dumpable
- Returns:
- content of the object intended for diagnostics.
Copyright © 2013 evolveum. All Rights Reserved.