public FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions,
UnfileObject unfileObjects, Boolean continueOnFailure, ExtensionsData extension) {
ObjectServicePort port = fPortProvider.getObjectServicePort();
try {
return convert(port.deleteTree(repositoryId, folderId, allVersions, convert(EnumUnfileObject.class,
unfileObjects), continueOnFailure, convert(extension)));
} catch (CmisException e) {
throw convertException(e);
} catch (Exception e) {
throw new CmisRuntimeException("Error: " + e.getMessage(), e);