Creating a secondary child association using Apache CMIS java library

cancel
Showing results for 
Search instead for 
Did you mean: 
IBelyaeva
Member II

Creating a secondary child association using Apache CMIS java library

Please point me to an example of code how to create a secondary child association, with the given association type, between the parent node and a child node using Apache Cmis Chemistry library (https://chemistry.apache.org/java/opencmis.html ).

For example, I have:

Document parentNode;

Document childNode;

child-association

    <aspect name="rn:renditioned">
         <title>Renditioned</title>
         <associations>
            <!-- This association links the source content node to the rendition -->
            <child-association name="rn:rendition">
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>cm:content</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </child-association>
         </associations>
      </aspect>

How to create a secondary child association, with the association type "rn:rendition", between the parentNode and the childNode in java using Apache Cmis Chemistry library?

 

1 Reply
Joshuadaye
Member II

Re: Creating a secondary child association using Apache CMIS java library

I am aslo have a same issue. and i am still not have peoper solution. I just want to know that there are anyone has comes out and tell us what to do? Dinar Detectives Update