Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.12.0
-
None
-
None
Description
Currently there are no examples (that I can find anyway) of how to
create new types (and corresponding property types), choice lists, etc., using the CMIS 1.1 type mutability feature.
I have written a (generic) Java command-line example that
has no dependencies other than OpenCMIS. This sample code
creates a sub-type of cmis:document with 4 new properties (one of each
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.