Interface CMSItemSearchService

    • Method Detail

      • findCMSItems

        SearchResult<CMSItemModel> findCMSItems​(CMSItemSearchData cmsItemSearchData,
                                                PageableData pageableData)
        Paged Search for CMSItems
        Parameters:
        cmsItemSearchData - All the required and optional search params, excluding paging
        pageableData - Paging search params
        Returns:
        The search results and paging information
      • hasCommonAncestorForTypeCodes

        boolean hasCommonAncestorForTypeCodes​(java.util.List<java.lang.String> typeCodes)
                                       throws java.lang.IllegalArgumentException
        Validate if there is a common ancestor typeCode given a list of typeCodes
        Parameters:
        typeCodes - the list of typeCodes
        Returns:
        true, if a common ancestor for the given typeCodes exist.
        Throws:
        java.lang.IllegalArgumentException - if not able to find a common ancestor for the given typeCodes.