Files
alfresco-community-repo/config/alfresco/cmis-api-context.xml
Dave Ward c1d11e0f3a Merged V4.1-BUG-FIX to HEAD
47745: ALF-18302: Merged V4.0.2 (4.0.2.29) to V4.1-BUG-FIX (4.1.5)
      47498: MNT-317: CIFS: Image document version history lost intermittently after saving content in Preview on Mac Mountain Lion
      - Candidate fix by Dmitry Vaserin
   47753: ALF-12264: Domain-filtering also done with new approach of fetching WorklfowTasks
   47778: Merged DEV to V4.1-BUG-FIX
      ALF-18151: CMIS cannot delete folders that have rules applied
                 - Will throw 'CMISConstraintException' exception only if 'ContentModel.ASSOC_CONTAINS'
                   child association exist for the folder what is deleted.
                 - Added and succesfully executed two unit test for openCMIS and CMIS.
   47794: ALF-18302: Merged DEV to V4.1-BUG-FIX
      47631: MNT-317: CIFS: Image document version history lost intermittently after saving content in Preview on Mac Mountain Lion
      Add class description describing the shuffle on ScenarioRenameDeleteMove.
      Add proper unit test.
   47795: Merged back build fix from HEAD (thanks Neil)
   47803: Merged PATCHES/V4.1.4 to V4.1-BUG-FIX
      47680: Merged DEV to PATCHES/V4.1.4
         47677: ALF-18270 Cannot open properties of model
         In FormUIGet.processFieldConstraints() was added check: (fieldConfig != null && fieldConfig.getConstraintDefinitionMap() != null).
      47738: ALF-18301: Alfresco fails to start up because of NPE error, when debug logging for 'org.alfresco.repo.cache.AbstractAsynchronouslyRefreshedCache' is enabled
      - Fix by Dmitry Velichkevich 
      47754: Merged DEV to PATCHES/V4.1.4
         47751: ALF-17644 : Document version was increased after canceling editing.
         Unnecessary calls for property deletion was removed.
      47767: ALF-18088: Add Implementation-Edition + limit Specification-Version to 3 digits in war MANIFEST files
      47786: Fixed ALF-18137 "It's impossible to create a new item in the data list."
   47804: Merged PATCHES/V4.1.4 to V4.1-BUG-FIX (RECORD ONLY)
      47755: Merged V4.1-BUG-FIX to PATCHES/V4.1.4
         47753: ALF-12264: Domain-filtering also done with new approach of fetching WorklfowTasks


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-08 14:10:56 +00:00

133 lines
6.1 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="CMISMapping" class="org.alfresco.cmis.mapping.CMISMapping" >
<property name="serviceRegistry">
<ref bean="ServiceRegistry" />
</property>
<property name="CMISService">
<ref bean="CMISService" />
</property>
</bean>
<bean id="CMISService" class="org.alfresco.cmis.mapping.CMISServicesImpl">
<property name="CMISSpecVersion"><value>1.0</value></property>
<property name="CMISSpecTitle"><value>Version 1.0 OASIS Standard</value></property>
<property name="defaultStore"><value>${spaces.store}</value></property>
<property name="defaultRootPath"><value>/${spaces.company_home.childname}</value></property>
<property name="dictionaryService" ref="dictionaryService" />
<property name="namespaceService" ref="namespaceService" />
<property name="CMISDictionaryService" ref="CMISDictionaryService" />
<property name="CMISRenditionService" ref="CMISRenditionService" />
<property name="searchService" ref="SearchService" />
<property name="transactionHelper" ref="retryingTransactionHelper" />
<property name="tenantAdminService" ref="tenantAdminService" />
<property name="nodeService" ref="NodeService" />
<property name="fileFolderService" ref="FileFolderService" />
<property name="contentService" ref="ContentService" />
<property name="repository" ref="repositoryHelper" />
<property name="checkOutCheckInService" ref="CheckoutCheckinService" />
<property name="versionService" ref="VersionService" />
</bean>
<bean id="CMISDictionaryService" class="org.alfresco.cmis.dictionary.CMISStrictDictionaryService" >
<property name="dictionaryService">
<ref bean="dictionaryService" />
</property>
<property name="dictionaryDAO">
<ref bean="dictionaryDAO" />
</property>
<property name="CMISMapping">
<ref bean="CMISMapping" />
</property>
<property name="singletonCache" ref="immutableSingletonCache"/>
</bean>
<bean id="CMIS.DictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/model/cmisModel.xml</value>
<value>alfresco/model/cmisTestModel.xml</value>
</list>
</property>
</bean>
<bean id="CMISQueryService" class="org.alfresco.repo.management.subsystems.SubsystemProxyFactory">
<property name="sourceApplicationContextFactory">
<ref bean="Search" />
</property>
<property name="sourceBeanName">
<value>search.CMISQueryService</value>
</property>
<property name="interfaces">
<list>
<value>org.alfresco.cmis.CMISQueryService</value>
</list>
</property>
</bean>
<bean id="CMISRenditionService" class="org.alfresco.cmis.renditions.CMISRenditionServiceImpl">
<property name="renditionKindMapping">
<map>
<entry key="cmis:thumbnail">
<list><value>doclib</value></list>
</entry>
<entry key="alf:webpreview">
<list><value>webpreview</value><value>imgpreview</value></list>
</entry>
</map>
</property>
<property name="customRenditions">
<list>
<bean class="org.alfresco.cmis.renditions.CMISRenditionImpl">
<property name="streamId"><value>alf:icon16</value></property>
<property name="mimeType"><value>image/gif</value></property>
<property name="kind"><value>alf:icon16</value></property>
<property name="width"><value>16</value></property>
<property name="height"><value>16</value></property>
</bean>
<bean class="org.alfresco.cmis.renditions.CMISRenditionImpl">
<property name="streamId"><value>alf:icon32</value></property>
<property name="mimeType"><value>image/gif</value></property>
<property name="kind"><value>alf:icon32</value></property>
<property name="width"><value>32</value></property>
<property name="height"><value>32</value></property>
</bean>
</list>
</property>
<property name="thumbnailService">
<ref bean="ThumbnailService" />
</property>
<property name="nodeService">
<ref bean="NodeService" />
</property>
</bean>
<bean id="CMISChangeLogService" class="org.alfresco.cmis.changelog.CMISChangeLogServiceImpl">
<property name="cmisAuditApplicationName" value="CMISChangeLog" />
<property name="changesOnTypeCapability">
<list>
<value>FOLDER</value>
<value>DOCUMENT</value>
</list>
</property>
<property name="auditService" ref="auditService" />
</bean>
<bean id="CMISAccessControlService" class="org.alfresco.cmis.acl.CMISAccessControlServiceImpl" >
<!-- Valid values are: NONE, DISCOVER, MANAGE -->
<property name="aclCapabilityEnum" value="MANAGE" />
<!-- Valid values are: BASIC, REPOSITORY, BOTH -->
<property name="aclSupportedPermissionEnum" value="BOTH" />
<!-- Alfrecso only supports PROPAGATE -->
<property name="aclPropagationEnum" value="PROPAGATE" />
<property name="permissionModelDao" ref="permissionsModelDAO" />
<property name="permissionService" ref="PermissionService" />
<property name="CMISMapping" ref="CMISMapping" />
<property name="CMISDictionaryService" ref="CMISDictionaryService" />
<property name="nodeService" ref="NodeService" />
</bean>
</beans>