Fixed usage of iBatis namespaces

- Turned namespacing on
 - Collapsed SqlMapConfig.xml files with the exception of that for activities, which uses a different datasource bean
 - Tried to use it and discovered a "feature": If any ID has a '.' in it, then it is assumed to be namespaced already ...
 - Fixed up all IDs for iBatis objects; replaced '.' with '_' except in our namespaces
 - Don't panic!  It's a find/replace job of ID strings.  Errors will be hard and fast, if there are any.  All DAO and activities tests run.
 - The AVM refactor will get some conflicts in the ibatis-context.xml
    - Either follow the same pattern and fix up the IDs, or
    - Keep a separate bean until some later time.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-09-05 10:59:01 +00:00
parent 9fc993a852
commit 4dc6006f1c
31 changed files with 341 additions and 324 deletions

View File

@@ -25,6 +25,9 @@
package org.alfresco.repo.domain.audit;
import java.util.Date;
import java.util.List;
import org.alfresco.repo.domain.propval.PropertyIdSearchRow;
/**
* Results bean for <b>alf_audit_entry</b> table.
@@ -39,6 +42,7 @@ public class AuditQueryResult
private String auditUser;
private long auditTime;
private Long auditValuesId;
private List<PropertyIdSearchRow> auditValues;
public AuditQueryResult()
{
@@ -54,6 +58,7 @@ public class AuditQueryResult
.append(", auditUser=").append(auditUser)
.append(", auditTime").append(new Date(auditTime))
.append(", auditValuesId=").append(auditValuesId)
.append(", auditValues=").append(auditValues.size())
.append("]");
return sb.toString();
}
@@ -107,4 +112,14 @@ public class AuditQueryResult
{
this.auditValuesId = auditValuesId;
}
public List<PropertyIdSearchRow> getAuditValues()
{
return auditValues;
}
public void setAuditValues(List<PropertyIdSearchRow> auditValues)
{
this.auditValues = auditValues;
}
}