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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description AllFilter
createAll()
@NotNull AndFilter
createAnd(ObjectFilter... conditions)
@NotNull AndFilter
createAnd(List<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.NoneFilter
createNone()
@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
createPaging()
@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
createQuery()
@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
createRootOrg()
Deprecated.@NotNull TypeFilter
createType(QName type, ObjectFilter filter)
ObjectFilter
createUndefined()
-
-
-
Method Detail
-
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
@NotNull @NotNull AndFilter createAnd(ObjectFilter... conditions)
-
createAnd
@NotNull @NotNull AndFilter createAnd(List<ObjectFilter> conditions)
-
createAndOptimized
@NotNull default @NotNull ObjectFilter createAndOptimized(List<ObjectFilter> conditions)
-
createOr
@NotNull @NotNull OrFilter createOr(ObjectFilter... conditions)
-
createOr
@NotNull @NotNull OrFilter createOr(List<ObjectFilter> conditions)
-
createOrOptimized
@NotNull default @NotNull ObjectFilter createOrOptimized(List<ObjectFilter> conditions)
-
createNot
@NotNull @NotNull NotFilter createNot(ObjectFilter inner)
-
createExists
@Deprecated <C extends Containerable> ExistsFilter createExists(ItemPath path, Class<C> containerType, PrismContext prismContext, ObjectFilter inner)
Deprecated.
-
createInOid
@NotNull @Deprecated @NotNull InOidFilter createInOid(Collection<String> oids)
Deprecated.
-
createInOid
@NotNull @Deprecated @NotNull InOidFilter createInOid(String... oids)
Deprecated.
-
createOwnerHasOidIn
@NotNull @Deprecated @NotNull InOidFilter createOwnerHasOidIn(Collection<String> oids)
Deprecated.
-
createOwnerHasOidIn
@NotNull @Deprecated @NotNull InOidFilter createOwnerHasOidIn(String... oids)
Deprecated.
-
createOrg
@NotNull @Deprecated @NotNull OrgFilter createOrg(PrismReferenceValue baseOrgRef, OrgFilter.Scope scope)
Deprecated.
-
createOrg
@NotNull @Deprecated @NotNull OrgFilter createOrg(String baseOrgOid, OrgFilter.Scope scope)
Deprecated.
-
createRootOrg
@NotNull @Deprecated @NotNull OrgFilter createRootOrg()
Deprecated.
-
createType
@NotNull @NotNull TypeFilter createType(QName type, ObjectFilter filter)
-
createOrdering
@NotNull @NotNull ObjectOrdering createOrdering(ItemPath orderBy, OrderDirection direction)
-
createPaging
@NotNull @NotNull ObjectPaging createPaging(Integer offset, Integer maxSize)
-
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
@NotNull @NotNull ObjectPaging createPaging(ItemPath orderBy, OrderDirection direction)
-
createPaging
@NotNull @NotNull ObjectPaging createPaging()
-
createQuery
@NotNull @NotNull ObjectQuery createQuery()
-
createQuery
@NotNull @NotNull ObjectQuery createQuery(ObjectFilter filter)
-
createQuery
@NotNull @NotNull ObjectQuery createQuery(XNode condition, ObjectFilter filter)
-
createQuery
@NotNull @NotNull ObjectQuery createQuery(ObjectPaging paging)
-
createQuery
@NotNull @NotNull ObjectQuery createQuery(ObjectFilter filter, ObjectPaging paging)
-
-