<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cmis - Comments from node in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295340#M248470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks but it doesn't work. I'd already tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The node is not a folder but a document so i have this error : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception in thread "main" java.lang.ClassCastException: org.apache.chemistry.opencmis.client.runtime.DocumentImpl cannot be cast to org.apache.chemistry.opencmis.client.api.Folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at fr.alfea.Test.main(Test.java:99)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 14:07:31 GMT</pubDate>
    <dc:creator>jeremiebal</dc:creator>
    <dc:date>2015-08-06T14:07:31Z</dc:date>
    <item>
      <title>Cmis - Comments from node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295338#M248468</link>
      <description>Hii don't find how to get children from a node in Alfresco with OpenCmis.i'm working on JAVA.I have a document in my repository.I can access to it with my java class who call methods from OpenCmis but i don't find any function or method to get children. i have need this to get comments of my node.Th</description>
      <pubDate>Thu, 06 Aug 2015 09:04:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295338#M248468</guid>
      <dc:creator>jeremiebal</dc:creator>
      <dc:date>2015-08-06T09:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cmis - Comments from node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295339#M248469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;YOu can get the CMIS folder object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.apache.chemistry.opencmis.client.api.Folder;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Folder f = (Folder) userSession.getObjectByPath(path);&amp;nbsp; &amp;lt;- or by ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a getChildren method on Folder.&amp;nbsp; There is also a getDescendants which is slightly different.&amp;nbsp; Check the cmis docs for definitions!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE:&amp;nbsp; Be careful to stay within one version of cmis.&amp;nbsp; The old stuff 1.0 uses slightly different classes AlfrescoFolder/AlfrescoDoc and mingling the two versions is not good!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 13:31:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295339#M248469</guid>
      <dc:creator>ddelapasse</dc:creator>
      <dc:date>2015-08-06T13:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cmis - Comments from node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295340#M248470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks but it doesn't work. I'd already tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The node is not a folder but a document so i have this error : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception in thread "main" java.lang.ClassCastException: org.apache.chemistry.opencmis.client.runtime.DocumentImpl cannot be cast to org.apache.chemistry.opencmis.client.api.Folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at fr.alfea.Test.main(Test.java:99)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 14:07:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-comments-from-node/m-p/295340#M248470</guid>
      <dc:creator>jeremiebal</dc:creator>
      <dc:date>2015-08-06T14:07:31Z</dc:date>
    </item>
  </channel>
</rss>

