throws Exception {
OperationContext queryContext = new OperationContextImpl(null, false, false, false, IncludeRelationships.NONE,
null, false, null, false, maxHits);
Session session = clientSession.getSession();
return session.query(q, searchAllVersions, queryContext);
}
public synchronized List<Tree<ObjectType>> getTypeDescendants() throws Exception {
Session session = clientSession.getSession();
return session.getTypeDescendants(null, -1, true);