mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user