Package fr.becpg.repo.audit.service
Interface BeCPGAuditService
- All Known Implementing Classes:
BeCPGAuditServiceImpl
public interface BeCPGAuditService
BeCPGAuditService interface.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteAuditEntry(AuditType auditType, String filterKey, String filterValue) Complete the entry left open by an operation recorded on start, the one matching the given filter.voiddeleteAuditEntries(AuditType type, Long fromId, Long toId) deleteAuditEntries.List<org.json.JSONObject> listAuditEntries(AuditType type, AuditQuery auditFilter) listAuditEntries.listAuditPage(AuditType type, AuditQuery auditFilter) listAuditPage.startAudit(AuditType auditType) startAudit.startAudit(AuditType auditType, Class<?> auditClass, String scopeName) startAudit.
-
Method Details
-
listAuditEntries
listAuditEntries.
- Parameters:
type- aAuditTypeobjectauditFilter- aAuditQueryobject- Returns:
- a
Listobject
-
listAuditPage
listAuditPage.
Read one page of audit entries by keyset paging, so that the database only ever walks through a bounded window of entry identifiers.- Parameters:
type- aAuditTypeobjectauditFilter- aAuditQueryobject- Returns:
- a
AuditPageobject
-
startAudit
startAudit.
- Parameters:
auditType- aAuditTypeobject- Returns:
- a
AuditScopeobject
-
startAudit
startAudit.
- Parameters:
auditType- aAuditTypeobjectauditClass- aClassobjectscopeName- aStringobject- Returns:
- a
AuditScopeobject
-
completeAuditEntry
Complete the entry left open by an operation recorded on start, the one matching the given filter.- Parameters:
auditType- aAuditTypeobjectfilterKey- the audit key correlating the entry to the completed operationfilterValue- the value of that key
-
deleteAuditEntries
deleteAuditEntries.
-