Interface AuditMessageBuilder<T extends AuditMessageBuilder<T>>
- All Superinterfaces:
Validateable
- All Known Implementing Classes:
ApplicationActivityBuilder,ApplicationActivityBuilder.ApplicationStart,ApplicationActivityBuilder.ApplicationStop,AuditLogUsedBuilder,BaseAuditMessageBuilder,BeginTransferringDicomInstancesBuilder,CustomAuditMessageBuilder,DataExportBuilder,DataImportBuilder,DelegatingAuditMessageBuilder,DicomInstancesAccessedBuilder,DicomInstancesTransferredBuilder,DicomStudyDeletedBuilder,NetworkEntryBuilder,NetworkEntryBuilder.EnteringNetwork,NetworkEntryBuilder.LeavingNetwork,OrderRecordBuilder,PatientRecordBuilder,ProcedureRecordBuilder,QueryBuilder,SecurityAlertBuilder,UserAuthenticationBuilder,UserAuthenticationBuilder.Login,UserAuthenticationBuilder.Logout
Base interface for building DICOM audit messages
- Since:
- 3.5
- Author:
- Christian Ohr
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuditMessage[]default TypeValuePairTypegetTypeValuePair(String type, byte[] value) Create and set a Type Value Pair instance for a given type and valuedefault TypeValuePairTypegetTypeValuePair(String type, byte[] value, byte[] defaultValue) Create and set a Type Value Pair instance for a given type and valuedefault TypeValuePairTypegetTypeValuePair(String type, Object value) Create and set a Type Value Pair instance for a given type and valuedefault TypeValuePairTypegetTypeValuePair(String type, Object value, String defaultValue) Create and set a Type Value Pair instance for a given type and valuedefault Tself()Methods inherited from interface org.openehealth.ipf.commons.audit.model.Validateable
validate
-
Method Details
-
getMessage
AuditMessage getMessage()- Returns:
- the audit message being built
-
getMessages
- Returns:
- the audit message being built as only element in an array
-
getTypeValuePair
Create and set a Type Value Pair instance for a given type and value- Parameters:
type- the type to setvalue- the value to set- Returns:
- the Type Value Pair instance
-
getTypeValuePair
Create and set a Type Value Pair instance for a given type and value- Parameters:
type- the type to setvalue- the value to set- Returns:
- the Type Value Pair instance
-
getTypeValuePair
Create and set a Type Value Pair instance for a given type and value- Parameters:
type- the type to setvalue- the value to setdefaultValue- the value to set if value is null- Returns:
- the Type Value Pair instance
-
getTypeValuePair
Create and set a Type Value Pair instance for a given type and value- Parameters:
type- the type to setvalue- the value to setdefaultValue- the value to set if value is null- Returns:
- the Type Value Pair instance
-
self
- Returns:
- this builder
-