Interface QueryConverter
-
- All Known Implementing Classes:
QueryConverterImpl
public interface QueryConverter
TODO cleanup this interface
-
-
Method Summary
-
-
-
Method Detail
-
parseFilter
ObjectFilter parseFilter(XNode xnode, Class<? extends Containerable> clazz) throws SchemaException
- Throws:
SchemaException
-
parseFilter
ObjectFilter parseFilter(@NotNull @NotNull SearchFilterType filter, @NotNull @NotNull Class<? extends Containerable> clazz) throws SchemaException
- Throws:
SchemaException
-
parseFilter
ObjectFilter parseFilter(@NotNull @NotNull SearchFilterType filter, @NotNull @NotNull PrismContainerDefinition<?> objDef) throws SchemaException
- Throws:
SchemaException
-
parseFilterPreliminarily
void parseFilterPreliminarily(MapXNode xfilter, ParsingContext pc) throws SchemaException
Tries 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.- Throws:
SchemaException
-
createObjectQuery
<C extends Containerable> ObjectQuery createObjectQuery(Class<C> clazz, QueryType queryType) throws SchemaException
- Throws:
SchemaException
-
createObjectQuery
<C extends Containerable> ObjectQuery createObjectQuery(Class<C> clazz, SearchFilterType filterType) throws SchemaException
- Throws:
SchemaException
-
createSearchFilterType
SearchFilterType createSearchFilterType(ObjectFilter filter) throws SchemaException
- Throws:
SchemaException
-
createObjectFilter
<C extends Containerable> ObjectFilter createObjectFilter(Class<C> clazz, SearchFilterType filterType) throws SchemaException
- Throws:
SchemaException
-
createObjectFilter
<C extends Containerable> ObjectFilter createObjectFilter(PrismContainerDefinition<C> containerDefinition, SearchFilterType filterType) throws SchemaException
- Throws:
SchemaException
-
serializeFilter
MapXNode serializeFilter(ObjectFilter filter) throws SchemaException
- Throws:
SchemaException
-
createQueryType
@Contract("null -> null; !null -> !null") QueryType createQueryType(ObjectQuery query) throws SchemaException
- Throws:
SchemaException
-
-