public static interface RemoteChildContentService.RemoteChildContentFinder
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
fetchMany(ContentType type,
PageRequest request)
Deprecated.
since 7.0.1. Use
fetchManyCompletionStage(ContentType, PageRequest) instead. |
CompletionStage<PageResponse<Content>> |
fetchManyCompletionStage(ContentType type,
PageRequest request)
Retrieve a paged list of content of the given type contained in this parent
|
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
fetchMappedByType(PageRequest request)
Deprecated.
since 7.0.1. Use
fetchMappedByTypeCompletionStage(PageRequest) instead. |
CompletionStage<Map<ContentType,PageResponse<Content>>> |
fetchMappedByTypeCompletionStage(PageRequest request)
Retrieve the content contained in this parent.
|
RemoteChildContentService.RemoteChildContentFinder |
withDepth(Depth depth)
Set the depth to retrieve content on the ChildContentFinder
|
RemoteChildContentService.RemoteChildContentFinder |
withLocation(Collection<String> location)
Set the location(s) to retrieve the content from
|
RemoteChildContentService.RemoteChildContentFinder |
withParentVersion(int versionNumber)
Specifies the which version of the parent content to use when looking for children.
|
@Deprecated com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByType(PageRequest request)
fetchMappedByTypeCompletionStage(PageRequest)
instead.The pageRequest limit is restricted to a maximum page size.
CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByTypeCompletionStage(PageRequest request)
The pageRequest limit is restricted to a maximum page size.
@Deprecated com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, PageRequest request)
fetchManyCompletionStage(ContentType, PageRequest)
instead.type
- - the type of content to retrieverequest
- - a page request indicating the start and limit of items to returnCompletionStage<PageResponse<Content>> fetchManyCompletionStage(ContentType type, PageRequest request)
type
- - the type of content to retrieverequest
- - a page request indicating the start and limit of items to returnRemoteChildContentService.RemoteChildContentFinder withDepth(Depth depth)
depth
- - the depth in the page hierarchy of Content descendants to retrieveRemoteChildContentService.RemoteChildContentFinder withParentVersion(int versionNumber)
versionNumber
- - the version of the parent content to useBadRequestException
- if the version is not validRemoteChildContentService.RemoteChildContentFinder withLocation(Collection<String> location)
location
- Copyright © 2003–2021 Atlassian. All rights reserved.
View cookie preferences