mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
41724: Merged BRANCHES/DEV/CLOUD1-BUG-FIX to BRANCHES/DEV/HEAD_QUICK_SHARE_TMP: 41211: CLOUD-593: Prevent copying of QuickShare properties on node copy. 41725: QuickShare: minor - rename unit test 41727: Refactored quickshare components to match new webscript boilerplate format in Share 41733: QuickShare: fix ShareContentGet NPE git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
66 lines
2.5 KiB
XML
66 lines
2.5 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>
|
|
|
|
<!-- Transaction Interceptors for the Calendar Service -->
|
|
<bean id="quickShareServiceReadTxnAdvisor" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
|
|
<property name="advice">
|
|
<ref bean="retryingReadTxnAdvice"/>
|
|
</property>
|
|
<property name="mappedNames">
|
|
<list>
|
|
<value>canDownloadAnonymously</value>
|
|
<value>getMetaData</value>
|
|
<value>getTenantNodeRefFromSharedId</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="quickShareServiceWriteTxnAdvisor" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
|
|
<property name="advice">
|
|
<ref bean="retryingWriteTxnAdvice"/>
|
|
</property>
|
|
<property name="mappedNames">
|
|
<list>
|
|
<value>shareContent</value>
|
|
<value>update</value>
|
|
<value>unshareContent</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
|
|
<!-- Calendar Service -->
|
|
<bean id="QuickShareService" class="org.springframework.aop.framework.ProxyFactoryBean">
|
|
<property name="proxyInterfaces">
|
|
<value>org.alfresco.service.cmr.quickshare.QuickShareService</value>
|
|
</property>
|
|
<property name="target">
|
|
<ref bean="quickShareService" />
|
|
</property>
|
|
<property name="interceptorNames">
|
|
<list>
|
|
<idref bean="quickShareServiceReadTxnAdvisor" />
|
|
<idref bean="quickShareServiceWriteTxnAdvisor" />
|
|
<idref bean="checkTxnAdvisor" />
|
|
<idref bean="AuditMethodInterceptor" />
|
|
<idref bean="exceptionTranslator" />
|
|
<idref bean="CalendarService_security" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- Calendar Service base bean -->
|
|
<bean id="quickShareService" class="org.alfresco.repo.quickshare.QuickShareServiceImpl" init-method="init">
|
|
<property name="attributeService" ref="AttributeService"/>
|
|
<property name="enabled" value="${system.quickshare.enabled}" />
|
|
<property name="nodeService" ref="NodeService"/>
|
|
<property name="personService" ref="PersonService"/>
|
|
<property name="policyComponent" ref="policyComponent"/>
|
|
<property name="tenantService" ref="tenantService"/>
|
|
<property name="thumbnailService" ref="ThumbnailService"/>
|
|
</bean>
|
|
|
|
</beans>
|