Interface CMSItemSearchService

All Known Implementing Classes:
DefaultFlexibleCMSItemSearchService

public interface CMSItemSearchService
An interface for searching for CMSItems
  • Method Details

    • 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(List<String> typeCodes) throws 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:
      IllegalArgumentException - if not able to find a common ancestor for the given typeCodes.