Class RepoObjectSource
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.sources.RepoObjectSource
- All Implemented Interfaces:
SearchableItemSource
Provides access to objects at the repository level.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount
(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result) Counts items according to given search specification.static Class<? extends ObjectType>
getObjectType
(Class<?> type) <C extends Containerable>
voidsearchIterative
(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result) Searches for items according to given search specification.
-
Constructor Details
-
RepoObjectSource
public RepoObjectSource()
-
-
Method Details
-
count
public Integer count(@NotNull @NotNull SearchSpecification<?> searchSpecification, @NotNull @NotNull RunningTask task, @NotNull @NotNull OperationResult result) throws CommonException Description copied from interface:SearchableItemSource
Counts items according to given search specification.- Specified by:
count
in interfaceSearchableItemSource
- Throws:
CommonException
-
searchIterative
public <C extends Containerable> void searchIterative(@NotNull @NotNull SearchSpecification<C> searchSpecification, @NotNull @NotNull ContainerableResultHandler<C> handler, @NotNull @NotNull RunningTask task, @NotNull @NotNull OperationResult result) throws CommonException Description copied from interface:SearchableItemSource
Searches for items according to given search specification.- Specified by:
searchIterative
in interfaceSearchableItemSource
- Throws:
CommonException
-
getObjectType
-