org.dcm4che2.audit.message
Class AuditEvent.TypeCode

java.lang.Object
  extended by org.dcm4che2.audit.message.CodeElement
      extended by org.dcm4che2.audit.message.AuditEvent.TypeCode
Enclosing class:
AuditEvent

public static class AuditEvent.TypeCode
extends CodeElement

Identifier for the category of event.

Extended by DICOM defining a list of event type codes.


Field Summary
static AuditEvent.TypeCode APPLICATION_START
          Application Start.
static AuditEvent.TypeCode APPLICATION_STOP
           
static AuditEvent.TypeCode ATTACH
           
static AuditEvent.TypeCode AUDIT_RECORDING_STARTED
           
static AuditEvent.TypeCode AUDIT_RECORDING_STOPPED
           
static AuditEvent.TypeCode DETACH
           
static AuditEvent.TypeCode EMERGENCY_OVERRIDE_STARTED
           
static AuditEvent.TypeCode EMERGENCY_OVERRIDE_STOPPED
           
static AuditEvent.TypeCode HARDWARE_CONFIGURATION
           
static AuditEvent.TypeCode LOCAL_SERVICE_OPERATION_STARTED
           
static AuditEvent.TypeCode LOCAL_SERVICE_OPERATION_STOPPED
           
static AuditEvent.TypeCode LOGIN
           
static AuditEvent.TypeCode LOGOUT
           
protected  java.lang.String name
           
static AuditEvent.TypeCode NETWORK_CONFIGURATION
           
static AuditEvent.TypeCode NODE_AUTHENTICATION
           
static AuditEvent.TypeCode OBJECT_SECURITY_ATTRIBUTES_CHANGED
           
static AuditEvent.TypeCode REMOTE_SERVICE_OPERATION_STARTED
           
static AuditEvent.TypeCode REMOTE_SERVICE_OPERATION_STOPPED
           
static AuditEvent.TypeCode SECURITY_CONFIGURATION
           
static AuditEvent.TypeCode SECURITY_ROLES_CHANGED
           
static AuditEvent.TypeCode SOFTWARE_CONFIGURATION
           
static AuditEvent.TypeCode USE_OF_RESTRICTED_FUNCTION
           
static AuditEvent.TypeCode USER_SECURITY_ATTRIBUTES_CHANGED
           
 
Constructor Summary
AuditEvent.TypeCode(java.lang.String code)
           
AuditEvent.TypeCode(java.lang.String code, java.lang.String codeSystemName, java.lang.String displayName)
           
 
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)
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
protected  boolean isEmpty()
           
 void output(java.io.Writer out)
           
protected  void outputChilds(java.io.Writer out, java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
           
protected  void outputContent(java.io.Writer out)
          Allows subclasses to write content to the output.
 java.lang.String toString()
           
 java.lang.String toString(int initialSize)
           
 
Methods inherited from class org.dcm4che2.audit.message.CodeElement
getCode, getCodeSystem, getCodeSystemName, getDisplayName, getOriginalText, setCodeSystem, setCodeSystemName, setDisplayName, setOriginalText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICATION_START

public static final AuditEvent.TypeCode APPLICATION_START
Application Start.


APPLICATION_STOP

public static final AuditEvent.TypeCode APPLICATION_STOP

LOGIN

public static final AuditEvent.TypeCode LOGIN

LOGOUT

public static final AuditEvent.TypeCode LOGOUT

ATTACH

public static final AuditEvent.TypeCode ATTACH

DETACH

public static final AuditEvent.TypeCode DETACH

NODE_AUTHENTICATION

public static final AuditEvent.TypeCode NODE_AUTHENTICATION

EMERGENCY_OVERRIDE_STARTED

public static final AuditEvent.TypeCode EMERGENCY_OVERRIDE_STARTED

NETWORK_CONFIGURATION

public static final AuditEvent.TypeCode NETWORK_CONFIGURATION

SECURITY_CONFIGURATION

public static final AuditEvent.TypeCode SECURITY_CONFIGURATION

HARDWARE_CONFIGURATION

public static final AuditEvent.TypeCode HARDWARE_CONFIGURATION

SOFTWARE_CONFIGURATION

public static final AuditEvent.TypeCode SOFTWARE_CONFIGURATION

USE_OF_RESTRICTED_FUNCTION

public static final AuditEvent.TypeCode USE_OF_RESTRICTED_FUNCTION

AUDIT_RECORDING_STOPPED

public static final AuditEvent.TypeCode AUDIT_RECORDING_STOPPED

AUDIT_RECORDING_STARTED

public static final AuditEvent.TypeCode AUDIT_RECORDING_STARTED

OBJECT_SECURITY_ATTRIBUTES_CHANGED

public static final AuditEvent.TypeCode OBJECT_SECURITY_ATTRIBUTES_CHANGED

SECURITY_ROLES_CHANGED

public static final AuditEvent.TypeCode SECURITY_ROLES_CHANGED

USER_SECURITY_ATTRIBUTES_CHANGED

public static final AuditEvent.TypeCode USER_SECURITY_ATTRIBUTES_CHANGED

EMERGENCY_OVERRIDE_STOPPED

public static final AuditEvent.TypeCode EMERGENCY_OVERRIDE_STOPPED

REMOTE_SERVICE_OPERATION_STARTED

public static final AuditEvent.TypeCode REMOTE_SERVICE_OPERATION_STARTED

REMOTE_SERVICE_OPERATION_STOPPED

public static final AuditEvent.TypeCode REMOTE_SERVICE_OPERATION_STOPPED

LOCAL_SERVICE_OPERATION_STARTED

public static final AuditEvent.TypeCode LOCAL_SERVICE_OPERATION_STARTED

LOCAL_SERVICE_OPERATION_STOPPED

public static final AuditEvent.TypeCode LOCAL_SERVICE_OPERATION_STOPPED

name

protected final java.lang.String name
Constructor Detail

AuditEvent.TypeCode

public AuditEvent.TypeCode(java.lang.String code)

AuditEvent.TypeCode

public AuditEvent.TypeCode(java.lang.String code,
                           java.lang.String codeSystemName,
                           java.lang.String displayName)
Method Detail

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)

output

public void output(java.io.Writer out)
            throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int initialSize)

isEmpty

protected boolean isEmpty()

outputContent

protected void outputContent(java.io.Writer out)
                      throws java.io.IOException
Allows subclasses to write content to the output. Note to implementers: isEmpty() should also be overridden to return false, otherwise this method will not be called.

Parameters:
out - the writer to write the output to.
Throws:
java.io.IOException - thrown by derived classes if an error occurs.

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.