Interface QueryFactory
- All Known Implementing Classes:
QueryFactoryImpl
public interface QueryFactory
TODO it is still unclear if this interface will be officially supported.
It is strongly advised to use QueryBuilder to create filters.
This factory should be limited to create the most simple filters ... for example when the performance is critical.
-
Method Summary
Modifier and TypeMethodDescription@NotNull AndFilter
createAnd
(ObjectFilter... conditions) @NotNull AndFilter
createAnd
(List<ObjectFilter> conditions) default @NotNull ObjectFilter
createAndOptimized
(ObjectFilter... conditions) default @NotNull ObjectFilter
createAndOptimized
(List<ObjectFilter> conditions) <T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule) Deprecated.<T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull ExpressionWrapper expression) Deprecated.<T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull PrismContext prismContext, Object... values) Deprecated.<T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition) Deprecated.<C extends Containerable>
ExistsFiltercreateExists
(ItemPath path, Class<C> containerType, PrismContext prismContext, ObjectFilter inner) Deprecated.<T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) Deprecated.<T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ExpressionWrapper wrapper, boolean equals) Deprecated.<T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) Deprecated.<T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull PrismContext prismContext) Deprecated.@NotNull InOidFilter
createInOid
(String... oids) Deprecated.@NotNull InOidFilter
createInOid
(Collection<String> oids) Deprecated.<T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) Deprecated.<T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ExpressionWrapper expressionWrapper, boolean equals) Deprecated.<T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) Deprecated.<T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull PrismContext prismContext) Deprecated.@NotNull NotFilter
createNot
(ObjectFilter inner) @NotNull OrFilter
createOr
(ObjectFilter... conditions) @NotNull OrFilter
createOr
(List<ObjectFilter> conditions) @NotNull ObjectOrdering
createOrdering
(ItemPath orderBy, OrderDirection direction) @NotNull OrgFilter
createOrg
(PrismReferenceValue baseOrgRef, OrgFilter.Scope scope) Deprecated.@NotNull OrgFilter
createOrg
(String baseOrgOid, OrgFilter.Scope scope) Deprecated.default @NotNull ObjectFilter
createOrOptimized
(List<ObjectFilter> conditions) @NotNull InOidFilter
createOwnerHasOidIn
(String... oids) Deprecated.@NotNull InOidFilter
createOwnerHasOidIn
(Collection<String> oids) Deprecated.@NotNull ObjectPaging
@NotNull ObjectPaging
createPaging
(ItemPath orderBy, OrderDirection direction) @NotNull ObjectPaging
createPaging
(Integer offset, Integer maxSize) @NotNull ObjectPaging
createPaging
(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction) @NotNull ObjectPaging
createPaging
(Integer offset, Integer maxSize, List<ObjectOrdering> orderings) @NotNull ObjectQuery
@NotNull ObjectQuery
createQuery
(ObjectFilter filter) @NotNull ObjectQuery
createQuery
(ObjectFilter filter, ObjectPaging paging) @NotNull ObjectQuery
createQuery
(ObjectPaging paging) @NotNull ObjectQuery
createQuery
(XNode condition, ObjectFilter filter) @NotNull RefFilter
createReferenceEqual
(ItemPath path, PrismReferenceDefinition definition, ExpressionWrapper expression) Deprecated.@NotNull RefFilter
createReferenceEqual
(ItemPath path, PrismReferenceDefinition definition, Collection<PrismReferenceValue> values) Deprecated.@NotNull OrgFilter
Deprecated.@NotNull TypeFilter
createType
(QName type, ObjectFilter filter)
-
Method Details
-
createAll
AllFilter createAll() -
createNone
NoneFilter createNone() -
createUndefined
ObjectFilter createUndefined() -
createEqual
@Deprecated @NotNull <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule) Deprecated. -
createEqual
@Deprecated @NotNull <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, @NotNull @NotNull PrismContext prismContext, Object... values) Deprecated. -
createEqual
@Deprecated @NotNull <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, @NotNull @NotNull ExpressionWrapper expression) Deprecated. -
createEqual
@Deprecated @NotNull <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition) Deprecated. -
createReferenceEqual
@NotNull @Deprecated @NotNull RefFilter createReferenceEqual(ItemPath path, PrismReferenceDefinition definition, Collection<PrismReferenceValue> values) Deprecated. -
createReferenceEqual
@NotNull @Deprecated @NotNull RefFilter createReferenceEqual(ItemPath path, PrismReferenceDefinition definition, ExpressionWrapper expression) Deprecated. -
createGreater
@NotNull @Deprecated <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) Deprecated. -
createGreater
@NotNull @Deprecated <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull @NotNull PrismContext prismContext) Deprecated. -
createGreater
@NotNull @Deprecated <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ExpressionWrapper wrapper, boolean equals) Deprecated. -
createGreater
@NotNull @Deprecated <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) Deprecated. -
createLess
@NotNull @Deprecated <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) Deprecated. -
createLess
@NotNull @Deprecated <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull @NotNull PrismContext prismContext) Deprecated. -
createLess
@NotNull @Deprecated <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ExpressionWrapper expressionWrapper, boolean equals) Deprecated. -
createLess
@NotNull @Deprecated <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) Deprecated. -
createAnd
-
createAnd
-
createAndOptimized
-
createAndOptimized
-
createOr
-
createOr
-
createOrOptimized
-
createNot
-
createExists
@Deprecated <C extends Containerable> ExistsFilter createExists(ItemPath path, Class<C> containerType, PrismContext prismContext, ObjectFilter inner) Deprecated. -
createInOid
Deprecated. -
createInOid
Deprecated. -
createOwnerHasOidIn
Deprecated. -
createOwnerHasOidIn
Deprecated. -
createOrg
@NotNull @Deprecated @NotNull OrgFilter createOrg(PrismReferenceValue baseOrgRef, OrgFilter.Scope scope) Deprecated. -
createOrg
Deprecated. -
createRootOrg
Deprecated. -
createType
-
createOrdering
-
createPaging
-
createPaging
@NotNull @NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction) -
createPaging
@NotNull @NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, List<ObjectOrdering> orderings) -
createPaging
-
createPaging
-
createQuery
-
createQuery
-
createQuery
-
createQuery
-
createQuery
-