com.atlassian.confluence.api.impl.service.content.typebinding
Class CommentContentTypeBinding
java.lang.Object
com.atlassian.confluence.api.impl.service.content.typebinding.CommentContentTypeBinding
- All Implemented Interfaces:
- ContentTypeBinding
public class CommentContentTypeBinding
- extends java.lang.Object
- implements ContentTypeBinding
Performs API operations for Comment
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentContentTypeBinding
public CommentContentTypeBinding(CommentManagerInternal commentManager,
PaginationService paginationService,
ContentFactory contentFactory,
PermissionManager permissionManager,
ContentEntityManager contentEntityManager)
getHandledType
public ContentType getHandledType()
- Specified by:
getHandledType
in interface ContentTypeBinding
- Returns:
- the
ContentType
of the Content
that this service provides.
handlesParentType
public boolean handlesParentType(ContentType type)
- Specified by:
handlesParentType
in interface ContentTypeBinding
- Returns:
- true if
Content
of this binding's ContentType
can be a child of content of the given type
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.
- Specified by:
getChildren
in interface ContentTypeBinding
- Parameters:
parent
- the content to retrieve the children forexpansions
- the expansions to apply to the Children returneddepth
- 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.