org.dcm4che2.audit.message
Class InstancesTransferredMessage

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

public class InstancesTransferredMessage
extends AuditMessage

This message describes the event of the completion of transferring DICOM SOP Instances between two Application Entities. This message may only include information about a single patient.

Note: This message may have been preceded by a Begin Transferring Instances message. The Begin Transferring Instances message conveys the intent to store SOP Instances, while the InstancesTransferredMessage records the completion of the transfer. Any disagreement between the two messages might indicate a potential security breach.

Since:
Nov 23, 2006
Version:
$Revision: 778 $ $Date: 2007-03-01 14:58:20 +0100 (Thu, 01 Mar 2007) $
Author:
Gunter Zeilinger
See Also:
BeginTransferringMessage, DICOM Supp 95: Audit Trail Messages, A.1.3.7 DICOM Instances Transferred

Field Summary
static AuditEvent.ActionCode CREATE
           
static AuditEvent.ActionCode EXECUTE
           
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
InstancesTransferredMessage(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)
           
 ActiveParticipant addDestinationProcess(java.lang.String processID, java.lang.String[] aets, java.lang.String processName, java.lang.String hostname, boolean requestor)
           
 ActiveParticipant addOtherParticipantPerson(java.lang.String userID, java.lang.String altUserID, java.lang.String userName, java.lang.String hostname, boolean requestor)
           
 ActiveParticipant addOtherParticipantProcess(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 addSourceProcess(java.lang.String processID, java.lang.String[] aets, java.lang.String processName, java.lang.String hostname, boolean requestor)
           
 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

CREATE

public static final AuditEvent.ActionCode CREATE

READ

public static final AuditEvent.ActionCode READ

UPDATE

public static final AuditEvent.ActionCode UPDATE

EXECUTE

public static final AuditEvent.ActionCode EXECUTE

name

protected final java.lang.String name
Constructor Detail

InstancesTransferredMessage

public InstancesTransferredMessage(AuditEvent.ActionCode action)
Method Detail

addSourceProcess

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

addDestinationProcess

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

addOtherParticipantPerson

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

addOtherParticipantProcess

public ActiveParticipant addOtherParticipantProcess(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)

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.