mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Audit query extension: Search for audited data of any type
- Pulled out some of the query joins in favour of more cache hits git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,8 +38,8 @@ import org.alfresco.repo.domain.propval.PropertyIdSearchRow;
|
||||
public class AuditQueryResult
|
||||
{
|
||||
private Long auditEntryId;
|
||||
private String auditAppName;
|
||||
private String auditUser;
|
||||
private Long auditAppNameId;
|
||||
private Long auditUserId;
|
||||
private long auditTime;
|
||||
private Long auditValuesId;
|
||||
private List<PropertyIdSearchRow> auditValues;
|
||||
@@ -54,8 +54,8 @@ public class AuditQueryResult
|
||||
StringBuilder sb = new StringBuilder(512);
|
||||
sb.append("AuditEntryResult")
|
||||
.append("[ auditEntryId=").append(auditEntryId)
|
||||
.append(", auditAppName=").append(auditAppName)
|
||||
.append(", auditUser=").append(auditUser)
|
||||
.append(", auditAppNameId=").append(auditAppNameId)
|
||||
.append(", auditUserId=").append(auditUserId)
|
||||
.append(", auditTime").append(new Date(auditTime))
|
||||
.append(", auditValuesId=").append(auditValuesId)
|
||||
.append(", auditValues=").append(auditValues.size())
|
||||
@@ -73,24 +73,24 @@ public class AuditQueryResult
|
||||
this.auditEntryId = entryId;
|
||||
}
|
||||
|
||||
public String getAuditAppName()
|
||||
public Long getAuditAppNameId()
|
||||
{
|
||||
return auditAppName;
|
||||
return auditAppNameId;
|
||||
}
|
||||
|
||||
public void setAuditAppName(String appName)
|
||||
public void setAuditAppNameId(Long auditAppNameId)
|
||||
{
|
||||
this.auditAppName = appName;
|
||||
this.auditAppNameId = auditAppNameId;
|
||||
}
|
||||
|
||||
public String getAuditUser()
|
||||
public Long getAuditUserId()
|
||||
{
|
||||
return auditUser;
|
||||
return auditUserId;
|
||||
}
|
||||
|
||||
public void setAuditUser(String user)
|
||||
public void setAuditUserId(Long auditUserId)
|
||||
{
|
||||
this.auditUser = user;
|
||||
this.auditUserId = auditUserId;
|
||||
}
|
||||
|
||||
public long getAuditTime()
|
||||
|
Reference in New Issue
Block a user