public static Page < Computer > page ( int page , int pageSize , String sortBy , String order , String filter ) { return find . where ( ) . ilike ( "name" , "%" + filter + "%" ) . orderBy ( sortBy + " " + order ) . fetch ( "company" ) . findPagingList ( pageSize ) . getPage ( page ) ; }
Return a page of computer