public LocationServiceMidVoCollection listLocationServiceLite(LocationRefVo voLocation) { DomainFactory factory = getDomainFactory(); if (voLocation == null) return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(factory.listDomainObjects(LocationService.class)).sort(); if (voLocation.getID_LocationIsNotNull()) { java.util.List servactList = factory.find("from LocationService locService where locService.location.id = :locationId", new String[]{"locationId"}, new Object[]{voLocation.getID_Location()}); return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(servactList).sort(); } return null; }