public class AuditorImpl extends Object implements LocalAuditor
Constructor and Description |
---|
AuditorImpl(AuditListener listener,
AuditLogStore logStore) |
Modifier and Type | Method and Description |
---|---|
void |
createInitialAuditLogs(boolean async)
This methods puts all stores in a single audit log.
|
List<String> |
getAuditLogs(String spaceId)
This method returns the chronologically sorted list of audit logs for the
arg space.
|
void |
initialize(ContentStoreManager storeManager)
This method initializes the Auditor by providing a handle to the content
store.
|
void |
stop()
This method stops the work of the Auditor.
|
public AuditorImpl(AuditListener listener, AuditLogStore logStore)
public void initialize(ContentStoreManager storeManager)
LocalAuditor
initialize
in interface LocalAuditor
storeManager
- storage managerpublic void createInitialAuditLogs(boolean async)
createInitialAuditLogs
in interface Auditor
async
- true if executing asynchronouslypublic void stop()
Auditor
public List<String> getAuditLogs(String spaceId) throws AuditLogNotFoundException
Auditor
getAuditLogs
in interface Auditor
spaceId
- of the space over which auditing is requestedAuditLogNotFoundException
Copyright © 2009-2013 DuraSpace. All Rights Reserved.