@SuppressWarnings("rawtypes") public DataResponse paginateList(Map<String,String> requestParams,Query query,String defaultSort,Map<String,QueryProperty> properties){
  return paginateList(requestParams,null,query,defaultSort,properties);
}

@ SuppressWarnings ( "rawtypes" ) public DataResponse paginateList ( Map < String , String > requestParams , Query query , String defaultSort , Map < String , QueryProperty > properties ) { return paginateList ( requestParams , null , query , defaultSort , properties ) ; }
uses the pagination parameters from the request and makes sure to order the result and set all pagination attributes for the response to render
