Esempio n. 1
0
 protected QueryObjectModel createQuery(Ordering[] orderings) throws RepositoryException {
   JoinCondition c = qf.equiJoinCondition(LEFT, propertyName1, RIGHT, propertyName2);
   QueryObjectModel qom = createQuery(QueryObjectModelConstants.JCR_JOIN_TYPE_INNER, c);
   return qf.createQuery(qom.getSource(), qom.getConstraint(), orderings, qom.getColumns());
 }