mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Audit changes and fixes
- Removed notion of audit session - Removed 'scope' attribute for DataGenerator elements - Removed alf_audit_session table and replaced with alf_audit_app (see script) - DataGenerators are working properly git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16053 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -35,7 +35,7 @@ import java.util.Date;
|
||||
public class AuditEntryEntity
|
||||
{
|
||||
private Long id;
|
||||
private Long auditSessionId;
|
||||
private Long auditApplicationId;
|
||||
private Long auditUserId;
|
||||
private long auditTime;
|
||||
private Long auditValuesId;
|
||||
@@ -50,7 +50,7 @@ public class AuditEntryEntity
|
||||
StringBuilder sb = new StringBuilder(512);
|
||||
sb.append("AuditEntryEntity")
|
||||
.append("[ ID=").append(id)
|
||||
.append(", auditSessionId=").append(auditSessionId)
|
||||
.append(", auditApplicationId=").append(auditApplicationId)
|
||||
.append(", auditTime").append(new Date(auditTime))
|
||||
.append(", auditValuesId=").append(auditValuesId)
|
||||
.append("]");
|
||||
@@ -67,14 +67,14 @@ public class AuditEntryEntity
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getAuditSessionId()
|
||||
public Long getAuditApplicationId()
|
||||
{
|
||||
return auditSessionId;
|
||||
return auditApplicationId;
|
||||
}
|
||||
|
||||
public void setAuditSessionId(Long auditSessionId)
|
||||
public void setAuditApplicationId(Long auditSessionId)
|
||||
{
|
||||
this.auditSessionId = auditSessionId;
|
||||
this.auditApplicationId = auditSessionId;
|
||||
}
|
||||
|
||||
public Long getAuditUserId()
|
||||
|
Reference in New Issue
Block a user