if (link == null) {
throwLinkException(repositoryId, folderId, Constants.REL_DOWN, Constants.MEDIATYPE_DESCENDANTS);
}
UrlBuilder url = new UrlBuilder(link);
url.addParameter(Constants.PARAM_ALL_VERSIONS, allVersions);
url.addParameter(Constants.PARAM_UNFILE_OBJECTS, unfileObjects);
url.addParameter(Constants.PARAM_CONTINUE_ON_FAILURE, continueOnFailure);
// make the call
HttpUtils.Response resp = HttpUtils.invokeDELETE(url, getSession());