use of io.imunity.furms.domain.user_site_access.UsersSitesAccesses in project furms by unity-idm.
the class SitesView method loadGridContent.
private void loadGridContent() {
UsersSitesAccesses usersSitesAccesses = userSiteAccessService.getUsersSitesAccesses(projectId);
Set<SiteTreeGridModel> rootItems = loadData();
Set<SiteTreeGridModel> currentExpandedItems = rootItems.stream().filter(grid::isExpanded).collect(Collectors.toSet());
grid.setItems(rootItems, key -> loadNextLevelData(usersSitesAccesses, key));
grid.expand(currentExpandedItems);
}
Aggregations