public static class RemoteChildContentServiceImpl.RemoteChildContentFinderImpl extends AbstractRemoteService<ChildContentService.ChildContentFinder> implements RemoteChildContentService.RemoteChildContentFinder
| Constructor and Description |
|---|
RemoteChildContentFinderImpl(AbstractRemoteService other,
ContentId parentId,
Expansion[] expansion) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
fetchMany(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)
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 parentVersion)
Specifies the which version of the parent content to use when looking for children.
|
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuturepublic RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
public com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByType(@Nullable PageRequest request)
RemoteChildContentService.RemoteChildContentFinderThe pageRequest limit is restricted to a maximum page size.
fetchMappedByType in interface RemoteChildContentService.RemoteChildContentFinderpublic com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, @Nullable PageRequest request)
RemoteChildContentService.RemoteChildContentFinderfetchMany in interface RemoteChildContentService.RemoteChildContentFindertype - - the type of content to retrieverequest - - a page request indicating the start and limit of items to returnpublic RemoteChildContentService.RemoteChildContentFinder withDepth(Depth depth)
RemoteChildContentService.RemoteChildContentFinderwithDepth in interface RemoteChildContentService.RemoteChildContentFinderdepth - - the depth in the page hierarchy of Content descendants to retrievepublic RemoteChildContentService.RemoteChildContentFinder withParentVersion(int parentVersion)
RemoteChildContentService.RemoteChildContentFinderwithParentVersion in interface RemoteChildContentService.RemoteChildContentFinderparentVersion - - the version of the parent content to usepublic RemoteChildContentService.RemoteChildContentFinder withLocation(Collection<String> location)
RemoteChildContentService.RemoteChildContentFinderwithLocation in interface RemoteChildContentService.RemoteChildContentFinderCopyright © 2003–2017 Atlassian. All rights reserved.