mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user