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
Constructors Constructor Description CompleteQuery(@NotNull Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump(int indent)
Collection<SelectorOptions<GetOperationOptions>>
getOptions()
ObjectQuery
getQuery()
@NotNull Class<T>
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 Detail
-
CompleteQuery
public CompleteQuery(@NotNull @NotNull Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options)
-
-
Method Detail
-
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)
-
getQuery
public ObjectQuery getQuery()
-
getOptions
public Collection<SelectorOptions<GetOperationOptions>> getOptions()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-