Class SearchSpecification<C extends Containerable>
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.SearchSpecification<C>
- Type Parameters:
C- Type of items
- All Implemented Interfaces:
DebugDumpable,Cloneable
- Direct Known Subclasses:
ResourceSearchSpecification
public class SearchSpecification<C extends Containerable>
extends Object
implements DebugDumpable, Cloneable
"Compiled" specification of items that are to be processed by
SearchBasedActivityRun.
Basically, this is a grouping of type + query + options + "use repo" flag.
This object has writable fields, as it can be modified during activity run.
There is a subclass dedicated to searching for objects on a resource (`ResourceSearchSpecification`).
Note that the archetype present in ObjectSetType is intentionally not present here.
If present, it is included in the query.-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSearchSpecification(@NotNull SearchSpecification<C> prototype) SearchSpecification(@NotNull Class<C> type, @Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> searchOptions, @Nullable Boolean useRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(ObjectFilter filter) clone()debugDump(int indent) @Nullable ObjectQuerygetQuery()@Nullable GetOperationOptions@Nullable Collection<SelectorOptions<GetOperationOptions>>getType()booleanbooleanisRaw()booleanvoidsetQuery(@Nullable ObjectQuery query) voidsetSearchOptions(@Nullable Collection<SelectorOptions<GetOperationOptions>> searchOptions) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
SearchSpecification
public SearchSpecification(@NotNull @NotNull Class<C> type, @Nullable @Nullable ObjectQuery query, @Nullable @Nullable Collection<SelectorOptions<GetOperationOptions>> searchOptions, @Nullable @Nullable Boolean useRepository) -
SearchSpecification
-
-
Method Details
-
getType
-
getQuery
-
setQuery
-
addFilter
-
getSearchOptions
-
setSearchOptions
public void setSearchOptions(@Nullable @Nullable Collection<SelectorOptions<GetOperationOptions>> searchOptions) -
isUseRepository
public boolean isUseRepository() -
isNoFetch
public boolean isNoFetch() -
isRaw
public boolean isRaw() -
getRootOptions
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
clone
-