mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added key-value audit query
- Currently supports lookups on string values (RM use-case) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16133 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -346,10 +346,20 @@ public abstract class AbstractAuditDAOImpl implements AuditDAO
|
||||
String applicationName, String user, Long from, Long to, int maxResults)
|
||||
{
|
||||
AuditQueryRowHandler rowHandler = new AuditQueryRowHandler(callback);
|
||||
findAuditEntries(rowHandler, applicationName, user, from, to, maxResults);
|
||||
findAuditEntries(rowHandler, applicationName, user, from, to, maxResults, null, null);
|
||||
}
|
||||
|
||||
public void findAuditEntries(
|
||||
AuditQueryCallback callback,
|
||||
String applicationName, String user, Long from, Long to, int maxResults,
|
||||
String searchKey, String searchString)
|
||||
{
|
||||
AuditQueryRowHandler rowHandler = new AuditQueryRowHandler(callback);
|
||||
findAuditEntries(rowHandler, applicationName, user, from, to, maxResults, searchKey, searchString);
|
||||
}
|
||||
|
||||
protected abstract void findAuditEntries(
|
||||
AuditQueryRowHandler rowHandler,
|
||||
String applicationName, String user, Long from, Long to, int maxResults);
|
||||
String applicationName, String user, Long from, Long to, int maxResults,
|
||||
String searchKey, String searchString);
|
||||
}
|
||||
|
Reference in New Issue
Block a user