mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added audit entry ID (from and to) as search parameters (requ. for CMIS)
- This change will be needed when fixing ETHREEOH-3487: Searching on Events does not restrict the audit result. - Moved parameters from method arguments into AuditQueryParameters - Deprecated old auditQuery APIs and fixed up Alfresco usage git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,6 +37,8 @@ public class AuditQueryParameters
|
||||
private boolean forward;
|
||||
private Long auditAppNameId;
|
||||
private Long auditUserId;
|
||||
private Long auditFromId;
|
||||
private Long auditToId;
|
||||
private Long auditFromTime;
|
||||
private Long auditToTime;
|
||||
private Long searchKeyId;
|
||||
@@ -54,6 +56,8 @@ public class AuditQueryParameters
|
||||
.append("[ forward=").append(forward)
|
||||
.append(", auditAppNameId=").append(auditAppNameId)
|
||||
.append(", auditUserId=").append(auditUserId)
|
||||
.append(", auditFromId=").append(auditFromId == null ? null : auditFromId)
|
||||
.append(", auditToId=").append(auditToId == null ? null : auditToId)
|
||||
.append(", auditFromTime=").append(auditFromTime == null ? null : new Date(auditFromTime))
|
||||
.append(", auditToTime=").append(auditToTime == null ? null : new Date(auditToTime))
|
||||
.append(", searchKeyId=").append(searchKeyId)
|
||||
@@ -102,6 +106,26 @@ public class AuditQueryParameters
|
||||
return auditFromTime;
|
||||
}
|
||||
|
||||
public Long getAuditFromId()
|
||||
{
|
||||
return auditFromId;
|
||||
}
|
||||
|
||||
public void setAuditFromId(Long auditFromId)
|
||||
{
|
||||
this.auditFromId = auditFromId;
|
||||
}
|
||||
|
||||
public Long getAuditToId()
|
||||
{
|
||||
return auditToId;
|
||||
}
|
||||
|
||||
public void setAuditToId(Long auditToId)
|
||||
{
|
||||
this.auditToId = auditToId;
|
||||
}
|
||||
|
||||
public void setAuditFromTime(Long from)
|
||||
{
|
||||
this.auditFromTime = from;
|
||||
|
Reference in New Issue
Block a user