<?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: Nuxeo EP 5.6: CoreSession.getChildren() method doesn't work with a type filter on a base class? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327745#M14746</link>
    <description>&lt;P&gt;The &lt;CODE&gt;getChildren&lt;/CODE&gt; APIs only match exact types, and do not use the subtype hierarchy.&lt;/P&gt;
&lt;P&gt;Also, the use of the &lt;CODE&gt;getChildren&lt;/CODE&gt; APIs is discouraged because they do not scale. As mentioned by @bjalon, you should use a query, which provides ways to do batching.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2013 16:20:31 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-06-19T16:20:31Z</dc:date>
    <item>
      <title>Nuxeo EP 5.6: CoreSession.getChildren() method doesn't work with a type filter on a base class?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327742#M14743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have doc types B and C, both deriving from A (A derives from Document).&lt;/P&gt;
&lt;P&gt;CoreSession.getChildren() API taking on input a type name, a Filter etc.. doesn't seem to work if I make a get call for all A-type children: no objects returned. Putting a concrete type instead (for example, B) returns all B-type children.&lt;/P&gt;
&lt;P&gt;No errors in the log (I haven't checked for debug traces).&lt;/P&gt;
&lt;P&gt;Is it a known limitation or issue?
If not, can somebody from Nuxeo team please check if it's reproducible?
What can I do otherwise?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2013 14:55:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327742#M14743</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2013-06-12T14:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo EP 5.6: CoreSession.getChildren() method doesn't work with a type filter on a base class?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327743#M14744</link>
      <description>&lt;P&gt;can someone from nuxeo state the expected behavior? May be my usage of  the method is wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 16:42:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327743#M14744</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2013-06-13T16:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo EP 5.6: CoreSession.getChildren() method doesn't work with a type filter on a base class?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327744#M14745</link>
      <description>&lt;P&gt;Normal :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;getChildren do a "SELECT * FROM Document WHERE ecm:primaryType = 'A'" =&amp;gt; no doctype explosion&lt;/LI&gt;
&lt;LI&gt;if you want what I understand do a CoreSession.query("SELECT * FROM A") instead.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 15:08:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327744#M14745</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2013-06-14T15:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo EP 5.6: CoreSession.getChildren() method doesn't work with a type filter on a base class?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327745#M14746</link>
      <description>&lt;P&gt;The &lt;CODE&gt;getChildren&lt;/CODE&gt; APIs only match exact types, and do not use the subtype hierarchy.&lt;/P&gt;
&lt;P&gt;Also, the use of the &lt;CODE&gt;getChildren&lt;/CODE&gt; APIs is discouraged because they do not scale. As mentioned by @bjalon, you should use a query, which provides ways to do batching.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2013 16:20:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-ep-5-6-coresession-getchildren-method-doesn-t-work-with-a/m-p/327745#M14746</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-06-19T16:20:31Z</dc:date>
    </item>
  </channel>
</rss>

