Class CustomContentServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.CustomContentServiceImpl
- All Implemented Interfaces:
CustomContentService
-
Constructor Summary
ConstructorsConstructorDescriptionCustomContentServiceImpl(CustomContentManager customContentManager, ContentEntityManagerInternal contentEntityManager, ContentFactory contentFactory) -
Method Summary
Modifier and TypeMethodDescription@NonNull PageResponse<Content>getChildrenOfTypeAndFilter(@NonNull ContentId parentId, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<Content> predicate) Returns the children of a CustomContentEntityObject, limited to the pagination requested.
-
Constructor Details
-
CustomContentServiceImpl
public CustomContentServiceImpl(CustomContentManager customContentManager, ContentEntityManagerInternal contentEntityManager, ContentFactory contentFactory)
-
-
Method Details
-
getChildrenOfTypeAndFilter
public @NonNull PageResponse<Content> getChildrenOfTypeAndFilter(@NonNull ContentId parentId, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<Content> predicate) Description copied from interface:CustomContentServiceReturns the children of a CustomContentEntityObject, limited to the pagination requested. This method will return children that have the entity as a container, and children that have the entity as a parent.- Specified by:
getChildrenOfTypeAndFilterin interfaceCustomContentService- Parameters:
parentId- the content to look for children ofcontentModuleKey- the module key of the type of child to look forlimitedRequest- the pagination requestedexpansions- the expansions applied to resultsdepth- the depth to return children to- Returns:
-