private GridSettings createGridSettings(
      String name, Boolean string, Boolean stream, String languages) {
    GridSettings settings = new GridSettings();
    settings.setLanguages(languages);
    settings.setName(name);
    settings.setStream(stream);
    settings.setString(string);

    return settings;
  }
Пример #2
0
  private GridSettings createGridSettings(
      String name,
      Boolean string,
      Boolean stream,
      String languages,
      Integer rows,
      Integer page,
      String sortColumn,
      String sortDirection) {
    GridSettings settings = new GridSettings();
    settings.setLanguages(languages);
    settings.setName(name);
    settings.setStream(stream);
    settings.setString(string);

    settings.setPage(page);
    settings.setRows(rows);
    settings.setSortColumn(sortColumn);
    settings.setSortDirection(sortDirection);

    return settings;
  }