List < Order > function ( GridSettings arg0 , Map < String , Object > arg1 ) { if ( arg0 . getSortColumn ( ) != null && ! arg0 . getSortColumn ( ) . isEmpty ( ) ) { return orderListFromGridSettings ( arg0 ) ; } else if ( arg1 != null ) { return orderListForLookup ( arg1 ) ; } else { return Collections . singletonList ( orderIdAsc ( ) ) ; } }
builds an order list from the provided grid settings and lookup map . can be used if we want to provide the paging information manually . concode_field_sep int DEFAULT_PAGE concode_elem_sep int DEFAULT_PAGE_SIZE concode_field_sep Order orderIdAsc concode_elem_sep QueryParams buildQueryParams concode_elem_sep QueryParams buildQueryParams concode_elem_sep QueryParams buildQueryParams concode_elem_sep List<Order> orderListForLookup concode_elem_sep List<Order> orderListFromGridSettings