/**
* expects parameters returns null if the parameters are not set
*/
public LocationServiceVoCollection listServicesForLocation(LocationRefVo location, ServiceVo service)
{
DomainFactory factory = getDomainFactory();
if (location == null || service == null)
return null;
if (location.getID_LocationIsNotNull() && service.getID_ServiceIsNotNull())
{
java.util.List servactList = factory.find("from LocationService locService where locService.location.id = :locationId and locService.service.id = :serviceId", new String[]{"locationId", "serviceId"}, new Object[]{location.getID_Location(), service.getID_Service()});
return LocationServiceVoAssembler.createLocationServiceVoCollectionFromLocationService(servactList).sort();
}
return null;
}
LocationServiceImpl.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:openMAXIMS
作者:
评论列表
文章目录