Interface SingleFetcher<T>

Type Parameters:
T -
All Known Subinterfaces:
AttachmentService.AttachmentFinder, ContentMacroService.MacroInstanceFinder, ContentPropertyService.ContentPropertyFetcher, ContentPropertyService.ContentPropertyFinder, ContentPropertyService.ParameterContentPropertyFinder, ContentPropertyService.SingleContentPropertyFetcher, ContentService.ContentFetcher, ContentService.ContentFinder, ContentService.ParameterContentFinder, ContentService.SingleContentFetcher, ContentTemplateService.ParameterTemplateFinder, ContentTemplateService.TemplateFinder, ContentVersionService.VersionFinder, GroupService.GroupFinder, PersonService.PersonFinder, PersonService.SinglePersonFetcher, SpacePropertyService.SpacePropertyFinder, SpaceService.SingleSpaceFetcher, SpaceService.SpaceFinder
All Known Implementing Classes:
AbstractFinder, GroupServiceImpl.GroupFinderImpl, NoopContentFinder, NoopFetcher, NoopGroupFinder, NoopPersonFinder, NoopPersonSearcher, NoopSpaceFinder, PersonServiceImpl.PersonFinderImpl, SpacePropertyFinderImpl, SpaceServiceImpl.SpaceFinderImpl, TransactionWrappingFinder

public interface SingleFetcher<T>
A fetcher that retrieves individual model objects from a datastore.
Since:
5.5
  • Method Details

    • fetch

      Optional<T> fetch()
      Since:
      6.13.0
    • fetchOneOrNull

      @Deprecated default T fetchOneOrNull()
      Deprecated.
      since 6.13.0, use {fetchOrNull()}
    • fetchOrNull

      default T fetchOrNull()
      Since:
      6.13.0