if (showAllEntities && entities != null)  { int rowsPerPage; return ((rowsPerPage = entities.size()) > MAX_ROWS_PER_PAGE) ? MAX_ROWS_PER_PAGE : rowsPerPage; }
  private int getNumberOfRowsPerPage(MultiEntityPropertyHandler multiPropertyHandler) {    if (! acceptUserSettings) {      return defaultNumberOfRowsPerPage;    }    int rows = multiPropertyHandler.getNumberOfRowsPerPage();    if (rows == EntityPropertyHandler.NUMBER_OF_ROWS_PER_PAGE_NOT_SET)      return defaultNumberOfRowsPerPage;    return rows;  }