com.atlassian.confluence.api.impl.service.content.typebinding
Class PageContentTypeBinding

java.lang.Object
  extended by com.atlassian.confluence.api.extension.typebinding.AbstractContentTypeBinding
      extended by com.atlassian.confluence.api.impl.service.content.typebinding.PageContentTypeBinding
All Implemented Interfaces:
ContentTypeBinding

public class PageContentTypeBinding
extends AbstractContentTypeBinding

Provides Pages for the API.


Constructor Summary
PageContentTypeBinding(ContentFactory contentFactory, PageManagerInternal pageManager, PaginationService paginationService)
           
 
Method Summary
 PageResponse<Content> getChildren(Content parent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)
          Retrieve the children of an item of Content.
 
Methods inherited from class com.atlassian.confluence.api.extension.typebinding.AbstractContentTypeBinding
getHandledType, handlesParentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageContentTypeBinding

public PageContentTypeBinding(ContentFactory contentFactory,
                              PageManagerInternal pageManager,
                              PaginationService paginationService)
Method Detail

getChildren

public PageResponse<Content> getChildren(Content parent,
                                         LimitedRequest limitedRequest,
                                         Expansions expansions,
                                         Depth depth)
Description copied from interface: ContentTypeBinding
Retrieve the children of an item of Content. The result is ordered by implicit child order.

Children will be Content items of the same ContentType as the parent.

The pageRequest limit is restricted to a maximum page size.

Parameters:
parent - the content to retrieve the children for
expansions - the expansions to apply to the Children returned
depth - the depth to return children to
Returns:
a partial list of the top level content in this space.


Copyright © 2003-2014 Atlassian. All Rights Reserved.