public void advancePagination ( ) { if ( pagination . isPaginated ( ) ) { pagination = new Pagination ( pagination . getStrategy ( ) , pagination . getOffset ( ) + pagination . getLimit ( ) , pagination . getLimit ( ) ) ; } }
Advances the pagination based on the previous pagination settings . This is purely a convenience method as the method by itself is not aware of the query being executed the result count etc .