use of cz.metacentrum.perun.core.api.RichFacility in project perun by CESNET.
the class FacilitiesManagerBlImpl method getRichFacilities.
@Override
public List<RichFacility> getRichFacilities(PerunSession perunSession, List<Facility> facilities) {
List<RichFacility> richFacilities = new ArrayList<>();
if (facilities == null || facilities.isEmpty())
return richFacilities;
else {
for (Facility f : facilities) {
List<Owner> fOwners = this.getOwners(perunSession, f);
RichFacility rf = new RichFacility(f, fOwners);
richFacilities.add(rf);
}
}
return richFacilities;
}
Aggregations