Class QueryConverterImpl
java.lang.Object
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl
- All Implemented Interfaces:
- QueryConverter
Note that expressions are not serialized yet.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateObjectFilter(ItemDefinition<?> objDef, SearchFilterType filterType) createObjectFilter(Class<?> clazz, SearchFilterType filterType) createObjectQuery(Class<?> clazz, QueryType queryType) createObjectQuery(Class<?> clazz, SearchFilterType filterType) createQueryType(ObjectQuery query) createSearchFilterType(ObjectFilter filter) parseFilter(@NotNull SearchFilterType filter, @NotNull ItemDefinition<?> def) parseFilter(@NotNull SearchFilterType filter, @NotNull Class<?> clazz) parseFilter(XNode xnode, Class<? extends Containerable> clazz) Used by XNodeProcessor and similar code that does not have complete schema for the filtervoidparseFilterPreliminarily(MapXNode xFilter, ParsingContext pc) Tries to parse as much from filter as possible, without knowing the definition of object(s) to which the filter will be applied.serializeFilter(ObjectFilter filter) 
- 
Constructor Details- 
QueryConverterImpl
 
- 
- 
Method Details- 
parseFilterpublic ObjectFilter parseFilter(XNode xnode, Class<? extends Containerable> clazz) throws SchemaException Used by XNodeProcessor and similar code that does not have complete schema for the filter- Specified by:
- parseFilterin interface- QueryConverter
- Throws:
- SchemaException
 
- 
parseFilterpublic ObjectFilter parseFilter(@NotNull @NotNull SearchFilterType filter, @NotNull @NotNull Class<?> clazz) throws SchemaException - Specified by:
- parseFilterin interface- QueryConverter
- Throws:
- SchemaException
 
- 
parseFilterpublic ObjectFilter parseFilter(@NotNull @NotNull SearchFilterType filter, @NotNull @NotNull ItemDefinition<?> def) throws SchemaException - Specified by:
- parseFilterin interface- QueryConverter
- Throws:
- SchemaException
 
- 
serializeFilter- Specified by:
- serializeFilterin interface- QueryConverter
- Throws:
- SchemaException
 
- 
parseFilterPreliminarilyTries to parse as much from filter as possible, without knowing the definition of object(s) to which the filter will be applied. It is used mainly to parse path specifications, in order to avoid namespace loss when serializing raw (unparsed) paths and QNames - see MID-1969.- Specified by:
- parseFilterPreliminarilyin interface- QueryConverter
- Throws:
- SchemaException
 
- 
createObjectQuery- Specified by:
- createObjectQueryin interface- QueryConverter
- Throws:
- SchemaException
 
- 
createObjectQuerypublic ObjectQuery createObjectQuery(Class<?> clazz, SearchFilterType filterType) throws SchemaException - Specified by:
- createObjectQueryin interface- QueryConverter
- Throws:
- SchemaException
 
- 
createObjectFilterpublic ObjectFilter createObjectFilter(Class<?> clazz, SearchFilterType filterType) throws SchemaException - Specified by:
- createObjectFilterin interface- QueryConverter
- Throws:
- SchemaException
 
- 
createObjectFilterpublic ObjectFilter createObjectFilter(ItemDefinition<?> objDef, SearchFilterType filterType) throws SchemaException - Specified by:
- createObjectFilterin interface- QueryConverter
- Throws:
- SchemaException
 
- 
createQueryType@Contract("null -> null; !null -> !null") public QueryType createQueryType(ObjectQuery query) throws SchemaException - Specified by:
- createQueryTypein interface- QueryConverter
- Throws:
- SchemaException
 
- 
createSearchFilterType- Specified by:
- createSearchFilterTypein interface- QueryConverter
- Throws:
- SchemaException
 
 
-