public class JpaAuditLogStore extends Object implements AuditLogStore
| Constructor and Description |
|---|
JpaAuditLogStore(JpaAuditLogItemRepo auditLogRepo) |
| Modifier and Type | Method and Description |
|---|---|
AuditLogItem |
getLatestLogItem(String account,
String storeId,
String spaceId,
String contentId) |
Iterator<AuditLogItem> |
getLogItems(String account,
String storeId,
String spaceId,
String contentId) |
void |
updateProperties(AuditLogItem item,
String properties) |
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) |
@Autowired public JpaAuditLogStore(JpaAuditLogItemRepo auditLogRepo)
@Transactional(value="millJpaRepoTransactionManager",
propagation=REQUIRES_NEW)
public 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
write in interface AuditLogStoreAuditLogWriteFailedException@Transactional(value="millJpaRepoTransactionManager",
readOnly=true)
public Iterator<AuditLogItem> getLogItems(String account,
String storeId,
String spaceId,
String contentId)
getLogItems in interface AuditLogStore@Transactional(value="millJpaRepoTransactionManager",
readOnly=true)
public AuditLogItem getLatestLogItem(String account,
String storeId,
String spaceId,
String contentId)
throws org.duracloud.error.NotFoundException
getLatestLogItem in interface AuditLogStoreorg.duracloud.error.NotFoundException@Transactional(value="millJpaRepoTransactionManager",
propagation=REQUIRES_NEW)
public void updateProperties(AuditLogItem item,
String properties)
throws AuditLogWriteFailedException
updateProperties in interface AuditLogStoreAuditLogWriteFailedExceptionCopyright © 2009–2015 DuraSpace. All rights reserved.