Purge tests cover more now. Moved purging queries into mapping file.

Added call to AVMService to get Versions
by creation date.  GetRepositoryVersions methods now return Lists of 
VersionDescriptors, value objects with the attributes of a version.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-17 18:48:44 +00:00
parent a215fb72b6
commit 9c17cfa1e0
16 changed files with 439 additions and 131 deletions

View File

@@ -199,6 +199,12 @@
ce.child = :child and ce.parent = :parent
]]>
</query>
<query name="ChildEntry.DeleteByParent">
<![CDATA[
delete ChildEntryImpl ce
where ce.parent = :parent
]]>
</query>
<query name="AVMNode.ByNewInRepo">
<![CDATA[
from AVMNodeImpl a
@@ -206,6 +212,24 @@
a.repository = :repo and a.isNew = true
]]>
</query>
<query name="AVMNode.GetDescendents">
<![CDATA[
from AVMNodeImpl an
where an.ancestor = :node
]]>
</query>
<query name="AVMNode.GetMergedTo">
<![CDATA[
from AVMNodeImpl an
where an.mergedFrom = :merged
]]>
</query>
<query name="AVMNode.GetByParent">
<![CDATA[
from AVMNodeImpl an
where an.parent = :parent
]]>
</query>
<query name="VersionRoot.GetVersionRoot">
<![CDATA[
select v.root
@@ -235,6 +259,12 @@
dc.parent = :parent
]]>
</query>
<query name="DeletedChild.DeleteByParent">
<![CDATA[
delete DeletedChildImpl dc
where dc.parent = :parent
]]>
</query>
<query name="FindOrphans">
<![CDATA[
from AVMNodeImpl an