org.dcm4che2.audit.message
Class AuditMessageSupport

java.lang.Object
  extended by org.dcm4che2.audit.message.AuditMessage
      extended by org.dcm4che2.audit.message.AuditMessageSupport
Direct Known Subclasses:
HealthServicesProvisionEventMessage, InstancesAccessedMessage, MedicationEventMessage, OrderRecordMessage, PatientCareEpisodeMessage, PatientCareProtocolMessage, PatientCareResourceAssignmentMessage, PatientRecordMessage, ProcedureRecordMessage

public class AuditMessageSupport
extends AuditMessage


Field Summary
static AuditEvent.ActionCode CREATE
           
static AuditEvent.ActionCode DELETE
           
protected  java.lang.String name
           
static AuditEvent.ActionCode READ
           
static AuditEvent.ActionCode UPDATE
           
 
Fields inherited from class org.dcm4che2.audit.message.AuditMessage
activeParticipants, auditSources, event, participantObjects
 
Constructor Summary
protected AuditMessageSupport(AuditEvent.ID id, AuditEvent.ActionCode action)
           
 
Method Summary
protected  void addAttribute(java.lang.String name, byte[] val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.util.Date val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.lang.Object val, boolean optional)
           
 ParticipantObject addPatient(java.lang.String id, java.lang.String name)
           
 ActiveParticipant addUserPerson(java.lang.String userID, java.lang.String altUserID, java.lang.String userName, java.lang.String hostname, boolean requestor)
           
 ActiveParticipant addUserProcess(java.lang.String processID, java.lang.String[] aets, java.lang.String processName, java.lang.String hostname, boolean requestor)
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
protected  void outputChilds(java.io.Writer out, java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
           
 java.lang.String toString(int initialSize)
           
 void validate()
           
 
Methods inherited from class org.dcm4che2.audit.message.AuditMessage
addActiveParticipant, addAuditSource, addParticipantObject, aetsToAltUserID, aetToAltUserID, altUserIDToAETs, getActiveParticipants, getAuditEvent, getAuditSources, getLocalAETitles, getLocalHost, getLocalHostName, getLocalNodeID, getParticipantObjects, getProcessID, getProcessName, getRequestingActiveParticipants, hostNameOf, isAllowMultipleRequestors, isEmpty, isEnableDNSLookups, isIncludeXMLDeclaration, isQualifyHostname, isTimezonedDateTime, isUtcDateTime, nodeIDOf, output, outputContent, setAllowMultipleRequestors, setEnableDNSLookups, setEventDateTime, setIncludeXMLDeclaration, setLocalAETitles, setOutcomeIndicator, setProcessName, setQualifyHostname, setTimezonedDateTime, setUtcDateTime, toDateTimeStr, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE

public static final AuditEvent.ActionCode CREATE

READ

public static final AuditEvent.ActionCode READ

UPDATE

public static final AuditEvent.ActionCode UPDATE

DELETE

public static final AuditEvent.ActionCode DELETE

name

protected final java.lang.String name
Constructor Detail

AuditMessageSupport

protected AuditMessageSupport(AuditEvent.ID id,
                              AuditEvent.ActionCode action)
Method Detail

addUserPerson

public ActiveParticipant addUserPerson(java.lang.String userID,
                                       java.lang.String altUserID,
                                       java.lang.String userName,
                                       java.lang.String hostname,
                                       boolean requestor)

addUserProcess

public ActiveParticipant addUserProcess(java.lang.String processID,
                                        java.lang.String[] aets,
                                        java.lang.String processName,
                                        java.lang.String hostname,
                                        boolean requestor)

addPatient

public ParticipantObject addPatient(java.lang.String id,
                                    java.lang.String name)

validate

public void validate()
Overrides:
validate in class AuditMessage

addAttribute

protected void addAttribute(java.lang.String name,
                            java.lang.Object val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            java.util.Date val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            byte[] val,
                            boolean optional)

getAttribute

protected java.lang.Object getAttribute(java.lang.String name)

toString

public java.lang.String toString(int initialSize)

outputChilds

protected void outputChilds(java.io.Writer out,
                            java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.