Interface RemoteContentService.RemoteContentFinder
-
- All Superinterfaces:
RemoteContentService.RemoteContentFetcher
,RemoteContentService.RemoteParameterContentFinder
,RemoteContentService.RemoteSingleContentFetcher
,RemoteSingleFetcher<Content>
- All Known Implementing Classes:
AbstractRemoteContentService.AbstractRemoteContentFinder
,GraphQLRemoteContentServiceImpl.RemoteContentFinderImpl
,RemoteContentServiceImpl.RemoteContentFinderImpl
- Enclosing interface:
- RemoteContentService
public static interface RemoteContentService.RemoteContentFinder extends RemoteContentService.RemoteParameterContentFinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteContentService.RemoteContentFinder
withAnyStatus()
RemoteContentService.RemoteSingleContentFetcher
withId(ContentId contentId)
RemoteContentService.RemoteSingleContentFetcher
withId(ContentId first, ContentId... tail)
Note : currently unsupported Restrict the fetched content to those with the given ids, requires at least two ContentIds.RemoteContentService.RemoteSingleContentFetcher
withId(Iterable<ContentId> contentIds)
Note : currently unsupported Restrict the fetched content to those with the given idsRemoteContentService.RemoteSingleContentFetcher
withIdAndVersion(ContentId contentId, int version)
RemoteContentService.RemoteSingleContentFetcher
withLocator(ContentLocator locator)
Retrieve a piece of content by some more complex criteria (defined by the ContentLocator).RemoteContentService.RemoteContentFinder
withStatus(ContentStatus... status)
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteContentService.RemoteContentFetcher
fetchMany, fetchManyCompletionStage, fetchMappedByContentType, fetchMappedByContentTypeCompletionStage
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteContentService.RemoteParameterContentFinder
withCreatedDate, withCreatedDate, withSpace, withTitle, withType
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetch, fetchCompletionStage, fetchOne, fetchOneOrNull, fetchOrNull, fetchOrNullCompletionStage
-
-
-
-
Method Detail
-
withId
RemoteContentService.RemoteSingleContentFetcher withId(ContentId contentId)
-
withIdAndVersion
RemoteContentService.RemoteSingleContentFetcher withIdAndVersion(ContentId contentId, int version)
-
withId
RemoteContentService.RemoteSingleContentFetcher withId(ContentId first, ContentId... tail)
Note : currently unsupported Restrict the fetched content to those with the given ids, requires at least two ContentIds.- Returns:
- this ContentFinder with the restrictions applied
-
withId
RemoteContentService.RemoteSingleContentFetcher withId(Iterable<ContentId> contentIds)
Note : currently unsupported Restrict the fetched content to those with the given ids- Parameters:
contentIds
- - the list of contentIds to restrict to- Returns:
- this ContentFinder with the restrictions applied
-
withLocator
RemoteContentService.RemoteSingleContentFetcher withLocator(ContentLocator locator)
Retrieve a piece of content by some more complex criteria (defined by the ContentLocator).- Parameters:
locator
- the locator containing the criteria for the content you are looking for- Returns:
- the content, if one exists matching the criteria, or none otherwise.
-
withStatus
RemoteContentService.RemoteContentFinder withStatus(ContentStatus... status)
-
withAnyStatus
RemoteContentService.RemoteContentFinder withAnyStatus()
-
-