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
Modifier and TypeMethodDescriptionNote : currently unsupported Restrict the fetched content to those with the given ids, requires at least two ContentIds.Note : currently unsupported Restrict the fetched content to those with the given idswithIdAndVersion
(ContentId contentId, int version) withLocator
(ContentLocator locator) Retrieve a piece of content by some more complex criteria (defined by the ContentLocator).withStatus
(ContentStatus... status) Methods inherited from interface com.atlassian.confluence.rest.client.RemoteContentService.RemoteContentFetcher
fetchManyCompletionStage, fetchMappedByContentTypeCompletionStage
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteContentService.RemoteParameterContentFinder
withCreatedDate, withSpace, withTitle, withType
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetchCompletionStage, fetchOneOrNullCompletionStage, fetchOrNullCompletionStage
-
Method Details
-
withId
-
withIdAndVersion
-
withId
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
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
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
-
withAnyStatus
RemoteContentService.RemoteContentFinder withAnyStatus()
-