ALF-4106: Added entry deletion count return value for clear()

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2010-08-31 20:05:41 +00:00
parent 10da961097
commit 59b797c8fc
6 changed files with 21 additions and 14 deletions

View File

@@ -160,10 +160,11 @@ public interface AuditDAO
* @param applicationId and existing audit application ID
* @param from the minimum entry time (inclusive, optional)
* @param to the maximum entry time (exclusive, optional)
* @return Returns the number of entries deleted
*
* @since 3.2
*/
void deleteAuditEntries(Long applicationId, Long from, Long to);
int deleteAuditEntries(Long applicationId, Long from, Long to);
/**
* Create a new audit entry with the given map of values.