return new Formula(Operator.AND, conditions);
}
}
private static String getAttributeCondition(Attribute attribute) {
JcrOperator operator = JcrOperator.getSelectorOperator(attribute.getOperator());
String value = StringUtils.replace(attribute.getValue(), "'", "''");
return operator.getJcrQueryFragment(attribute.getKey(), value);
}