Class NoopFetcher<T>
java.lang.Object
com.atlassian.confluence.impl.service.finder.NoopFetcher<T>
- All Implemented Interfaces:
ManyFetcher<T>,SingleFetcher<T>
- Direct Known Subclasses:
NoopContentFinder,NoopGroupFinder,NoopPersonFinder,NoopPersonSearcher,NoopSpaceFinder
A Fetcher that always returns nothing
- Since:
- 6.13.6, 6.14.4, 6.15.4
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetchOneOrNull, fetchOrNull
-
Constructor Details
-
NoopFetcher
public NoopFetcher()
-
-
Method Details
-
fetchMany
- Specified by:
fetchManyin interfaceManyFetcher<T>- Parameters:
request- - a pageRequest to use to paginate the response, this will be limited if it exceeds system limits- Returns:
- a pageResponse of given type that matches the given restrictions
-
fetch
- Specified by:
fetchin interfaceSingleFetcher<T>
-