} else {
link = loadTypeLink(repositoryId, typeId, Constants.REL_DOWN, Constants.MEDIATYPE_CHILDREN);
}
if (link == null) {
throw new CmisObjectNotFoundException("Unknown repository or type!");
}
UrlBuilder url = new UrlBuilder(link);
url.addParameter(Constants.PARAM_TYPE_ID, typeId);
url.addParameter(Constants.PARAM_PROPERTY_DEFINITIONS, includePropertyDefinitions);