Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter,
BigInteger maxItems, BigInteger skipCount, ExtensionsData extension) {
DiscoveryServicePort port = portProvider.getDiscoveryServicePort();
try {
return convert(port.query(repositoryId, statement, searchAllVersions, includeAllowableActions,
convert(EnumIncludeRelationships.class, includeRelationships), renditionFilter, maxItems,
skipCount, convert(extension)));
} catch (CmisException e) {
throw convertException(e);
} catch (Exception e) {