Release Notes / Version 10.2101
Table Of ContentsThe Content Hub now supports pagination between a Content-Hub Adapter and an external system. The pagination is triggered by scrolling in the library. This results in the pages being loaded gradually by scrolling down in the tree or repository view. For this reason some API changes were necessary:
ContentHubAdapter
ContentHubAdapter.getItems(ContentHubContext, Folder)
andContentHubAdapter.getSubFolders(ContentHubContext, Folder)
have been removed. Implement the methodContentHubAdapter.getChildren(ContentHubContext, Folder, PaginationState)
instead.ContentHubAdapter.getChildren(ContentHubContext, Folder)
now supports pagination, therefore a new parameter has been introduced and the return type has been changed to provide the new pagination state.ContentHubAdapter.invalidate(ContentHubContext, ContentHubObjectId)
now supports invalidation for pages.
(CMS-16566)