public class AuditLogStoreImpl extends Object implements AuditLogStore
Constructor and Description |
---|
AuditLogStoreImpl(String auditLogSpaceId,
String auditLogPrefix,
long auditLogSizeLimit) |
Modifier and Type | Method and Description |
---|---|
protected File |
getLogFile(String spaceId)
This method is 'protected' for testing access.
|
void |
initialize(ContentStore contentStore)
This method ingests the underlying ContentStore
|
Iterator<String> |
logs(String spaceId)
This method returns the contentIds of all audit logs associated with
the arg spaceId.
|
void |
removeLog(String logContentId)
This method removes the log with the arg contentId
|
void |
write(List<ContentMessage> events)
This method writes the arg events to the audit log.
|
public void initialize(ContentStore contentStore)
AuditLogStore
initialize
in interface AuditLogStore
contentStore
- of auditorpublic Iterator<String> logs(String spaceId)
AuditLogStore
logs
in interface AuditLogStore
spaceId
- of space that was auditedpublic void removeLog(String logContentId)
AuditLogStore
removeLog
in interface AuditLogStore
logContentId
- of log to removepublic void write(List<ContentMessage> events)
AuditLogStore
write
in interface AuditLogStore
events
- to be loggedCopyright © 2009-2013 DuraSpace. All Rights Reserved.