Added DAOs. Attribute query objects seem to be able to generate hibernate predicates.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-04-09 16:06:01 +00:00
parent 838b2bfcd3
commit 32d1493301
25 changed files with 975 additions and 215 deletions

View File

@@ -3,6 +3,10 @@
*/
package org.alfresco.repo.avm;
import org.alfresco.repo.attributes.AttributeDAO;
import org.alfresco.repo.attributes.GlobalAttributeEntryDAO;
import org.alfresco.repo.attributes.MapEntryDAO;
/**
* This is the (shudder) global context for AVM. It a rendezvous
* point for access to needed global instances.
@@ -79,6 +83,12 @@ public class AVMDAOs
*/
public AVMAspectNameDAO fAVMAspectNameDAO;
public AttributeDAO fAttributeDAO;
public MapEntryDAO fMapEntryDAO;
public GlobalAttributeEntryDAO fGlobalAttributeEntryDAO;
/**
* @param nodeDAO the fAVMNodeDAO to set
*/
@@ -149,4 +159,19 @@ public class AVMDAOs
{
fAVMAspectNameDAO = avmAspectNameDAO;
}
public void setAttributeDAO(AttributeDAO dao)
{
fAttributeDAO = dao;
}
public void setMapEntryDAO(MapEntryDAO dao)
{
fMapEntryDAO = dao;
}
public void setGlobalAttributeEntryDAO(GlobalAttributeEntryDAO dao)
{
fGlobalAttributeEntryDAO = dao;
}
}