org.dcm4che2.audit.message
Class QueryMessage
java.lang.Object
org.dcm4che2.audit.message.AuditMessage
org.dcm4che2.audit.message.QueryMessage
public class QueryMessage
- extends AuditMessage
This message describes the event of a Query being issued or received.
The message does not record the response to the query, but merely
records the fact that a query was issued. For example, this would report
queries using the DICOM SOP Classes:
- Modality Worklist
- General Purpose Worklist
- Composite Instance Query
Notes:
- The response to a query may result in one or more Instances Transferred
or Instances Accessed messages, depending on what events transpire after the
query. If there were security-related failures, such as access violations,
when processing a query, those failures should show up in other audit
messages, such as a Security Alert message.
- Non-DICOM queries may also be captured by this message. The Participant
Object ID Type Code, the Participant Object ID, and the Query fields may
have values related to such non-DICOM queries.
- Since:
- Nov 23, 2006
- Version:
- $Revision: 5724 $ $Date: 2008-01-21 12:56:19 +0100 (Mon, 21 Jan 2008) $
- Author:
- Gunter Zeilinger
- See Also:
-
DICOM Supp 95: Audit Trail Messages, A.1.3.13 Query
Field Summary |
protected java.lang.String |
name
|
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 |
addQuerySOPClass(java.lang.String cuid,
java.lang.String tsuid,
byte[] query)
|
ActiveParticipant |
addSourceProcess(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 |
name
protected final java.lang.String name
QueryMessage
public QueryMessage()
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)
addQuerySOPClass
public ParticipantObject addQuerySOPClass(java.lang.String cuid,
java.lang.String tsuid,
byte[] query)
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.