|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.rest.client.AbstractRemoteService<ChildContentService.ChildContentFinder>
com.atlassian.confluence.rest.client.RemoteChildContentServiceImpl.RemoteChildContentFinderImpl
public static class RemoteChildContentServiceImpl.RemoteChildContentFinderImpl
Constructor Summary | |
---|---|
RemoteChildContentServiceImpl.RemoteChildContentFinderImpl(AbstractRemoteService other,
ContentId parentId,
Expansion[] expansion)
|
Method Summary | |
---|---|
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<java.util.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 |
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
---|
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteChildContentServiceImpl.RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
Method Detail |
---|
public com.atlassian.util.concurrent.Promise<java.util.Map<ContentType,PageResponse<Content>>> fetchMappedByType(@Nullable PageRequest request)
RemoteChildContentService.RemoteChildContentFinder
The pageRequest limit is restricted to a maximum page size.
fetchMappedByType
in interface RemoteChildContentService.RemoteChildContentFinder
public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, @Nullable PageRequest request)
RemoteChildContentService.RemoteChildContentFinder
fetchMany
in interface RemoteChildContentService.RemoteChildContentFinder
type
- - the type of content to retrieverequest
- - a page request indicating the start and limit of items to return
public RemoteChildContentService.RemoteChildContentFinder withDepth(Depth depth)
RemoteChildContentService.RemoteChildContentFinder
withDepth
in interface RemoteChildContentService.RemoteChildContentFinder
depth
- - the depth in the page hierarchy of Content descendants to retrieve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |