public class AuditLogReaderImpl extends Object implements AuditLogReader
Constructor and Description |
---|
AuditLogReaderImpl() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getAuditLog(String account,
String storeId,
String spaceId)
Returns the audit log as a tsv stream of audit events from first to last.
|
protected StorageProvider |
getStorageProvider() |
void |
initialize(AuditConfig auditConfig) |
protected void |
writeToOutputStream(String auditSpaceId,
StorageProvider storageProvider,
PipedOutputStream os,
int count,
String contentId) |
public void initialize(AuditConfig auditConfig)
initialize
in interface AuditLogReader
public InputStream getAuditLog(String account, String storeId, String spaceId) throws AuditLogReaderException
AuditLogReader
getAuditLog
in interface AuditLogReader
account
- The account identifier - ie usually the subdomain of the original request.AuditLogReaderException
protected StorageProvider getStorageProvider()
protected void writeToOutputStream(String auditSpaceId, StorageProvider storageProvider, PipedOutputStream os, int count, String contentId) throws ContentStoreException, IOException
ContentStoreException
IOException
Copyright © 2009–2015 DuraSpace. All rights reserved.