Interface SearchableItemSource
-
- All Known Implementing Classes:
ModelAuditItemSource
,ModelContainerableItemSource
,ModelObjectSource
,RepoAuditItemSource
,RepoObjectSource
public interface SearchableItemSource
Provides access to items (and their count) based on the search specification. Implementations differ at the level used (model vs repo) and to type of objects, reflected in different APIs (objects, audit records, containerables).
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
count
Integer count(@NotNull @NotNull SearchSpecification<?> searchSpecification, @NotNull @NotNull RunningTask task, @NotNull @NotNull OperationResult result) throws CommonException
Counts items according to given search specification.- Throws:
CommonException
-
searchIterative
<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
Searches for items according to given search specification.- Throws:
CommonException
-
-