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)
AuditLogStoreinitialize in interface AuditLogStorecontentStore - of auditorpublic Iterator<String> logs(String spaceId)
AuditLogStorelogs in interface AuditLogStorespaceId - of space that was auditedpublic void removeLog(String logContentId)
AuditLogStoreremoveLog in interface AuditLogStorelogContentId - of log to removepublic void write(List<ContentMessage> events)
AuditLogStorewrite in interface AuditLogStoreevents - to be loggedCopyright © 2009-2013 DuraSpace. All Rights Reserved.