Class QueryFactoryImpl
java.lang.Object
com.evolveum.midpoint.prism.impl.query.QueryFactoryImpl
- All Implemented Interfaces:
QueryFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull AndFilter
createAnd
(ObjectFilter... conditions) @NotNull AndFilter
createAnd
(List<ObjectFilter> conditions) <T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule) <T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull ExpressionWrapper expression) <T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull PrismContext prismContext, Object... values) <T> @NotNull EqualFilter<T>
createEqual
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition) <C extends Containerable>
@NotNull ExistsFiltercreateExists
(ItemPath path, Class<C> containerType, PrismContext prismContext, ObjectFilter inner) <T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) <T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ExpressionWrapper wrapper, boolean equals) <T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) <T> @NotNull GreaterFilter<T>
createGreater
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull PrismContext prismContext) @NotNull InOidFilter
createInOid
(String... oids) @NotNull InOidFilter
createInOid
(Collection<String> oids) <T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) <T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ExpressionWrapper expressionWrapper, boolean equals) <T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) <T> @NotNull LessFilter<T>
createLess
(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull PrismContext prismContext) @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) @NotNull OrgFilter
createOrg
(String baseOrgOid, OrgFilter.Scope scope) @NotNull InOidFilter
createOwnerHasOidIn
(String... oids) @NotNull InOidFilter
createOwnerHasOidIn
(Collection<String> oids) @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) @NotNull RefFilter
createReferenceEqual
(ItemPath path, PrismReferenceDefinition definition, Collection<PrismReferenceValue> values) @NotNull OrgFilter
@NotNull TypeFilter
createType
(QName type, ObjectFilter filter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.query.QueryFactory
createAndOptimized, createAndOptimized, createOrOptimized
-
Constructor Details
-
QueryFactoryImpl
public QueryFactoryImpl()
-
-
Method Details
-
createAll
- Specified by:
createAll
in interfaceQueryFactory
-
createNone
- Specified by:
createNone
in interfaceQueryFactory
-
createUndefined
- Specified by:
createUndefined
in interfaceQueryFactory
-
createEqual
@NotNull public <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule) - Specified by:
createEqual
in interfaceQueryFactory
-
createEqual
@NotNull public <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, @NotNull @NotNull PrismContext prismContext, Object... values) - Specified by:
createEqual
in interfaceQueryFactory
-
createEqual
@NotNull public <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, @NotNull @NotNull ExpressionWrapper expression) - Specified by:
createEqual
in interfaceQueryFactory
-
createEqual
@NotNull public <T> @NotNull EqualFilter<T> createEqual(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition) - Specified by:
createEqual
in interfaceQueryFactory
-
createReferenceEqual
@NotNull public @NotNull RefFilter createReferenceEqual(ItemPath path, PrismReferenceDefinition definition, Collection<PrismReferenceValue> values) - Specified by:
createReferenceEqual
in interfaceQueryFactory
-
createReferenceEqual
@NotNull public @NotNull RefFilter createReferenceEqual(ItemPath path, PrismReferenceDefinition definition, ExpressionWrapper expression) - Specified by:
createReferenceEqual
in interfaceQueryFactory
-
createGreater
@NotNull public <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) - Specified by:
createGreater
in interfaceQueryFactory
-
createGreater
@NotNull public <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull @NotNull PrismContext prismContext) - Specified by:
createGreater
in interfaceQueryFactory
-
createGreater
@NotNull public <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ExpressionWrapper wrapper, boolean equals) - Specified by:
createGreater
in interfaceQueryFactory
-
createGreater
@NotNull public <T> @NotNull GreaterFilter<T> createGreater(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) - Specified by:
createGreater
in interfaceQueryFactory
-
createLess
@NotNull public <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals) - Specified by:
createLess
in interfaceQueryFactory
-
createLess
@NotNull public <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull @NotNull PrismContext prismContext) - Specified by:
createLess
in interfaceQueryFactory
-
createLess
@NotNull public <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ExpressionWrapper expressionWrapper, boolean equals) - Specified by:
createLess
in interfaceQueryFactory
-
createLess
@NotNull public <T> @NotNull LessFilter<T> createLess(@NotNull @NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition, boolean equals) - Specified by:
createLess
in interfaceQueryFactory
-
createAnd
- Specified by:
createAnd
in interfaceQueryFactory
-
createAnd
- Specified by:
createAnd
in interfaceQueryFactory
-
createOr
- Specified by:
createOr
in interfaceQueryFactory
-
createOr
- Specified by:
createOr
in interfaceQueryFactory
-
createNot
- Specified by:
createNot
in interfaceQueryFactory
-
createExists
@NotNull public <C extends Containerable> @NotNull ExistsFilter createExists(ItemPath path, Class<C> containerType, PrismContext prismContext, ObjectFilter inner) - Specified by:
createExists
in interfaceQueryFactory
-
createInOid
- Specified by:
createInOid
in interfaceQueryFactory
-
createInOid
- Specified by:
createInOid
in interfaceQueryFactory
-
createOwnerHasOidIn
- Specified by:
createOwnerHasOidIn
in interfaceQueryFactory
-
createOwnerHasOidIn
- Specified by:
createOwnerHasOidIn
in interfaceQueryFactory
-
createOrg
- Specified by:
createOrg
in interfaceQueryFactory
-
createOrg
- Specified by:
createOrg
in interfaceQueryFactory
-
createRootOrg
- Specified by:
createRootOrg
in interfaceQueryFactory
-
createType
- Specified by:
createType
in interfaceQueryFactory
-
createOrdering
- Specified by:
createOrdering
in interfaceQueryFactory
-
createPaging
- Specified by:
createPaging
in interfaceQueryFactory
-
createPaging
@NotNull public @NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction) - Specified by:
createPaging
in interfaceQueryFactory
-
createPaging
@NotNull public @NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, List<ObjectOrdering> orderings) - Specified by:
createPaging
in interfaceQueryFactory
-
createPaging
- Specified by:
createPaging
in interfaceQueryFactory
-
createPaging
- Specified by:
createPaging
in interfaceQueryFactory
-
createQuery
- Specified by:
createQuery
in interfaceQueryFactory
-
createQuery
- Specified by:
createQuery
in interfaceQueryFactory
-
createQuery
- Specified by:
createQuery
in interfaceQueryFactory
-
createQuery
- Specified by:
createQuery
in interfaceQueryFactory
-
createQuery
- Specified by:
createQuery
in interfaceQueryFactory
-