public class OMRSAuditLogDestination extends Object
| Constructor and Description |
|---|
OMRSAuditLogDestination(List<OMRSAuditLogStore> auditLogStores) |
OMRSAuditLogDestination(String localServerName,
String localServerType,
String localOrganizationName,
List<OMRSAuditLogStore> auditLogStores)
Initialize the static values used in all log records.
|
| Modifier and Type | Method and Description |
|---|---|
void |
logRecord(OMRSAuditLogReportingComponent reportingComponent,
String actionDescription,
String logMessageId,
OMRSAuditLogRecordSeverity severity,
String logMessage,
String additionalInformation,
String systemAction,
String userAction)
Log an audit log record for an event, decision, error, or exception detected by the OMRS.
|
void |
setLocalMetadataCollectionId(String localMetadataCollectionId)
Set up the local metadata collection Id.
|
public OMRSAuditLogDestination(List<OMRSAuditLogStore> auditLogStores)
public OMRSAuditLogDestination(String localServerName, String localServerType, String localOrganizationName, List<OMRSAuditLogStore> auditLogStores)
localServerName - name of the local serverlocalServerType - type of the local serverlocalOrganizationName - name of the organization that owns the local serverauditLogStores - list of destinations for the audit log recordspublic void setLocalMetadataCollectionId(String localMetadataCollectionId)
localMetadataCollectionId - String unique identifier for the metadata collectionpublic void logRecord(OMRSAuditLogReportingComponent reportingComponent, String actionDescription, String logMessageId, OMRSAuditLogRecordSeverity severity, String logMessage, String additionalInformation, String systemAction, String userAction)
reportingComponent - component that sent the log recordactionDescription - description of the activity creating the audit log recordlogMessageId - id for the audit log recordseverity - is this an event, decision, error or exception?logMessage - description of the audit log record including specific resources involvedadditionalInformation - additional data to help resolve issues of verify behaviorsystemAction - the related action taken by the OMRS.userAction - details of any action that an administrator needs to take.Copyright © 2018–2019 ODPi. All rights reserved.