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