Class ChildSupport
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.content.factory.ChildSupport
-
public class ChildSupport extends Object
Provides childContent
items. Internal counterpart toChildContentService
.
-
-
Constructor Summary
Constructors Constructor Description ChildSupport(ContentTypeApiSupportProvider bindingProvider, NavigationService navigationService, ContentEntityManager contentEntityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageResponse<Content>
getChildrenList(ContentConvertible parent, ContentType childType, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Collection<String> location)
Map<ContentType,PageResponse<Content>>
getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth)
Map<ContentType,PageResponse<Content>>
getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)
Map<ContentType,PageResponse<Content>>
getChildrenMap(ContentConvertible parent, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)
Called from theContentFactory
when expanding "children" on a Content item being built.
-
-
-
Constructor Detail
-
ChildSupport
public ChildSupport(ContentTypeApiSupportProvider bindingProvider, NavigationService navigationService, ContentEntityManager contentEntityManager)
-
-
Method Detail
-
getChildrenMap
public Map<ContentType,PageResponse<Content>> getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth)
-
getChildrenMap
public Map<ContentType,PageResponse<Content>> getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)
-
getChildrenMap
public Map<ContentType,PageResponse<Content>> getChildrenMap(ContentConvertible parent, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)
Called from theContentFactory
when expanding "children" on a Content item being built.Note that in this usage, no
LimitedRequest
for the offset and number of children is supplied, so this method will return Children starting at offset 0 with default length.- Parameters:
parent
- the content to find children oflimitedRequest
- the number and offset of the children to returnchildExpansions
- the types of children to expand, and their sub-expansions (if any)depth
- the depth of children to return
-
getChildrenList
public PageResponse<Content> getChildrenList(ContentConvertible parent, ContentType childType, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Collection<String> location)
-
-