Interface AuditConfDAO
-
- All Known Implementing Classes:
AbstractJPAJSONLoggerDAO
,ElasticsearchAuditConfDAO
,JPAAuditConfDAO
,MaJPAJSONAuditConfDAO
,MyJPAJSONAuditConfDAO
,OJPAJSONAuditConfDAO
,OpenSearchAuditConfDAO
,PGJPAJSONAuditConfDAO
public interface AuditConfDAO extends DAO<AuditConf>
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUDIT_ENTRY_EVENT_DATE_COLUMN
static String
AUDIT_ENTRY_MESSAGE_COLUMN
static String
AUDIT_ENTRY_TABLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
countEntries(String entityKey, AuditElements.EventCategoryType type, String category, String subcategory, List<String> events, AuditElements.Result result, OffsetDateTime before, OffsetDateTime after)
void
delete(AuditConf auditConf)
AuditConf
find(String key)
List<AuditConf>
findAll()
AuditConf
save(AuditConf auditConf)
List<AuditEntry>
searchEntries(String entityKey, int page, int itemsPerPage, AuditElements.EventCategoryType type, String category, String subcategory, List<String> events, AuditElements.Result result, OffsetDateTime before, OffsetDateTime after, List<OrderByClause> orderBy)
-
-
-
Field Detail
-
AUDIT_ENTRY_TABLE
static final String AUDIT_ENTRY_TABLE
- See Also:
- Constant Field Values
-
AUDIT_ENTRY_MESSAGE_COLUMN
static final String AUDIT_ENTRY_MESSAGE_COLUMN
- See Also:
- Constant Field Values
-
AUDIT_ENTRY_EVENT_DATE_COLUMN
static final String AUDIT_ENTRY_EVENT_DATE_COLUMN
- See Also:
- Constant Field Values
-
-
Method Detail
-
delete
void delete(AuditConf auditConf)
-
countEntries
int countEntries(String entityKey, AuditElements.EventCategoryType type, String category, String subcategory, List<String> events, AuditElements.Result result, OffsetDateTime before, OffsetDateTime after)
-
searchEntries
List<AuditEntry> searchEntries(String entityKey, int page, int itemsPerPage, AuditElements.EventCategoryType type, String category, String subcategory, List<String> events, AuditElements.Result result, OffsetDateTime before, OffsetDateTime after, List<OrderByClause> orderBy)
-
-