close

Filter

loading table of contents...

Release Notes / Version 10.2101

Table Of Contents

Content Hub API: Pagination for improved performance with large external repositories

The 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) and ContentHubAdapter.getSubFolders(ContentHubContext, Folder) have been removed. Implement the method ContentHubAdapter.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)

Search Results

Table Of Contents