public class AuditLogUsedBuilder extends BaseAuditMessageBuilder<AuditLogUsedBuilder>
This message describes the event of a person or process reading a log of audit trail information.
Constructor and Description |
---|
AuditLogUsedBuilder(EventOutcomeIndicator outcome) |
AuditLogUsedBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription) |
Modifier and Type | Method and Description |
---|---|
AuditLogUsedBuilder |
addAccessingParticipant(String userId,
String altUserId,
String userName,
boolean userIsRequestor,
String networkId)
Adds the Active Participant of the User or System that accessed the log
|
AuditLogUsedBuilder |
addAuditLogIdentity(String auditLogUri)
Adds the Participant Object representing the audit log accessed
|
void |
validate()
Validates the constructed audit message against the specification, because API does not completely
prevent constructing incomplete or inconsistent messages.
|
addActiveParticipant, addActiveParticipant, addActiveParticipant, addDestinationActiveParticipant, addParticipantObjectIdentification, addParticipantObjectIdentification, addPatientParticipantObject, addSourceActiveParticipant, addStudyParticipantObject, getMessage, getNetworkAccessPointCodeFromAddress, getTypeValuePair, setAuditSource, setAuditSource, setAuditSource, setAuditSource, setAuditSourceIdentification, setAuditSourceIdentification, setAuditSourceIdentification, setEventIdentification, setEventIdentification
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, self
public AuditLogUsedBuilder(EventOutcomeIndicator outcome)
public AuditLogUsedBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription)
public AuditLogUsedBuilder addAccessingParticipant(String userId, String altUserId, String userName, boolean userIsRequestor, String networkId)
userId
- The person or process accessing the audit trail. If both are known,
then two active participants shall be included (both the person and the process).altUserId
- The Active Participant's Alternate UserIDuserName
- The Active Participant's UserNamenetworkId
- The Active Participant's Network Access Point IDpublic AuditLogUsedBuilder addAuditLogIdentity(String auditLogUri)
auditLogUri
- The URI of the audit log that was accessedpublic void validate()
Validateable
validate
in interface Validateable
validate
in class BaseAuditMessageBuilder<AuditLogUsedBuilder>
Copyright © 2018 Open eHealth Foundation. All rights reserved.