@Override
@Transactional(readOnly = true)
public ResourceLoadDisplayData calculateDataToDisplay(
ResourceLoadParameters parameters) {
PlanningState planningState = parameters.getPlanningState();
if (planningState != null) {
planningState.reattach();
planningState.reassociateResourcesWithSession();
}
ResourceAllocationsFinder<?> allocationsFinder = create(parameters);
List<LoadTimeLine> loadTimeLines = allocationsFinder.buildTimeLines();
return new ResourceLoadDisplayData(loadTimeLines,
parameters.getInitDateFilter(),