<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>retrieve recent records</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117347485" />
  <subtitle>retrieve recent records</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117347485</id>
  <updated>2026-04-05T04:16:00Z</updated>
  <dc:date>2026-04-05T04:16:00Z</dc:date>
  <entry>
    <title>RE: retrieve recent records</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117349170" />
    <author>
      <name>pradip choudhari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117349170</id>
    <updated>2019-10-04T09:00:25Z</updated>
    <published>2019-10-04T09:00:25Z</published>
    <summary type="html">Hi Mohammed ,&lt;br /&gt;Thanks for the good suggestions . I will check this approch &lt;br /&gt;Thanks &amp;amp; Regards ,&lt;br /&gt;Pradip</summary>
    <dc:creator>pradip choudhari</dc:creator>
    <dc:date>2019-10-04T09:00:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: retrieve recent records</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117349590" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117349590</id>
    <updated>2019-10-03T16:33:41Z</updated>
    <published>2019-10-03T16:33:41Z</published>
    <summary type="html">Hi,&lt;br /&gt;You can user this UserLocalServiceUtil.getUsers(companyId, defaultUser, status, start, end, obc) and in obc (OrderByCompator ) you can give created date or userId in descending order.&lt;br /&gt;You can refer this for OrderByComparator&lt;a href="http://liferaytutorial.blogspot.com/2013/12/order-by-comparator.html"&gt;http://liferaytutorial.blogspot.com/2013/12/order-by-comparator.html&lt;/a&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2019-10-03T16:33:41Z</dc:date>
  </entry>
  <entry>
    <title>retrieve recent records</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117347484" />
    <author>
      <name>pradip choudhari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117347484</id>
    <updated>2019-10-03T14:45:28Z</updated>
    <published>2019-10-03T14:45:28Z</published>
    <summary type="html">Hello Guys , &lt;br /&gt;Whenever we use  UserLocalServiceUtil.getUsers(0, UserLocalServiceUtil.getUsersCount()); then we get List of all users But how can we retrieve recently inserted record wise &lt;br /&gt; </summary>
    <dc:creator>pradip choudhari</dc:creator>
    <dc:date>2019-10-03T14:45:28Z</dc:date>
  </entry>
</feed>
