close

Filter

loading table of contents...

Release Notes / Version 10.2101

Table Of Contents

Content Hub: Preview

The Content Hub shows a detail view of the selected item in the library. For details, see the Content Hub sections in the Studio User Manual and the Studio Developer Manual.

ContentHub API Changes:

ContentHubAdapter has a new method getTransformer , which must return the ContentHubTransformer for this adapter. Due to this explicit relation, ContentHubTransformer#isApplicable became obsolete and has been abandoned. Moreover, the adapter may create its transformer internally. The transformer does not have to be a Spring bean any longer.

ContentHubObject has a new method getDetails , which may return a list of DetailsSections , filled with DetailElements , which can provide preview data for a Content Hub Object. Per default the TypeIcon and the name are shown as preview.

ContentHubAdapterFactory#createAdapter has an additional BlobCache argument. Implementations must change the signature accordingly. BlobCache is a utility class with a single method cached which takes a ContentHubBlob and returns an equivalent ContentHubBlob whose binary data is cached in a temp file, so that it is fetched from the remote system only once. Adapter implementations should pass the blob cache to their items and eventually to their transformer, and cache any ContentHubBlob created there.

(CMS-14579)

Search Results

Table Of Contents