chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Brown <>
Subject OpenCMIS Client example: How to create Object Types and Properties (aka CMIS 1.1 Type Mutability)
Date Tue, 10 Mar 2015 17:42:56 GMT

In our next fixpack for the FileNet CMIS 1.1 tech preview server we will be
shipping support for CMIS 1.1 Type Mutability.
In the process of getting ready for this I realized that this is not a
subject we ever covered in the Manning CMIS book, nor it discussed anywhere

So our clients will not be able to find any working examples showing how to
do this (somewhat advanced) operation using OpenCMIS.

To address this I have written a (generic) Java command-line example that
has no dependencies other than OpenCMIS and Java.   This sample code
creates a sub-type of cmis:document with 4 new properties (one of each
{ Integer, Boolean, Id and String } and an associated choice list for the
(checking first that these are creatable property types)

The code is a few hundred lines long but is very simple to follow and I
believe would make a good addition to the
(examples) section.

If you feel this code would make a useful contribution please let me know
along with instructions of how you would like to proceed.


Jay Brown
Senior Engineer, ECM Development
IBM Software Group
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message