public class ApplicationActivityBuilder<T extends ApplicationActivityBuilder<T>> extends BaseAuditMessageBuilder<T>
This audit message describes the event of an Application Entity starting or stopping. This is closely related to the more general case of any kind of application startup or shutdown, and may be suitable for those purposes also.
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationActivityBuilder.ApplicationStart |
static class |
ApplicationActivityBuilder.ApplicationStop |
Constructor and Description |
---|
ApplicationActivityBuilder(EventOutcomeIndicator outcome,
EventType type) |
ApplicationActivityBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription,
EventType type) |
Modifier and Type | Method and Description |
---|---|
T |
addApplicationStarterParticipant(String userId)
Add an Application Starter Active Participant to this message.
|
T |
addApplicationStarterParticipant(String userId,
String altUserId,
String userName,
String networkId)
Add an Application Starter Active Participant to this message.
|
T |
setApplicationParticipant(String userId,
String altUserId,
String userName,
String networkId)
Add an Application Participant to this message.
|
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 ApplicationActivityBuilder(EventOutcomeIndicator outcome, EventType type)
public ApplicationActivityBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventType type)
public T addApplicationStarterParticipant(String userId)
userId
- The person or process starting or stopping the Applicationpublic T addApplicationStarterParticipant(String userId, String altUserId, String userName, String networkId)
userId
- The person or process starting or stopping the ApplicationaltUserId
- The Active Participant's Alternate UserIDuserName
- The Active Participant's UserNamenetworkId
- The Active Participant's Network Access Point IDpublic T setApplicationParticipant(String userId, String altUserId, String userName, String networkId)
userId
- The identity of the process started or stopped formatted as specified in A.5.2.1.altUserId
- If the process supports DICOM, then the AE Titles as specified in A.5.2.2.userName
- The Active Participant's UserNamenetworkId
- The Active Participant's Network Access Point IDpublic void validate()
Validateable
validate
in interface Validateable
validate
in class BaseAuditMessageBuilder<T extends ApplicationActivityBuilder<T>>
Copyright © 2018 Open eHealth Foundation. All rights reserved.