com.atlassian.confluence.api.service.content
Interface ContentService.ContentFinder

All Superinterfaces:
ContentService.ContentFetcher, ContentService.ParameterContentFinder, ContentService.SingleContentFetcher, SingleFetcher<Content>
Enclosing interface:
ContentService

public static interface ContentService.ContentFinder
extends ContentService.ParameterContentFinder

A finder for locating content


Method Summary
 ContentService.SingleContentFetcher withId(ContentId contentId)
          Restrict the fetched content to that with the given ContentId
 ContentService.SingleContentFetcher withLocator(ContentLocator locator)
          Restrict the fetched content to that matching the given ContentLocator, a ContentLocator identifies a single piece of content.
 
Methods inherited from interface com.atlassian.confluence.api.service.content.ContentService.ParameterContentFinder
withContainer, withCreatedDate, withSpace, withTitle, withType
 
Methods inherited from interface com.atlassian.confluence.api.service.content.ContentService.ContentFetcher
fetchMany, fetchMappedByContentType
 
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetchOne, fetchOneOrNull
 

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

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.