use of io.imunity.furms.ui.project_allocation.ProjectAllocationDataSnapshot in project furms by unity-idm.
the class ResourceAllocationsView method loadGridContent.
private void loadGridContent() {
handleExceptions(() -> {
projectDataSnapshot = new ProjectAllocationDataSnapshot(service.findAllInstallations(projectId), service.findAllUninstallations(projectId), service.findAllChunks(projectId), alarmService.findAll(projectId));
grid.setItems(loadServicesViewsModels());
});
}
use of io.imunity.furms.ui.project_allocation.ProjectAllocationDataSnapshot in project furms by unity-idm.
the class ProjectAllocationComponent method loadGridContent.
private void loadGridContent() {
handleExceptions(() -> {
projectDataSnapshot = new ProjectAllocationDataSnapshot(service.findAllInstallations(projectId), service.findAllUninstallations(projectId), service.findAllChunks(projectId));
final List<ProjectAllocationGridModel> items = loadServicesViewsModels();
items.stream().filter(grid::isDetailsVisible).findFirst().ifPresent(item -> grid.setDetailsVisible(item, false));
grid.setItems(items);
grid.getElement().executeJs("this.notifyResize()");
actionComponent.reload();
});
}
Aggregations