java/webservice/src/main/java/be/bosa/dt/best/webservice/Repository.java
/**
	 * Add paginate / limit clause to SQL query, optionally start after last ID of previous page
	 * 
	 * @param lst list of SQL parameter values
	 * @param qry SQL query
	 * @param afterID last ID on previous result page
	 */
Add paginate / limit clause to SQL query, optionally start after last ID of previous page

@param lst list of SQL parameter values
@param qry SQL query
@param afterID last ID on previous result page
Add paginate / limit clause to SQL query optionally start after last ID of previous page @param lst list of SQL parameter values @param qry SQL query @param afterID last ID on previous result page
private static void paginate(List lst, Sql qry, String afterId) {
		if (afterId != null) {
			qry.paginate();
			lst.add(afterId);
		} else {
			qry.limit();
		}
		lst.add(PAGE_LIMIT);
	}
private static void paginate ( List lst , Sql qry , String afterId ) { if ( afterId != null ) { qry . paginate ( ) ; lst . add ( afterId ) ; } else { qry . limit ( ) ; } lst . add ( PAGE_LIMIT ) ; }
Add paginate / limit clause to SQL query, optionally start after last ID of previous page
Add paginate / limit clause to SQL query optionally start after last ID of previous page