chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Guillaume ...@nuxeo.com>
Subject Re: svn commit: r1098638 - /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java
Date Tue, 10 May 2011 14:37:09 GMT
Why?

On Mon, May 2, 2011 at 6:04 PM,  <jens@apache.org> wrote:
> Author: jens
> Date: Mon May  2 16:04:49 2011
> New Revision: 1098638
>
> URL: http://svn.apache.org/viewvc?rev=1098638&view=rev
> Log:
> make cmis:contentStreamFileName read-only for InMemory
>
> Modified:
>    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java
>
> Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java
> URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java?rev=1098638&r1=1098637&r2=1098638&view=diff
> ==============================================================================
> --- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java
(original)
> +++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java
Mon May  2 16:04:49 2011
> @@ -194,6 +194,7 @@ public class DocumentTypeCreationHelper
>
>         propS = PropertyCreationHelper.createStringDefinition(PropertyIds.CONTENT_STREAM_FILE_NAME,
>                 "CMIS Content Stream File Name Property");
> +        propS.setUpdatability(Updatability.READONLY);
>         propertyDefinitions.put(propS.getId(), propS);
>
>         propId = PropertyCreationHelper.createIdDefinition(PropertyIds.CONTENT_STREAM_ID,
"CMIS Stream Id Property");
>
>
>



-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Mime
View raw message