public class ChildSupport extends Object
Content
items. Internal counterpart to ChildContentService
.Constructor and Description |
---|
ChildSupport(ContentTypeApiSupportProvider bindingProvider,
NavigationService navigationService,
ContentEntityManager contentEntityManager) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
getChildrenList(ContentConvertible parent,
ContentType childType,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
Collection<String> location) |
Map<ContentType,PageResponse<Content>> |
getChildrenMap(ContentConvertible parent,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth,
Collection<String> location)
Called from the
ContentFactory when expanding "children" on a Content item being built. |
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) |
public ChildSupport(ContentTypeApiSupportProvider bindingProvider, NavigationService navigationService, ContentEntityManager contentEntityManager)
public Map<ContentType,PageResponse<Content>> getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth)
public Map<ContentType,PageResponse<Content>> getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)
public Map<ContentType,PageResponse<Content>> getChildrenMap(ContentConvertible parent, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)
ContentFactory
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.
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 returnpublic PageResponse<Content> getChildrenList(ContentConvertible parent, ContentType childType, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Collection<String> location)
Copyright © 2003–2018 Atlassian. All rights reserved.