BigInteger maxItems, BigInteger skipCount, CmisExtensionType extension) throws CmisException {
CmisService service = null;
try {
service = getService(wsContext, repositoryId);
return convert(service.query(repositoryId, statement, searchAllVersions, includeAllowableActions, convert(
IncludeRelationships.class, includeRelationships), renditionFilter, maxItems, skipCount,
convert(extension)));
} catch (Exception e) {
throw convertException(e);
} finally {