Package | Description |
---|---|
org.adroitlogic.x.feature.audit.api |
This package contains the AuditFeature API class
|
org.adroitlogic.x.feature.audit.impl |
This package contains the
AuditFeature implementation class,
AuditLog , FileAuditTemplate
and DatabaseAuditTemplate model/template classes for audit logs,
TemplateEntry audit template entry class. |
Modifier and Type | Method and Description |
---|---|
DatabaseAuditTemplate |
AuditFeature.createDatabaseAuditTemplate(AuditFeature.AuditSeverity auditSeverity,
String requestedAuditFields,
String auditSubject,
String auditMessage)
Creates a
DatabaseAuditTemplate using the given parameters. |
Modifier and Type | Method and Description |
---|---|
int |
AuditFeature.auditLogToDatabase(DatabaseAuditTemplate databaseAuditTemplate,
org.adroitlogic.x.api.XMessageContext xMessageContext,
DataSource dataSource,
String tableName)
Inserts audit logs to the given database table with a schema represented by
databaseAuditTemplate . |
CompletableFuture<Integer> |
AuditFeature.auditLogToDatabaseAsync(DatabaseAuditTemplate databaseAuditTemplate,
org.adroitlogic.x.api.XMessageContext xMessageContext,
DataSource dataSource,
String tableName)
Async operation for inserting audit logs to the given database table with a schema represented by
databaseAuditTemplate . |
Modifier and Type | Method and Description |
---|---|
DatabaseAuditTemplate |
AuditFeatureImpl.createDatabaseAuditTemplate(AuditFeature.AuditSeverity auditSeverity,
String requestedAuditFields,
String auditSubject,
String auditMessage) |
Modifier and Type | Method and Description |
---|---|
int |
AuditFeatureImpl.auditLogToDatabase(DatabaseAuditTemplate databaseAuditTemplate,
org.adroitlogic.x.api.XMessageContext xMessageContext,
DataSource dataSource,
String tableName) |
CompletableFuture<Integer> |
AuditFeatureImpl.auditLogToDatabaseAsync(DatabaseAuditTemplate databaseAuditTemplate,
org.adroitlogic.x.api.XMessageContext xMessageContext,
DataSource dataSource,
String tableName) |
Copyright © 2016–2019 AdroitLogic. All rights reserved.