mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -161,13 +161,13 @@ public class AuditDAOImpl extends AbstractAuditDAOImpl
|
||||
return updateEntity;
|
||||
}
|
||||
|
||||
public void deleteAuditEntries(Long applicationId, Long from, Long to)
|
||||
public int deleteAuditEntries(Long applicationId, Long from, Long to)
|
||||
{
|
||||
AuditDeleteParameters params = new AuditDeleteParameters();
|
||||
params.setAuditApplicationId(applicationId);
|
||||
params.setAuditFromTime(from);
|
||||
params.setAuditToTime(to);
|
||||
template.delete(DELETE_ENTRIES, params);
|
||||
return template.delete(DELETE_ENTRIES, params);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user