public static interface ContentService.ContentFinder extends ContentService.ParameterContentFinder
Modifier and Type | Method and Description |
---|---|
ContentService.SingleContentFetcher |
withId(ContentId contentId)
Restrict the fetched content to that with the given ContentId
|
ContentService.SingleContentFetcher |
withIdAndVersion(ContentId contentId,
int version)
Restrict the fetched content to that matching the given version
|
ContentService.SingleContentFetcher |
withLocator(ContentLocator locator)
Restrict the fetched content to that matching the given ContentLocator, a ContentLocator
identifies a single piece of content.
|
withAnyStatus, withContainer, withCreatedDate, withId, withId, withSpace, withStatus, withStatus, withTitle, withType
fetchMany, fetchMappedByContentType
fetchOne, fetchOneOrNull
ContentService.SingleContentFetcher withId(ContentId contentId)
contentId
- the id of the content to fetchContentService.SingleContentFetcher withIdAndVersion(ContentId contentId, int version)
ContentService.SingleContentFetcher withLocator(ContentLocator locator)
locator
- the content locator to use to find the contentCopyright © 2003–2018 Atlassian. All rights reserved.