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
-
-
-
Method Detail
-
createAll
AllFilter createAll()
-
createNone
NoneFilter createNone()
-
createUndefined
ObjectFilter createUndefined()
-
createEqual
@NotNull <T> EqualFilter<T> createEqual(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule)
-
createEqual
@NotNull <T> EqualFilter<T> createEqual(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull PrismContext prismContext, Object... values)
-
createEqual
@NotNull <T> EqualFilter<T> createEqual(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull ExpressionWrapper expression)
-
createEqual
@NotNull <T> EqualFilter<T> createEqual(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition rightSideDefinition)
-
createReferenceEqual
@NotNull RefFilter createReferenceEqual(ItemPath path, PrismReferenceDefinition definition, Collection<PrismReferenceValue> values)
-
createReferenceEqual
@NotNull RefFilter createReferenceEqual(ItemPath path, PrismReferenceDefinition definition, ExpressionWrapper expression)
-
createGreater
@NotNull <T> GreaterFilter<T> createGreater(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals)
-
createGreater
@NotNull <T> GreaterFilter<T> createGreater(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull PrismContext prismContext)
-
createGreater
@NotNull <T> GreaterFilter<T> createGreater(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ExpressionWrapper wrapper, boolean equals)
-
createGreater
@NotNull <T> GreaterFilter<T> createGreater(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition rightSideDefinition, boolean equals)
-
createLess
@NotNull <T> LessFilter<T> createLess(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, boolean equals)
-
createLess
@NotNull <T> LessFilter<T> createLess(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, Object value, boolean equals, @NotNull PrismContext prismContext)
-
createLess
@NotNull <T> LessFilter<T> createLess(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ExpressionWrapper expressionWrapper, boolean equals)
-
createLess
@NotNull <T> LessFilter<T> createLess(@NotNull ItemPath path, PrismPropertyDefinition<T> definition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition rightSideDefinition, boolean equals)
-
createAnd
@NotNull AndFilter createAnd(ObjectFilter... conditions)
-
createAnd
@NotNull AndFilter createAnd(List<ObjectFilter> conditions)
-
createOr
@NotNull OrFilter createOr(ObjectFilter... conditions)
-
createOr
@NotNull OrFilter createOr(List<ObjectFilter> conditions)
-
createNot
@NotNull NotFilter createNot(ObjectFilter inner)
-
createExists
<C extends Containerable> ExistsFilter createExists(ItemName path, Class<C> containerType, PrismContext prismContext, ObjectFilter inner)
-
createInOid
@NotNull InOidFilter createInOid(Collection<String> oids)
-
createInOid
@NotNull InOidFilter createInOid(String... oids)
-
createOwnerHasOidIn
@NotNull InOidFilter createOwnerHasOidIn(Collection<String> oids)
-
createOwnerHasOidIn
@NotNull InOidFilter createOwnerHasOidIn(String... oids)
-
createOrg
@NotNull OrgFilter createOrg(PrismReferenceValue baseOrgRef, OrgFilter.Scope scope)
-
createOrg
@NotNull OrgFilter createOrg(String baseOrgOid, OrgFilter.Scope scope)
-
createRootOrg
@NotNull OrgFilter createRootOrg()
-
createType
@NotNull TypeFilter createType(QName type, ObjectFilter filter)
-
createOrdering
@NotNull ObjectOrdering createOrdering(ItemPath orderBy, OrderDirection direction)
-
createPaging
@NotNull ObjectPaging createPaging(Integer offset, Integer maxSize)
-
createPaging
@NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction)
-
createPaging
@NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, ItemPath groupBy)
-
createPaging
@NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction, ItemPath groupBy)
-
createPaging
@NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, List<ObjectOrdering> orderings)
-
createPaging
@NotNull ObjectPaging createPaging(Integer offset, Integer maxSize, List<ObjectOrdering> orderings, List<ObjectGrouping> groupings)
-
createPaging
@NotNull ObjectPaging createPaging(ItemPath orderBy, OrderDirection direction)
-
createPaging
@NotNull ObjectPaging createPaging(ItemPath orderBy, OrderDirection direction, ItemPath groupBy)
-
createPaging
@NotNull ObjectPaging createPaging(ItemPath groupBy)
-
createPaging
@NotNull ObjectPaging createPaging()
-
createQuery
@NotNull ObjectQuery createQuery()
-
createQuery
@NotNull ObjectQuery createQuery(ObjectFilter filter)
-
createQuery
@NotNull ObjectQuery createQuery(XNode condition, ObjectFilter filter)
-
createQuery
@NotNull ObjectQuery createQuery(ObjectPaging paging)
-
createQuery
@NotNull ObjectQuery createQuery(ObjectFilter filter, ObjectPaging paging)
-
-