use of com.evolveum.midpoint.provisioning.ucf.impl.connid.query.FilterInterpreter in project midpoint by Evolveum.
the class ConnectorInstanceConnIdImpl method convertFilterToIcf.
private Filter convertFilterToIcf(ObjectQuery query, ObjectClassComplexTypeDefinition objectClassDefinition) throws SchemaException {
Filter filter = null;
if (query != null && query.getFilter() != null) {
FilterInterpreter interpreter = new FilterInterpreter(objectClassDefinition);
LOGGER.trace("Start to convert filter: {}", query.getFilter().debugDump());
filter = interpreter.interpret(query.getFilter(), connIdNameMapper);
if (LOGGER.isTraceEnabled()) {
LOGGER.trace("ICF filter: {}", ConnIdUtil.dump(filter));
}
}
return filter;
}
Aggregations