use of com.evolveum.midpoint.prism.impl.polystring.AlphanumericPolyStringNormalizer in project midpoint by Evolveum.
the class ObjectQueryUtil method createNormNameQuery.
public static ObjectQuery createNormNameQuery(PolyString name, PrismContext prismContext) {
PolyStringNormalizer normalizer = new AlphanumericPolyStringNormalizer();
name.recompute(normalizer);
return prismContext.queryFor(ObjectType.class).item(ObjectType.F_NAME).eq(name).matchingNorm().build();
}
Aggregations