Class SearchOpHandler
- java.lang.Object
-
- com.evolveum.midpoint.repo.cache.handlers.BaseOpHandler
-
- com.evolveum.midpoint.repo.cache.handlers.SearchOpHandler
-
@Component public class SearchOpHandler extends BaseOpHandler
Handler for searchObjects/searchObjectsIterative operations.
-
-
Field Summary
Fields Modifier and Type Field Description static int
QUERY_RESULT_SIZE_LIMIT
Queries resulting in more objects will not be cached "as such" - although individual objects/versions can be cached.
-
Constructor Summary
Constructors Constructor Description SearchOpHandler()
-
Method Summary
-
-
-
Field Detail
-
QUERY_RESULT_SIZE_LIMIT
public static final int QUERY_RESULT_SIZE_LIMIT
Queries resulting in more objects will not be cached "as such" - although individual objects/versions can be cached.- See Also:
- Constant Field Values
-
-
Method Detail
-
searchObjects
@NotNull public <T extends ObjectType> @NotNull SearchResultList<PrismObject<T>> searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult) throws SchemaException
- Throws:
SchemaException
-
searchObjectsIterative
public <T extends ObjectType> SearchResultMetadata searchObjectsIterative(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, boolean strictlySequential, OperationResult parentResult) throws SchemaException
- Throws:
SchemaException
-
searchShadowOwner
public <F extends FocusType> PrismObject<F> searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
-
searchContainers
public <T extends Containerable> SearchResultList<T> searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult) throws SchemaException
- Throws:
SchemaException
-
countContainers
public <T extends Containerable> int countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
-
countObjects
public <T extends ObjectType> int countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult) throws SchemaException
- Throws:
SchemaException
-
-