<?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 Get childs node paginated in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/46999#M18597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're currently getting all child nodes using this java code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NodeRef nodeRef = ...;&lt;/P&gt;&lt;P&gt;AlfrescoModelAssocList childAssocs =&amp;nbsp;new AlfrescoModelAssocList(nodeService.getChildAssocs(nodeRef);&lt;/P&gt;&lt;P&gt;for (AlfrescoModelAssoc childAssoc : childAssocs) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; /*...*/&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're are looking up a way to get those children nodes, but using pagination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to get it?&lt;/P&gt;&lt;P&gt;We're using 4.2.f version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2019 11:12:52 GMT</pubDate>
    <dc:creator>nonets</dc:creator>
    <dc:date>2019-03-11T11:12:52Z</dc:date>
    <item>
      <title>Get childs node paginated</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/46999#M18597</link>
      <description>We're currently getting all child nodes using this java code:NodeRef nodeRef = ...;AlfrescoModelAssocList childAssocs =&amp;nbsp;new AlfrescoModelAssocList(nodeService.getChildAssocs(nodeRef);for (AlfrescoModelAssoc childAssoc : childAssocs) {&amp;nbsp; &amp;nbsp; /*...*/}We're are looking up a way to get those children nodes</description>
      <pubDate>Mon, 11 Mar 2019 11:12:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/46999#M18597</guid>
      <dc:creator>nonets</dc:creator>
      <dc:date>2019-03-11T11:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get childs node paginated</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/47000#M18598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only service API which provides pagination for child elements is the FileFolderService#list operation, which inherently restricts the potential child node types to regular cm:folder, cm:content and their sub-types, with the exclusion of cm:systemfolder and sub-types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 21:22:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/47000#M18598</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-03-11T21:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get childs node paginated</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/47001#M18599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;You could try to encapsulate the call to &lt;SPAN&gt;getChildAssocs&amp;nbsp;&lt;/SPAN&gt;in a function that accept a PagingRequest parameter and return a PagingResults value.&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;You must handle yourself the creation of the object PagingResults in the new function.&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 23:34:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/47001#M18599</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-03-11T23:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get childs node paginated</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/47002#M18600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please provide any atraightforward helping code about how to get it.&lt;/P&gt;&lt;P&gt;Please, also remember I'm using 4.2.f java code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 07:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-childs-node-paginated/m-p/47002#M18600</guid>
      <dc:creator>nonets</dc:creator>
      <dc:date>2019-03-12T07:19:44Z</dc:date>
    </item>
  </channel>
</rss>

