Interface ContentService.ContentFinder

    • Method Detail

      • withId

        ContentService.SingleContentFetcher withId​(ContentId contentId)
        Restrict the fetched content to that with the given ContentId
        Parameters:
        contentId - the id of the content to fetch
        Returns:
        a SingleContentFetcher that will fetch a single piece of content if it exists
      • withIdAndVersion

        ContentService.SingleContentFetcher withIdAndVersion​(ContentId contentId,
                                                             int version)
        Restrict the fetched content to that matching the given version
        Returns:
        a finder with the version restrictions applied
      • withLocator

        ContentService.SingleContentFetcher withLocator​(ContentLocator locator)
        Restrict the fetched content to that matching the given ContentLocator, a ContentLocator identifies a single piece of content.
        Parameters:
        locator - the content locator to use to find the content
        Returns:
        a single content fetcher that fetches the content matched by the content locator