This brings the AVM implementation to the 'it compiles so it should work"

state.  It's hooked up to nothing right now.  First will be a basic test harness 
for it, then...


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-05-15 17:51:37 +00:00
parent 1d601e1be7
commit 0241371dd6
23 changed files with 615 additions and 38 deletions

View File

@@ -58,6 +58,11 @@ public class AVMNodeBeanImpl implements AVMNodeBean
*/
private RepositoryBean fRepository;
/**
* The BasicAttributes.
*/
private BasicAttributesBean fBasicAttributes;
/**
* Whether this node is new (and should therefore not be COWed).
*/
@@ -91,7 +96,8 @@ public class AVMNodeBeanImpl implements AVMNodeBean
AVMNodeBean ancestor,
AVMNodeBean mergedFrom,
DirectoryNodeBean parent,
RepositoryBean repository)
RepositoryBean repository,
BasicAttributesBean attrs)
{
fID = id;
fVersionID = versionID;
@@ -101,6 +107,7 @@ public class AVMNodeBeanImpl implements AVMNodeBean
fParent = parent;
fRepository = repository;
fIsNew = true;
fBasicAttributes = attrs;
}
/* (non-Javadoc)
@@ -272,4 +279,20 @@ public class AVMNodeBeanImpl implements AVMNodeBean
{
fVers = vers;
}
/* (non-Javadoc)
* @see org.alfresco.repo.avm.hibernate.AVMNodeBean#getBasicAttributes()
*/
public BasicAttributesBean getBasicAttributes()
{
return fBasicAttributes;
}
/* (non-Javadoc)
* @see org.alfresco.repo.avm.hibernate.AVMNodeBean#setBasicAttributes(org.alfresco.repo.avm.hibernate.BasicAttributesBean)
*/
public void setBasicAttributes(BasicAttributesBean attrs)
{
fBasicAttributes = attrs;
}
}