Interface CustomContentService
- All Known Implementing Classes:
CustomContentServiceImpl
public interface CustomContentService
- Since:
- 9.0
-
Method Summary
Modifier and TypeMethodDescription@NonNull PageResponse<Content>getChildrenOfTypeAndFilter(ContentId parentId, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<Content> predicate) Returns the children of a CustomContentEntityObject, limited to the pagination requested.
-
Method Details
-
getChildrenOfTypeAndFilter
@NonNull PageResponse<Content> getChildrenOfTypeAndFilter(ContentId parentId, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<Content> predicate) Returns 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.- 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:
- Since:
- 9.0
-