Class ChildSupport
java.lang.Object
com.atlassian.confluence.api.impl.service.content.factory.ChildSupport
Provides child
Content
items. Internal counterpart to ChildContentService
.-
Constructor Summary
ConstructorsConstructorDescriptionChildSupport
(ContentTypeApiSupportProvider bindingProvider, NavigationService navigationService, ContentEntityManager contentEntityManager) -
Method Summary
Modifier and TypeMethodDescriptiongetChildrenList
(ContentConvertible parent, ContentType childType, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Collection<String> location) getChildrenMap
(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth) getChildrenMap
(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location) 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 Details
-
Method Details
-
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)
-