Fixed AR-822: Space deletion via FTP or Web Client is improved.

The node is renamed and hidden from FileFolderService clients.  A background task then performs the archival.
A bootstrap component ensures that failed archivals are picked up again.
Found a bug with the status of nodes archived as part of a hierarchy not being updated correctly.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-07-04 01:03:16 +00:00
parent d2027916c7
commit 6c07ba53c7
12 changed files with 851 additions and 25 deletions

View File

@@ -4,6 +4,27 @@
<!-- Beans pertinent to node persistence and services -->
<beans>
<bean id="nodeArchiveInterceptor" class="org.alfresco.repo.node.archive.NodeArchiveInterceptor">
<property name="transactionService">
<ref bean="transactionService" />
</property>
<property name="nodeService">
<ref bean="mlAwareNodeService" />
</property>
<property name="dictionaryService">
<ref bean="dictionaryService" />
</property>
<property name="storeArchiveMap">
<ref bean="storeArchiveMap"/>
</property>
<property name="threadPoolExecutor">
<ref bean="threadPoolExecutor"/>
</property>
<property name="archiveMode">
<value>${system.deleted-items.mode}</value>
</property>
</bean>
<bean id="mlPropertyInterceptor" class="org.alfresco.repo.node.MLPropertyInterceptor">
<property name="nodeService">
<ref bean="mlAwareNodeService" />
@@ -25,6 +46,7 @@
<property name="interceptorNames">
<list>
<value>mlPropertyInterceptor</value>
<value>nodeArchiveInterceptor</value>
</list>
</property>
</bean>