private String activeLocationServiceLinks(ims.core.vo.ServiceVo voService)
{
LocationService impl = (LocationService) getDomainImpl(LocationServiceImpl.class);
LocationServiceVo voLocSer = new LocationServiceVo();
voLocSer.setService(voService);
voLocSer.setIsActive(new Boolean(true));
LocationServiceVoCollection voColl = impl.listLocationService(voLocSer);
if (voColl != null && voColl.size() > 0)
{
String activeMessage = "These " + ConfigFlag.UI.DISPLAY_NAME_LOCATION.getValue(true) + " contain active records for the " + ConfigFlag.UI.DISPLAY_NAME_SERVICE.getValue(false) + " : " + voService.getServiceName();
for (int i = 0; i < voColl.size(); i++)
{
activeMessage += "\r\n" + voColl.get(i).getLocation().getName();
}
return activeMessage;
}
else
return null;
}
ServiceImpl.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:openmaxims-linux
作者:
评论列表
文章目录