context.getIncludeRelationships(), context.getRenditionFilterString(), context.isIncludePolicies(),
context.isIncludeAcls(), null);
ObjectFactory objectFactory = getSession().getObjectFactory();
CmisObject result = objectFactory.convertObject(objectData, context);
if (!(result instanceof Document)) {
throw new CmisRuntimeException("Latest version is not a document!");
}
return (Document) result;