[ https://issues.apache.org/jira/browse/CMIS-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-900. --------------------------------- Resolution: Fixed Fix Version/s: (was: OpenCMIS 0.12.0) Added to website: https://chemistry.apache.org/java/examples/example-create-type.html > 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 > Assignee: Florian Müller > Attachments: CreateTestCommandLine.java > > > 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)