cancel
Showing results for 
Search instead for 
Did you mean: 

Task List and Pagination

agrawalanish
Champ in-the-making
Champ in-the-making


How to make pagination work with task list? Whether we need to explicitly call count() method on Query interface to know total number of available records?

Please suggest its urgent.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

try to use

  /** Executes the query and get a list of entities as the result. */
  List<U> listPage(int firstResult, int maxResults);

to get count of all recordss in the query, you can use .count()

Regards
Martin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.