Class RepoAuditItemSource
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.sources.RepoAuditItemSource
-
- All Implemented Interfaces:
SearchableItemSource
@Component public class RepoAuditItemSource extends Object implements SearchableItemSource
Provides access to audit events at the repository (AuditService
) level.
-
-
Constructor Summary
Constructors Constructor Description RepoAuditItemSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Counts items according to given search specification.<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.static <C extends Containerable>
AuditResultHandlertoAuditResultHandler(@NotNull ContainerableResultHandler<C> handler)
Adapts arbitraryContainerableResultHandler
(of AuditResultType) toAuditResultHandler
.
-
-
-
Method Detail
-
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
-
toAuditResultHandler
public static <C extends Containerable> AuditResultHandler toAuditResultHandler(@NotNull @NotNull ContainerableResultHandler<C> handler)
Adapts arbitraryContainerableResultHandler
(of AuditResultType) toAuditResultHandler
.
-
-