Class AuditEventRecordType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.audit_3.AuditEventRecordType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class AuditEventRecordType extends Object implements Serializable, Cloneable, Containerable
Audit event record describes a single event (usually data change) in a format suitable for audit.Java class for AuditEventRecordType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuditEventRecordType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="eventIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="sessionIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="requestIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="taskIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="taskOID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="hostIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="nodeIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="remoteHostAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="initiatorRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType"/> <element name="attorneyRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="targetOwnerRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType"/> <element name="eventType" type="{http://midpoint.evolveum.com/xml/ns/public/common/audit-3}AuditEventTypeType"/> <element name="eventStage" type="{http://midpoint.evolveum.com/xml/ns/public/common/audit-3}AuditEventStageType"/> <element name="delta" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectDeltaOperationType" maxOccurs="unbounded" minOccurs="0"/> <element name="channel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="outcome" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultStatusType" minOccurs="0"/> <element name="result" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="parameter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="changedItem" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemPathType" maxOccurs="unbounded" minOccurs="0"/> <element name="property" type="{http://midpoint.evolveum.com/xml/ns/public/common/audit-3}AuditEventRecordPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="reference" type="{http://midpoint.evolveum.com/xml/ns/public/common/audit-3}AuditEventRecordReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="resourceOid" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="customColumnProperty" type="{http://midpoint.evolveum.com/xml/ns/public/common/audit-3}AuditEventRecordCustomColumnPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="repoId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ATTORNEY_REF
static ItemName
F_CHANGED_ITEM
static ItemName
F_CHANNEL
static ItemName
F_CUSTOM_COLUMN_PROPERTY
static ItemName
F_DELTA
static ItemName
F_EVENT_IDENTIFIER
static ItemName
F_EVENT_STAGE
static ItemName
F_EVENT_TYPE
static ItemName
F_HOST_IDENTIFIER
static ItemName
F_INITIATOR_REF
static ItemName
F_MESSAGE
static ItemName
F_NODE_IDENTIFIER
static ItemName
F_OUTCOME
static ItemName
F_PARAMETER
static ItemName
F_PROPERTY
static ItemName
F_REFERENCE
static ItemName
F_REMOTE_HOST_ADDRESS
static ItemName
F_REPO_ID
static ItemName
F_REQUEST_IDENTIFIER
static ItemName
F_RESOURCE_OID
static ItemName
F_RESULT
static ItemName
F_SESSION_IDENTIFIER
static ItemName
F_TARGET_OWNER_REF
static ItemName
F_TARGET_REF
static ItemName
F_TASK_IDENTIFIER
static ItemName
F_TASK_OID
static ItemName
F_TIMESTAMP
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AuditEventRecordType()
AuditEventRecordType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TIMESTAMP
public static final ItemName F_TIMESTAMP
-
F_EVENT_IDENTIFIER
public static final ItemName F_EVENT_IDENTIFIER
-
F_SESSION_IDENTIFIER
public static final ItemName F_SESSION_IDENTIFIER
-
F_REQUEST_IDENTIFIER
public static final ItemName F_REQUEST_IDENTIFIER
-
F_TASK_IDENTIFIER
public static final ItemName F_TASK_IDENTIFIER
-
F_TASK_OID
public static final ItemName F_TASK_OID
-
F_HOST_IDENTIFIER
public static final ItemName F_HOST_IDENTIFIER
-
F_NODE_IDENTIFIER
public static final ItemName F_NODE_IDENTIFIER
-
F_REMOTE_HOST_ADDRESS
public static final ItemName F_REMOTE_HOST_ADDRESS
-
F_INITIATOR_REF
public static final ItemName F_INITIATOR_REF
-
F_ATTORNEY_REF
public static final ItemName F_ATTORNEY_REF
-
F_TARGET_REF
public static final ItemName F_TARGET_REF
-
F_TARGET_OWNER_REF
public static final ItemName F_TARGET_OWNER_REF
-
F_EVENT_TYPE
public static final ItemName F_EVENT_TYPE
-
F_EVENT_STAGE
public static final ItemName F_EVENT_STAGE
-
F_DELTA
public static final ItemName F_DELTA
-
F_CHANNEL
public static final ItemName F_CHANNEL
-
F_OUTCOME
public static final ItemName F_OUTCOME
-
F_RESULT
public static final ItemName F_RESULT
-
F_PARAMETER
public static final ItemName F_PARAMETER
-
F_MESSAGE
public static final ItemName F_MESSAGE
-
F_CHANGED_ITEM
public static final ItemName F_CHANGED_ITEM
-
F_PROPERTY
public static final ItemName F_PROPERTY
-
F_REFERENCE
public static final ItemName F_REFERENCE
-
F_RESOURCE_OID
public static final ItemName F_RESOURCE_OID
-
F_CUSTOM_COLUMN_PROPERTY
public static final ItemName F_CUSTOM_COLUMN_PROPERTY
-
F_REPO_ID
public static final ItemName F_REPO_ID
-
-
Constructor Detail
-
AuditEventRecordType
public AuditEventRecordType()
-
AuditEventRecordType
public AuditEventRecordType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
-
getEventIdentifier
public String getEventIdentifier()
-
setEventIdentifier
public void setEventIdentifier(String value)
-
getSessionIdentifier
public String getSessionIdentifier()
-
setSessionIdentifier
public void setSessionIdentifier(String value)
-
getRequestIdentifier
public String getRequestIdentifier()
-
setRequestIdentifier
public void setRequestIdentifier(String value)
-
getTaskIdentifier
public String getTaskIdentifier()
-
setTaskIdentifier
public void setTaskIdentifier(String value)
-
getTaskOID
public String getTaskOID()
-
setTaskOID
public void setTaskOID(String value)
-
getHostIdentifier
public String getHostIdentifier()
-
setHostIdentifier
public void setHostIdentifier(String value)
-
getNodeIdentifier
public String getNodeIdentifier()
-
setNodeIdentifier
public void setNodeIdentifier(String value)
-
getRemoteHostAddress
public String getRemoteHostAddress()
-
setRemoteHostAddress
public void setRemoteHostAddress(String value)
-
getInitiatorRef
public ObjectReferenceType getInitiatorRef()
-
setInitiatorRef
public void setInitiatorRef(ObjectReferenceType value)
-
getAttorneyRef
public ObjectReferenceType getAttorneyRef()
-
setAttorneyRef
public void setAttorneyRef(ObjectReferenceType value)
-
getTargetRef
public ObjectReferenceType getTargetRef()
-
setTargetRef
public void setTargetRef(ObjectReferenceType value)
-
getTargetOwnerRef
public ObjectReferenceType getTargetOwnerRef()
-
setTargetOwnerRef
public void setTargetOwnerRef(ObjectReferenceType value)
-
getEventType
public AuditEventTypeType getEventType()
-
setEventType
public void setEventType(AuditEventTypeType value)
-
getEventStage
public AuditEventStageType getEventStage()
-
setEventStage
public void setEventStage(AuditEventStageType value)
-
getDelta
public List<ObjectDeltaOperationType> getDelta()
-
createDeltaList
public List<ObjectDeltaOperationType> createDeltaList()
-
getChannel
public String getChannel()
-
setChannel
public void setChannel(String value)
-
getOutcome
public OperationResultStatusType getOutcome()
-
setOutcome
public void setOutcome(OperationResultStatusType value)
-
getResult
public String getResult()
-
setResult
public void setResult(String value)
-
getParameter
public String getParameter()
-
setParameter
public void setParameter(String value)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String value)
-
getChangedItem
public List<ItemPathType> getChangedItem()
-
createChangedItemList
public List<ItemPathType> createChangedItemList()
-
getProperty
public List<AuditEventRecordPropertyType> getProperty()
-
createPropertyList
public List<AuditEventRecordPropertyType> createPropertyList()
-
getReference
public List<AuditEventRecordReferenceType> getReference()
-
createReferenceList
public List<AuditEventRecordReferenceType> createReferenceList()
-
getCustomColumnProperty
public List<AuditEventRecordCustomColumnPropertyType> getCustomColumnProperty()
-
createCustomColumnPropertyList
public List<AuditEventRecordCustomColumnPropertyType> createCustomColumnPropertyList()
-
getRepoId
public Long getRepoId()
-
setRepoId
public void setRepoId(Long value)
-
timestamp
public AuditEventRecordType timestamp(XMLGregorianCalendar value)
-
timestamp
public AuditEventRecordType timestamp(String value)
-
eventIdentifier
public AuditEventRecordType eventIdentifier(String value)
-
sessionIdentifier
public AuditEventRecordType sessionIdentifier(String value)
-
requestIdentifier
public AuditEventRecordType requestIdentifier(String value)
-
taskIdentifier
public AuditEventRecordType taskIdentifier(String value)
-
taskOID
public AuditEventRecordType taskOID(String value)
-
hostIdentifier
public AuditEventRecordType hostIdentifier(String value)
-
nodeIdentifier
public AuditEventRecordType nodeIdentifier(String value)
-
remoteHostAddress
public AuditEventRecordType remoteHostAddress(String value)
-
initiatorRef
public AuditEventRecordType initiatorRef(ObjectReferenceType value)
-
initiatorRef
public AuditEventRecordType initiatorRef(String oid, QName type)
-
initiatorRef
public AuditEventRecordType initiatorRef(String oid, QName type, QName relation)
-
beginInitiatorRef
public ObjectReferenceType beginInitiatorRef()
-
attorneyRef
public AuditEventRecordType attorneyRef(ObjectReferenceType value)
-
attorneyRef
public AuditEventRecordType attorneyRef(String oid, QName type)
-
attorneyRef
public AuditEventRecordType attorneyRef(String oid, QName type, QName relation)
-
beginAttorneyRef
public ObjectReferenceType beginAttorneyRef()
-
targetRef
public AuditEventRecordType targetRef(ObjectReferenceType value)
-
targetRef
public AuditEventRecordType targetRef(String oid, QName type)
-
targetRef
public AuditEventRecordType targetRef(String oid, QName type, QName relation)
-
beginTargetRef
public ObjectReferenceType beginTargetRef()
-
targetOwnerRef
public AuditEventRecordType targetOwnerRef(ObjectReferenceType value)
-
targetOwnerRef
public AuditEventRecordType targetOwnerRef(String oid, QName type)
-
targetOwnerRef
public AuditEventRecordType targetOwnerRef(String oid, QName type, QName relation)
-
beginTargetOwnerRef
public ObjectReferenceType beginTargetOwnerRef()
-
eventType
public AuditEventRecordType eventType(AuditEventTypeType value)
-
eventStage
public AuditEventRecordType eventStage(AuditEventStageType value)
-
delta
public AuditEventRecordType delta(ObjectDeltaOperationType value)
-
beginDelta
public ObjectDeltaOperationType beginDelta()
-
channel
public AuditEventRecordType channel(String value)
-
outcome
public AuditEventRecordType outcome(OperationResultStatusType value)
-
result
public AuditEventRecordType result(String value)
-
parameter
public AuditEventRecordType parameter(String value)
-
message
public AuditEventRecordType message(String value)
-
changedItem
public AuditEventRecordType changedItem(ItemPathType value)
-
beginChangedItem
public ItemPathType beginChangedItem()
-
property
public AuditEventRecordType property(AuditEventRecordPropertyType value)
-
beginProperty
public AuditEventRecordPropertyType beginProperty()
-
reference
public AuditEventRecordType reference(AuditEventRecordReferenceType value)
-
beginReference
public AuditEventRecordReferenceType beginReference()
-
resourceOid
public AuditEventRecordType resourceOid(String value)
-
customColumnProperty
public AuditEventRecordType customColumnProperty(AuditEventRecordCustomColumnPropertyType value)
-
beginCustomColumnProperty
public AuditEventRecordCustomColumnPropertyType beginCustomColumnProperty()
-
repoId
public AuditEventRecordType repoId(Long value)
-
clone
public AuditEventRecordType clone()
-
-