mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137908 anechifor: REPO-2619 - adding implementation of listAuditEntries git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -187,7 +187,7 @@ public class AuditImpl implements Audit
|
||||
// Parse where clause properties.
|
||||
List<AuditEntry> entriesAudit = new ArrayList<AuditEntry>();
|
||||
Query q = parameters.getQuery();
|
||||
if (q != null && q.getTree() != null)
|
||||
if (q != null)
|
||||
{
|
||||
// filtering via "where" clause
|
||||
AuditEntryQueryWalker propertyWalker = new AuditEntryQueryWalker();
|
||||
@@ -353,7 +353,7 @@ public class AuditImpl implements Audit
|
||||
|
||||
public boolean handleAuditEntry(Long entryId, String applicationName, String user, long time, Map<String, Serializable> values)
|
||||
{
|
||||
AuditEntry auditEntry = new AuditEntry(entryId, new Long(auditAppId), new UserInfo(null, user, null), new Date(time), values);
|
||||
AuditEntry auditEntry = new AuditEntry(entryId, auditAppId, new UserInfo(null, user, null), new Date(time), values);
|
||||
results.add(auditEntry);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user