@QueryParam("offset") Integer offset) throws WebApplicationException {
return getTModelSearch(name, lang, findQualifiers, maxrows, offset);
}
private UriContainer getEndpointsByService(String id) throws WebApplicationException {
UriContainer c = new UriContainer();
List<String> ret = new ArrayList<String>();
GetServiceDetail fs = new GetServiceDetail();
fs.getServiceKey().add(id);
try {
ServiceDetail serviceDetail = inquiry.getServiceDetail(fs);
if (serviceDetail == null || serviceDetail.getBusinessService().isEmpty()) {
throw new WebApplicationException(400);
} else {
List<String> endpoints = GetEndpoints(serviceDetail, null);
ret.addAll(endpoints);
}
} catch (DispositionReportFaultMessage ex) {
HandleException(ex);
}
c.setUriList(ret);
return c;
}