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 SearchFilterType filter, @NotNull Class<? extends Containerable> clazz) throws SchemaException
- Throws:
SchemaException
-
parseFilter
ObjectFilter parseFilter(@NotNull SearchFilterType filter, @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.- Parameters:
xfilter
-pc
-- Throws:
SchemaException
-
createObjectQuery
<O extends Objectable> ObjectQuery createObjectQuery(Class<O> clazz, QueryType queryType) throws SchemaException
- Throws:
SchemaException
-
createObjectQuery
<O extends Objectable> ObjectQuery createObjectQuery(Class<O> clazz, SearchFilterType filterType) throws SchemaException
- Throws:
SchemaException
-
createSearchFilterType
SearchFilterType createSearchFilterType(ObjectFilter filter) throws SchemaException
- Throws:
SchemaException
-
createObjectFilter
<O extends Objectable> ObjectFilter createObjectFilter(Class<O> clazz, SearchFilterType filterType) throws SchemaException
- Throws:
SchemaException
-
createObjectFilter
<O extends Objectable> ObjectFilter createObjectFilter(PrismObjectDefinition<O> objectDefinition, SearchFilterType filterType) throws SchemaException
- Throws:
SchemaException
-
serializeFilter
MapXNode serializeFilter(ObjectFilter filter) throws SchemaException
- Throws:
SchemaException
-
createQueryType
QueryType createQueryType(ObjectQuery query) throws SchemaException
- Throws:
SchemaException
-
-