PageResponse<PermissionsPageRow> response = new PageResponse<PermissionsPageRow>();
response.setStartRowIndex( request.getStartRowIndex() );
response.setTotalRowSize( permissions.size() );
response.setTotalRowSizeExact( true );
PermissionPageRowBuilder permissionPageRowBuilder = new PermissionPageRowBuilder();
List<PermissionsPageRow> rowList = permissionPageRowBuilder.createRows( request,
permissions );
response.setPageRowList( rowList );
response.setLastPage( (rowList.size() + request.getStartRowIndex()) == permissions.size() );
long methodDuration = System.currentTimeMillis() - start;