jay brown created CMIS-900: ------------------------------ Summary: Add example code for CMIS 1.1 Type Mutability - type creation Key: CMIS-900 URL: https://issues.apache.org/jira/browse/CMIS-900 Project: Chemistry Issue Type: Improvement Components: opencmis-client Affects Versions: OpenCMIS 0.12.0 Reporter: jay brown Fix For: OpenCMIS 0.12.0
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 { 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)