Class AuditMessage

java.lang.Object
org.openehealth.ipf.commons.audit.model.AuditMessage
All Implemented Interfaces:
Serializable, Validateable

public class AuditMessage extends Object implements 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 Details

    • AuditMessage

      public AuditMessage()
  • Method Details

    • getActiveParticipants

      public List<ActiveParticipantType> getActiveParticipants()
    • findActiveParticipants

      public List<ActiveParticipantType> findActiveParticipants(Predicate<ActiveParticipantType> selector)
    • getParticipantObjectIdentifications

      public List<ParticipantObjectIdentificationType> 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:
      validate in interface Validateable
      Throws:
      AuditException - AuditException in case validation fails
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getEventIdentification

      public EventIdentificationType getEventIdentification()
    • setEventIdentification

      public void setEventIdentification(EventIdentificationType eventIdentification)
    • getAuditSourceIdentification

      public AuditSourceIdentificationType getAuditSourceIdentification()
    • setAuditSourceIdentification

      public void setAuditSourceIdentification(AuditSourceIdentificationType auditSourceIdentification)
    • isServerSide

      public boolean isServerSide()
    • setServerSide

      public void setServerSide(boolean serverSide)
    • getJwtDataSet

      public JwtDataSet 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

      public void setJwtDataSet(JwtDataSet jwtDataSet)
      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

      public String 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

      public void setRequestId(String requestId)
      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.