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 spaceId)
Returns a list of matching log events for the specified space across providers
|
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
- AuditLogWriteFailedException
Iterator<AuditLogItem> getLogItems(String account, String spaceId)
account
- spaceId
- Iterator<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
- NotFoundException
void updateProperties(AuditLogItem item, String properties) throws AuditLogWriteFailedException
item
- properties
- AuditLogWriteFailedException
Copyright © 2009–2014 DuraSpace. All rights reserved.