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