com.atlassian.greenhopper.manager.audit
Interface AuditEntryManager

All Known Implementing Classes:
AuditEntryManagerImpl

public interface AuditEntryManager

For persisting records that log information about certain aspects of the system for future use and auditing, for example when a user closes a sprint this is logged using this manager.


Method Summary
 java.util.List<AuditEntry> getByEntityIdEntityClassAndCategory(java.lang.Long id, java.lang.String entityClass, java.lang.String category)
          Retrieve all AuditEntry records A such that:
A.id == id && A.entityClass == entityClass && A.category == category
 java.util.List<AuditEntry> list()
          Retrieve all AuditEntry records currently stored in the DB as a list
 AuditEntry save(AuditEntry entry)
          Persist a new AuditEntry record
 

Method Detail

save

AuditEntry save(AuditEntry entry)
Persist a new AuditEntry record


list

java.util.List<AuditEntry> list()
Retrieve all AuditEntry records currently stored in the DB as a list


getByEntityIdEntityClassAndCategory

java.util.List<AuditEntry> getByEntityIdEntityClassAndCategory(java.lang.Long id,
                                                               java.lang.String entityClass,
                                                               java.lang.String category)
Retrieve all AuditEntry records A such that:
A.id == id && A.entityClass == entityClass && A.category == category



Copyright © 2007-2014 Atlassian. All Rights Reserved.