Interface CMSItemSearchService
-
- All Known Implementing Classes:
DefaultFlexibleCMSItemSearchService
public interface CMSItemSearchService
An interface for searching for CMSItems
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResult<CMSItemModel>
findCMSItems(CMSItemSearchData cmsItemSearchData, PageableData pageableData)
Paged Search for CMSItemsboolean
hasCommonAncestorForTypeCodes(java.util.List<java.lang.String> typeCodes)
Validate if there is a common ancestor typeCode given a list of typeCodes
-
-
-
Method Detail
-
findCMSItems
SearchResult<CMSItemModel> findCMSItems(CMSItemSearchData cmsItemSearchData, PageableData pageableData)
Paged Search for CMSItems- Parameters:
cmsItemSearchData
- All the required and optional search params, excluding pagingpageableData
- 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.
-
-