com.atlassian.confluence.api.impl.service.content.factory
Class ChildSupport
java.lang.Object
com.atlassian.confluence.api.impl.service.content.factory.ChildSupport
public class ChildSupport
- extends java.lang.Object
Provides child Content
items. Internal counterpart to ChildContentService
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHILDREN_MAP_LIMIT
public static final int CHILDREN_MAP_LIMIT
- See Also:
- Constant Field Values
ChildSupport
public ChildSupport(ContentTypeBindingProvider bindingProvider,
NavigationService navigationService)
getChildrenMap
public java.util.Map<ContentType,PageResponse<Content>> getChildrenMap(Content parent,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth)
- Called from the
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.
- 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(Content parent,
ContentType childType,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth)
Copyright © 2003-2014 Atlassian. All Rights Reserved.