maxItems = getBigIntegerParameter(request, Constants.PARAM_MAX_ITEMS);
skipCount = getBigIntegerParameter(request, Constants.PARAM_SKIP_COUNT);
statusCode = HttpServletResponse.SC_OK;
} else {
throw new CmisRuntimeException("Invalid HTTP method!");
}
// execute
ObjectList results = service.query(repositoryId, statement, searchAllVersions, includeAllowableActions,
includeRelationships, renditionFilter, maxItems, skipCount, null);
if (results == null) {
throw new CmisRuntimeException("Results are null!");
}
// set headers
UrlBuilder baseUrl = compileBaseUrl(request, repositoryId);