Class AuditMessage
java.lang.Object
org.openehealth.ipf.commons.audit.model.AuditMessage
- All Implemented Interfaces:
Serializable, Validateable
DICOM AuditMessage basis type. AuditMessage instances should always be built using
BaseAuditMessageBuilder subclasses to
ensure compliance with the specification.- Since:
- 3.5
- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanfindActiveParticipants(Predicate<ActiveParticipantType> selector) Claims of the access token the audited request carried, if any.Id correlating the audit records that the two ends of a transaction write about it.inthashCode()booleanvoidsetAuditSourceIdentification(AuditSourceIdentificationType auditSourceIdentification) voidsetEventIdentification(EventIdentificationType eventIdentification) voidsetJwtDataSet(JwtDataSet jwtDataSet) Claims of the access token the audited request carried, if any.voidsetRequestId(String requestId) Id correlating the audit records that the two ends of a transaction write about it.voidsetServerSide(boolean serverSide) toString()voidvalidate()Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.
-
Constructor Details
-
AuditMessage
public AuditMessage()
-
-
Method Details
-
getActiveParticipants
-
findActiveParticipants
public List<ActiveParticipantType> findActiveParticipants(Predicate<ActiveParticipantType> selector) -
getParticipantObjectIdentifications
-
findParticipantObjectIdentifications
public List<ParticipantObjectIdentificationType> findParticipantObjectIdentifications(Predicate<ParticipantObjectIdentificationType> selector) -
validate
public void validate()Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.- Specified by:
validatein interfaceValidateable- Throws:
AuditException- AuditException in case validation fails
-
toString
-
equals
-
canEqual
-
hashCode
-
getEventIdentification
-
setEventIdentification
-
getAuditSourceIdentification
-
setAuditSourceIdentification
-
isServerSide
public boolean isServerSide() -
setServerSide
public void setServerSide(boolean serverSide) -
getJwtDataSet
Claims of the access token the audited request carried, if any. Kept alongside the participants they were encoded into, so that a serialization strategy can map from the claims directly. -
setJwtDataSet
Claims of the access token the audited request carried, if any. Kept alongside the participants they were encoded into, so that a serialization strategy can map from the claims directly. -
getRequestId
Id correlating the audit records that the two ends of a transaction write about it. Kept alongside the participant object it was encoded into, because which participant object that is depends on the profile that asked for the correlation, while the value does not. -
setRequestId
Id correlating the audit records that the two ends of a transaction write about it. Kept alongside the participant object it was encoded into, because which participant object that is depends on the profile that asked for the correlation, while the value does not.
-