Class CompleteQuery<T extends ObjectType>
java.lang.Object
com.evolveum.midpoint.repo.api.query.CompleteQuery<T>
- All Implemented Interfaces:
DebugDumpable
@Experimental
public class CompleteQuery<T extends ObjectType>
extends Object
implements DebugDumpable
Wraps everything we need to count or look for objects.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionCompleteQuery
(@NotNull Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options) -
Method Summary
Modifier and TypeMethodDescriptiondebugDump
(int indent) getQuery()
getType()
static CompleteQuery<?>
inOid
(Collection<PrismReferenceValue> references, PrismContext prismContext) static <T extends ObjectType>
CompleteQuery<T>none
(Class<T> type, PrismContext prismContext) static @NotNull CompleteQuery<?>
or
(List<CompleteQuery<?>> completeQueries, PrismContext prismContext) Composes complete queries into single "OR" query.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.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
CompleteQuery
public CompleteQuery(@NotNull @NotNull Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options)
-
-
Method Details
-
or
@NotNull public static @NotNull CompleteQuery<?> or(List<CompleteQuery<?>> completeQueries, PrismContext prismContext) Composes complete queries into single "OR" query. Requires compatible paging and options. (Currently no paging nor options is allowed.) -
inOid
public static CompleteQuery<?> inOid(Collection<PrismReferenceValue> references, PrismContext prismContext) -
none
public static <T extends ObjectType> CompleteQuery<T> none(Class<T> type, PrismContext prismContext) -
getType
-
getQuery
-
getOptions
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-