<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
   
   <!-- File/folder specific service -->
   
   <bean name="fileFolderService" class="org.alfresco.repo.model.filefolder.FileFolderServiceImpl" init-method="init">
      <property name="namespaceService"><ref bean="namespaceService" /></property>
      <property name="dictionaryService"><ref bean="dictionaryService" /></property>
      <property name="nodeService"><ref bean="nodeService" /></property>
      <property name="copyService"><ref bean="copyService" /></property>
      <property name="searchService"><ref bean="searchService" /></property>
      <property name="contentService"><ref bean="contentService" /></property>
      <property name="mimetypeService"><ref bean="mimetypeService" /></property>

      <property name="systemPaths">
         <list>
            <value>/${spaces.company_home.childname}</value>
            <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}</value>
            <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.childname}</value>
            <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.content.childname}</value>
            <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</value>
            <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.rss.childname}</value>
            <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.scripts.childname}</value>
         </list>
      </property>
   </bean>
   
   <bean name="tempFileMarkerInterceptor" class="org.alfresco.repo.model.filefolder.TempFileMarkerInterceptor">
      <property name="nodeService">
         <ref bean="nodeService" />
      </property>
      <property name="filterRegularExpressions">
         <list>
            <value><![CDATA[.*\.tmp]]></value>
            <value><![CDATA[.*\.temp]]></value>
            <value><![CDATA[\~.*]]></value>
         </list>
      </property>
   </bean>
   
   <!-- Multilingual specific service -->
   <bean name="multilingualContentService" class="org.alfresco.repo.model.ml.MultilingualContentServiceImpl" >
      <property name="nodeService"><ref bean="NodeService" /></property>
      <property name="searchService"><ref bean="SearchService" /></property>
      <property name="versionService"><ref bean="VersionService" /></property>
   </bean>

</beans>
