Hi Jay,

Please open an improvement issue in JIRA and attach the code.


Thanks,

Florian


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
here:

   http://chemistry.apache.org/java/developing/index.html

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
String.
(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
   http://chemistry.apache.org/java/examples/index.html
(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.

Thanks.


Jay Brown
Senior Engineer, ECM Development
IBM Software Group
www.linkedin.com/in/parityerror/

Reply via email to