public interface AuditLogStore
| Modifier and Type | Method and Description |
|---|---|
AuditLogItem |
getLatestLogItem(String account,
String storeId,
String spaceId,
String contentId)
Retrieves log history for a content item in chronological order
|
Iterator<AuditLogItem> |
getLogItems(String account,
String storeId,
String spaceId,
String contentId)
Retrieves log history for a content item.
|
void |
updateProperties(AuditLogItem item,
String properties)
Adds the following properties to the specified item.
|
void |
write(String account,
String storeId,
String spaceId,
String contentId,
String contentMd5,
String mimetype,
String contentSize,
String user,
String action,
String properties,
String spaceAcls,
String sourceSpaceId,
String sourceContentId,
Date timestamp)
This method writes the logItem to the audit log.
|
void write(String account, String storeId, String spaceId, String contentId, String contentMd5, String mimetype, String contentSize, String user, String action, String properties, String spaceAcls, String sourceSpaceId, String sourceContentId, Date timestamp) throws AuditLogWriteFailedException
account - storeId - spaceId - contentId - contentMd5 - mimetype - contentSize - user - action - properties - spaceAcls - timestamp - AuditLogWriteFailedExceptionIterator<AuditLogItem> getLogItems(String account, String storeId, String spaceId, String contentId)
account - storeId - spaceId - contentId - AuditLogItem getLatestLogItem(String account, String storeId, String spaceId, String contentId) throws NotFoundException
account - storeId - spaceId - contentId - NotFoundExceptionvoid updateProperties(AuditLogItem item, String properties) throws AuditLogWriteFailedException
item - properties - AuditLogWriteFailedExceptionCopyright © 2015–2016 DuraSpace. All rights reserved.