Content and folder node archival

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2767 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-05-04 16:04:55 +00:00
parent 35f3eda32f
commit fcad8b7a1f
29 changed files with 722 additions and 198 deletions

View File

@@ -19,17 +19,29 @@
</property>
</bean>
<!-- Map stores to archive stores -->
<bean id="storeArchiveMap" class="org.alfresco.repo.node.StoreArchiveMap">
<property name="archiveMap">
<map>
<entry key="workspace://SpacesStore"><value>archive://SpacesStore</value></entry>
</map>
</property>
</bean>
<!-- NodeService implemented to persist to Database -->
<bean id="dbNodeService" class="org.alfresco.repo.node.db.DbNodeServiceImpl" init-method="init" >
<constructor-arg>
<ref bean="policyComponent"/>
</constructor-arg>
<constructor-arg>
<property name="dictionaryService">
<ref bean="dictionaryService" />
</constructor-arg>
<constructor-arg>
</property>
<property name="nodeDaoService">
<ref bean="nodeDaoService" />
</constructor-arg>
</property>
<property name="policyComponent">
<ref bean="policyComponent"/>
</property>
<property name="storeArchiveMap">
<ref bean="storeArchiveMap"/>
</property>
</bean>
<!-- Handles policy callbacks to ensure that node hierarchy gets indexed -->