Wired up RM node-based audit results

- Fixed up some file formatting
 - Added List-based audit results for RM


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-09-08 15:08:02 +00:00
parent efb73c6e4c
commit d2be2015e4
8 changed files with 96 additions and 13 deletions

View File

@@ -966,4 +966,28 @@ public class AuditComponentImpl implements AuditComponent
auditDAO.findAuditEntries(callback, applicationName, user, from, to, maxResults);
}
/**
* {@inheritDoc}
*/
public void auditQuery(
AuditQueryCallback callback,
String applicationName,
String user,
Long from,
Long to,
String searchKey, String searchString,
int maxResults)
{
ParameterCheck.mandatory("callback", callback);
// Shortcuts
if (from != null && to != null && from.compareTo(to) > 0)
{
// Time range can't yield results
return;
}
auditDAO.findAuditEntries(callback, applicationName, user, from, to, searchKey, searchString, maxResults);
}
}