mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged CMIS063 to HEAD
17102: Add Date svn:keyword 17103: - mask out cmis-tck-ws build/classes folder, fix JRE dependency in cmis-tck-ws .classpath 17106: MOB-1330: Upgrade Web Services Repository to 0.7. 17117: Now moved to Chemistry. 17120: CMIS Update to v1.0 Committee Draft 04 17123: Checkin mistake. 17129: Updated Chemistry AtomPub TCK with appropriate UTF-8 encoding. 17138: Fix reference to CMIS change list in CMIS Front Page. 17142: Move all CMIS web scripts into same package. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3,32 +3,6 @@
|
||||
|
||||
<beans>
|
||||
|
||||
<bean id="lucene.sql.cmis.strict" class="org.alfresco.repo.search.impl.lucene.LuceneCmisStrictSqlQueryLanguage" >
|
||||
<property name="cmisQueryService">
|
||||
<ref bean="CMISQueryService" />
|
||||
</property>
|
||||
<property name="factories">
|
||||
<list>
|
||||
<ref bean="admLuceneIndexerAndSearcherFactory" />
|
||||
<ref bean="admLuceneUnIndexedIndexerAndSearcherFactory" />
|
||||
<ref bean="avmLuceneIndexerAndSearcherFactory" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="lucene.sql.alfresco" class="org.alfresco.repo.search.impl.lucene.LuceneAlfrescoSqlQueryLanguage">
|
||||
<property name="cmisQueryService">
|
||||
<ref bean="CMISQueryService" />
|
||||
</property>
|
||||
<property name="factories">
|
||||
<list>
|
||||
<ref bean="admLuceneIndexerAndSearcherFactory" />
|
||||
<ref bean="admLuceneUnIndexedIndexerAndSearcherFactory" />
|
||||
<ref bean="avmLuceneIndexerAndSearcherFactory" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="CMISMapping" class="org.alfresco.cmis.mapping.CMISMapping" >
|
||||
<property name="serviceRegistry">
|
||||
<ref bean="ServiceRegistry" />
|
||||
@@ -39,7 +13,8 @@
|
||||
</bean>
|
||||
|
||||
<bean id="CMISService" class="org.alfresco.cmis.mapping.CMISServicesImpl">
|
||||
<property name="CMISSpecVersion"><value>0.7</value></property>
|
||||
<property name="CMISSpecVersion"><value>1.0</value></property>
|
||||
<property name="CMISSpecTitle"><value>Version 1.0 Committee Draft 04</value></property>
|
||||
<property name="defaultStore"><value>workspace://SpacesStore</value></property>
|
||||
<property name="defaultRootPath"><value>/Company Home</value></property>
|
||||
<property name="dictionaryService" ref="dictionaryService" />
|
||||
@@ -98,6 +73,33 @@
|
||||
<property name="CMISDictionaryService" ref="CMISDictionaryService" />
|
||||
</bean>
|
||||
|
||||
<bean id="lucene.sql.cmis.strict" class="org.alfresco.repo.search.impl.lucene.LuceneCmisStrictSqlQueryLanguage" >
|
||||
<property name="cmisQueryService">
|
||||
<ref bean="CMISQueryService" />
|
||||
</property>
|
||||
<property name="factories">
|
||||
<list>
|
||||
<ref bean="admLuceneIndexerAndSearcherFactory" />
|
||||
<ref bean="admLuceneUnIndexedIndexerAndSearcherFactory" />
|
||||
<ref bean="avmLuceneIndexerAndSearcherFactory" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="lucene.sql.alfresco" class="org.alfresco.repo.search.impl.lucene.LuceneAlfrescoSqlQueryLanguage">
|
||||
<property name="cmisQueryService">
|
||||
<ref bean="CMISQueryService" />
|
||||
</property>
|
||||
<property name="factories">
|
||||
<list>
|
||||
<ref bean="admLuceneIndexerAndSearcherFactory" />
|
||||
<ref bean="admLuceneUnIndexedIndexerAndSearcherFactory" />
|
||||
<ref bean="avmLuceneIndexerAndSearcherFactory" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
||||
<bean id="adm.luceneQueryEngine" class="org.springframework.aop.framework.ProxyFactoryBean">
|
||||
<property name="proxyInterfaces">
|
||||
<value>org.alfresco.repo.search.impl.querymodel.QueryEngine</value>
|
||||
@@ -124,6 +126,4 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
||||
|
||||
</beans>
|
@@ -9,7 +9,7 @@
|
||||
</imports>
|
||||
|
||||
<namespaces>
|
||||
<namespace uri="http://www.alfresco.org/model/cmis/0.62" prefix="cmis" />
|
||||
<namespace uri="http://www.alfresco.org/model/cmis/1.0/cd04" prefix="cmis" />
|
||||
</namespaces>
|
||||
|
||||
<data-types>
|
||||
|
@@ -46,6 +46,13 @@ public interface CMISServices
|
||||
*/
|
||||
public String getCMISVersion();
|
||||
|
||||
/**
|
||||
* Gets the supported CMIS Specification Title
|
||||
*
|
||||
* @return CMIS pecification Title
|
||||
*/
|
||||
public String getCMISSpecTitle();
|
||||
|
||||
/**
|
||||
* Gets the default root node path
|
||||
*
|
||||
|
@@ -65,7 +65,7 @@ public class CMISMapping implements InitializingBean
|
||||
* The Alfresco CMIS Namespace
|
||||
*/
|
||||
public static String CMIS_MODEL_NS = "cmis";
|
||||
public static String CMIS_MODEL_URI = "http://www.alfresco.org/model/cmis/0.62";
|
||||
public static String CMIS_MODEL_URI = "http://www.alfresco.org/model/cmis/1.0/cd04";
|
||||
|
||||
/**
|
||||
* The Alfresco CMIS Model name.
|
||||
@@ -225,6 +225,7 @@ public class CMISMapping implements InitializingBean
|
||||
|
||||
registerEvaluator(CMISScope.FOLDER, new PermissionActionEvaluator(serviceRegistry, CMISAllowedActionEnum.CAN_DELETE_OBJECT, PermissionService.DELETE_NODE));
|
||||
registerEvaluator(CMISScope.FOLDER, new PermissionActionEvaluator(serviceRegistry, CMISAllowedActionEnum.CAN_UPDATE_PROPERTIES, PermissionService.WRITE_PROPERTIES));
|
||||
registerEvaluator(CMISScope.FOLDER, new PermissionActionEvaluator(serviceRegistry, CMISAllowedActionEnum.CAN_GET_FOLDER_TREE, PermissionService.READ_CHILDREN));
|
||||
registerEvaluator(CMISScope.FOLDER, new PermissionActionEvaluator(serviceRegistry, CMISAllowedActionEnum.CAN_GET_PROPERTIES, PermissionService.READ_PROPERTIES));
|
||||
registerEvaluator(CMISScope.FOLDER, new FixedValueActionEvaluator(serviceRegistry, CMISAllowedActionEnum.CAN_GET_RELATIONSHIPS, true));
|
||||
registerEvaluator(CMISScope.FOLDER, new FixedValueActionEvaluator(serviceRegistry, CMISAllowedActionEnum.CAN_GET_OBJECT_PARENTS, true));
|
||||
|
@@ -114,6 +114,7 @@ public class CMISServicesImpl implements CMISServices, ApplicationContextAware,
|
||||
|
||||
// CMIS supported version
|
||||
private String cmisVersion = "[undefined]";
|
||||
private String cmisSpecTitle = "[undefined]";
|
||||
|
||||
// default CMIS store and path
|
||||
private StoreRef defaultStoreRef;
|
||||
@@ -135,6 +136,16 @@ public class CMISServicesImpl implements CMISServices, ApplicationContextAware,
|
||||
this.cmisVersion = cmisVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the CMIS specification title
|
||||
*
|
||||
* @param cmisTitle
|
||||
*/
|
||||
public void setCMISSpecTitle(String cmisSpecTitle)
|
||||
{
|
||||
this.cmisSpecTitle = cmisSpecTitle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the default root store
|
||||
*
|
||||
@@ -295,6 +306,15 @@ public class CMISServicesImpl implements CMISServices, ApplicationContextAware,
|
||||
return cmisVersion;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.cmis.CMISServices#getCMISSpecTitle()
|
||||
*/
|
||||
public String getCMISSpecTitle()
|
||||
{
|
||||
return cmisSpecTitle;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.cmis.CMISServices#getDefaultRootPath()
|
||||
|
Reference in New Issue
Block a user