: Constants.TEMPLATE_OBJECT_BY_PATH), parameters);
if (link == null) {
throw new CmisObjectNotFoundException("Unknown repository!");
}
UrlBuilder url = new UrlBuilder(link);
// workaround for missing template parameter in the CMIS spec
if (returnVersion != null && returnVersion != ReturnVersion.THIS) {
url.addParameter(Constants.PARAM_RETURN_VERSION, returnVersion);
}
// read and parse
HttpUtils.Response resp = read(url);
AtomEntry entry = parse(resp.getStream(), AtomEntry.class);