org.dcm4che2.audit.message
Class DataImportMessage

java.lang.Object
  extended by org.dcm4che2.audit.message.AuditMessage
      extended by org.dcm4che2.audit.message.DataImportMessage

public class DataImportMessage
extends AuditMessage

This message describes the event of importing data into a system, implying that the data now entering the system may not have been under the control of this security domain. An example of importing is reading data from removable media. Multiple patients may be described in one event message.

Since:
Nov 23, 2006
Version:
$Revision: 5685 $ $Date: 2008-01-15 21:05:18 +0100 (Tue, 15 Jan 2008) $
Author:
Gunter Zeilinger
See Also:
DICOM Supp 95: Audit Trail Messages, A.1.3.5 Data Import

Field Summary
protected  java.lang.String name
           
 
Fields inherited from class org.dcm4che2.audit.message.AuditMessage
activeParticipants, auditSources, event, participantObjects
 
Constructor Summary
DataImportMessage()
           
 
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)
           
 ActiveParticipant addImporterPerson(java.lang.String userID, java.lang.String altUserID, java.lang.String userName, java.lang.String hostname, boolean requestor)
           
 ActiveParticipant addImporterProcess(java.lang.String processID, java.lang.String[] aets, java.lang.String processName, java.lang.String hostname, boolean requestor)
           
 ParticipantObject addPatient(java.lang.String id, java.lang.String name)
           
 ActiveParticipant addSourceMedia(java.lang.String mediaID, java.lang.String mediaUID)
           
 ActiveParticipant addSourceMedia(java.lang.String userID, java.lang.String altUserID, java.lang.String userName, boolean requestor, java.lang.String hostname)
           
 ParticipantObject addStudy(java.lang.String uid, ParticipantObjectDescription desc)
           
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

name

protected final java.lang.String name
Constructor Detail

DataImportMessage

public DataImportMessage()
Method Detail

addImporterPerson

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

addImporterProcess

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

addSourceMedia

public ActiveParticipant addSourceMedia(java.lang.String mediaID,
                                        java.lang.String mediaUID)

addSourceMedia

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

addPatient

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

addStudy

public ParticipantObject addStudy(java.lang.String uid,
                                  ParticipantObjectDescription desc)

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.