Package com.evolveum.midpoint.audit.api
Class AuditEventRecord
java.lang.Object
com.evolveum.midpoint.audit.api.AuditEventRecord
- All Implemented Interfaces:
DebugDumpable,Serializable
Audit event record describes a single event (usually data change) in a format suitable for audit.
This is more or less equivalent to
AuditEventRecordType.- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionAuditEventRecord(AuditEventType eventType) AuditEventRecord(AuditEventType eventType, AuditEventStage eventStage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDelta(ObjectDeltaOperation<? extends ObjectType> delta) voidaddDeltas(Collection<? extends ObjectDeltaOperation<? extends ObjectType>> deltasToAdd) voidvoidaddPropertyValue(String key, String value) voidaddPropertyValueIgnoreNull(String key, Object value) voidaddReferenceValue(String key, @NotNull AuditReferenceValue value) voidaddReferenceValue(String key, @NotNull PrismReferenceValue prv) voidaddReferenceValueIgnoreNull(String key, ObjectReferenceType value) voidaddReferenceValues(String key, @NotNull List<ObjectReferenceType> values) voidaddResourceOid(String resourceOid) static voidadopt(AuditEventRecordType record) static voidadopt(ObjectDeltaType delta) voidvoidvoidclone()createAuditEventRecordType(boolean tolerateInconsistencies) debugDump(int indent) Attorney is the (physical) user who have executed the action.@NotNull Collection<ObjectDeltaOperation<? extends ObjectType>>@Nullable PrismReferenceValue@Nullable EffectivePrivilegesModificationTypeInitiator is the (legal) entity on behalf of whom is the action executed.getPropertyValues(String name) getReferenceValues(String name) voidsetAttorney(PrismObject<? extends FocusType> attorney) voidsetAttorneyRef(PrismReferenceValue attorneyRef) It is assumed the ref has oid, type and description set.voidsetChannel(String channel) voidsetEffectivePrincipal(@Nullable PrismObject<? extends FocusType> object) voidsetEffectivePrincipalRef(PrismReferenceValue effectivePrincipalRef) It is assumed the ref has oid, type and description set.voidvoidsetEventIdentifier(String eventIdentifier) voidsetEventStage(AuditEventStage eventStage) voidsetEventType(AuditEventType eventType) voidsetHostIdentifier(String hostIdentifier) voidsetInitiator(PrismObject<? extends FocusType> initiator) voidsetInitiatorAndLoginParameter(PrismObject<? extends FocusType> initiator) voidsetInitiatorRef(PrismReferenceValue initiator) It is assumed the ref has oid, type and description set.voidsetMessage(String message) voidsetNodeIdentifier(String nodeIdentifier) voidsetOutcome(OperationResultStatus outcome) voidsetParameter(String parameter) voidsetRemoteHostAddress(String remoteHostAddress) voidvoidsetRequestIdentifier(String requestIdentifier) voidsetResourceOids(Set<String> resourceOids) voidvoidsetSessionIdentifier(String sessionIdentifier) voidsetTarget(PrismObject<?> target) voidsetTargetOwner(PrismObject<? extends FocusType> targetOwner) voidsetTargetOwnerRef(PrismReferenceValue targetOwnerRef) It is assumed the ref has oid, type and description set.voidsetTargetRef(PrismReferenceValue target) It is assumed the ref has oid, type and description set.voidsetTaskIdentifier(String taskIdentifier) voidsetTaskOid(String taskOid) voidsetTimestamp(Long timestamp) toString()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
AuditEventRecord
public AuditEventRecord() -
AuditEventRecord
-
AuditEventRecord
-
-
Method Details
-
getTimestamp
-
clearTimestamp
public void clearTimestamp() -
setTimestamp
-
getEventIdentifier
-
setEventIdentifier
-
getSessionIdentifier
-
setSessionIdentifier
-
getRequestIdentifier
-
setRequestIdentifier
-
getTaskIdentifier
-
setTaskIdentifier
-
getTaskOid
-
setTaskOid
-
getHostIdentifier
-
setHostIdentifier
-
getNodeIdentifier
-
setNodeIdentifier
-
getRemoteHostAddress
-
setRemoteHostAddress
-
setInitiator
-
getInitiatorRef
Initiator is the (legal) entity on behalf of whom is the action executed. It is the subject of the operation. Authorizations of the initiator are used to evaluate access to the operation. This is the entity who is formally responsible for the operation. Although initiator is always a user in midPoint 3.7 and earlier, the initiator may be an organization in later midPoint versions. -
setInitiatorRef
It is assumed the ref has oid, type and description set. -
setAttorney
-
getAttorneyRef
Attorney is the (physical) user who have executed the action. This is the user that have logged-in to the user interface. This is the user that pressed the button to execute the action. This is always identity of a user and it will always be a user. It cannot be a company or any other virtual entity. -
setAttorneyRef
It is assumed the ref has oid, type and description set. -
getEffectivePrincipalRef
-
setEffectivePrincipal
-
setEffectivePrincipalRef
It is assumed the ref has oid, type and description set. -
getEffectivePrivilegesModification
-
setEffectivePrivilegesModification
-
getTargetRef
-
setTargetRef
It is assumed the ref has oid, type and description set. -
setTarget
-
setTargetOwner
-
getTargetOwnerRef
-
setTargetOwnerRef
It is assumed the ref has oid, type and description set. -
getEventType
-
setEventType
-
getEventStage
-
setEventStage
-
getDeltas
-
addDelta
-
addDeltas
-
getChannel
-
setChannel
-
clearDeltas
public void clearDeltas() -
getOutcome
-
setOutcome
-
setResult
-
getResult
-
getMessage
-
setMessage
-
getParameter
-
setParameter
-
getRepoId
-
setRepoId
-
getProperties
-
getPropertyValues
-
getReferences
-
getReferenceValues
-
getCustomColumnProperty
-
getResourceOids
-
setResourceOids
-
addResourceOid
-
addPropertyValue
-
addPropertyValueIgnoreNull
-
addReferenceValueIgnoreNull
-
addReferenceValue
-
addReferenceValue
-
addReferenceValues
-
checkConsistence
public void checkConsistence() -
createAuditEventRecordType
-
clone
-
toString
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
adopt
- Throws:
SchemaException
-
adopt
- Throws:
SchemaException
-
setInitiatorAndLoginParameter
-
getNonExistingReferencedObjects
-
addNonExistingReferencedObject
-