close

Filter

loading table of contents...

Release Notes / Version 10.2107

Table Of Contents

Maturing Multi-Site API (cap-multisite)

The multi-site API (as part of cap-multisite ) has been matured:

Module cap-multisite

  • ContentObjectSiteAspect#getVersion(workingVersion:boolean):Version

The parameter workingVersion has been renamed to includeWorkingVersion . Corresponding to this change, setting this flag to true will allow to fallback to working versions in some scenarios, while in all others a checked-in version is returned. As for flag true this method will always return non-null values, the return type annotation has changed from Nullable to UnknownNullness .

  • ContentObjectSiteAspect#getDirectlyDerivedContents(Site):Collection<Content> :

Moved from ContentSiteAspect up in hierarchy. Unless you implemented interfaces for yourself or mocked them in tests, no action is required.

  • ContentObjectSiteAspect#getDirectlyDerivedContents(Site, boolean):Collection<Content> :

New method which may return directly derived folders by name-matching, in case the boolean flag is set to true .

  • ContentObjectSiteAspect#getDirectlyDerived(Site):Content :

Moved from ContentSiteAspect up in hierarchy. Unless you implemented interfaces for yourself or mocked them in tests, no action is required.

  • ContentObjectSiteAspect#getDirectlyDerived(Site, boolean):Content :

New method which may return directly derived folder by name-matching, in case the boolean flag is set to true .

Module: cap-unified-api

  • schema-default.xml ( XmlUapiConfig ) with additional content-types:

The default schema provided by XmlUapiConfig now comes with two additional content-types which ease multi-site testing: SimpleSiteContent and SimpleSite . For details see JavaDoc of XmlUapiConfig .

(CMS-16927)

Search Results

Table Of Contents