Package de.hybris.platform.cms2.services
Interface ContentCatalogService
- All Known Implementing Classes:
DefaultContentCatalogService
public interface ContentCatalogService
ContentCatalogService used for managing content catalogs
- Spring Bean ID:
- contentCatalogService
-
Method Summary
Modifier and TypeMethodDescriptionGets the content catalogs.getContentCatalogs(String orderField) returns all content catalogs, ordered by the given orderFieldbooleanChecks for catalog pages.booleanChecks for category pages.booleanhasCMSItems(CatalogVersionModel versionModel) Checks for cms items.booleanhasCMSRelations(CatalogVersionModel versionModel) Checks for cms relations.booleanChecks for content pages.booleanChecks for default catalog page.booleanChecks for default category page.booleanChecks for default product page.booleanChecks for product pages.booleanisContentCatalog(CatalogModel catalog) Checks if passed as parameterCatalogModelobject is content catalog.booleanisContentCatalog(CatalogVersionModel catalogVersion) Checks if passed as parameterCatalogVersionModelobject is content catalog.booleanisProductCatalog(CatalogModel catalog) Checks if passed as parameterCatalogModelobject is product catalog.booleanisProductCatalog(CatalogVersionModel catalogVersion) Checks if passed as parameterCatalogVersionModelobject is product catalog.
-
Method Details
-
getContentCatalogs
Collection<ContentCatalogModel> getContentCatalogs()Gets the content catalogs.- Returns:
- the content catalogs
-
getContentCatalogs
returns all content catalogs, ordered by the given orderField- Parameters:
orderField- the field to order the content catalogs by- Returns:
- all content catalogs
-
isContentCatalog
Checks if passed as parameterCatalogModelobject is content catalog.- Parameters:
catalog- the catalog to check- Returns:
- true, if is content catalog
-
isContentCatalog
Checks if passed as parameterCatalogVersionModelobject is content catalog.- Parameters:
catalogVersion- the catalog version- Returns:
- true, if is content catalog
-
isProductCatalog
Checks if passed as parameterCatalogModelobject is product catalog.- Parameters:
catalog- the catalog- Returns:
- true, if is product catalog
-
isProductCatalog
Checks if passed as parameterCatalogVersionModelobject is product catalog.- Parameters:
catalogVersion- the catalog version- Returns:
- true, if is product catalog
-
hasContentPages
boolean hasContentPages()Checks for content pages.- Returns:
- true, if successful
-
hasDefaultCatalogPage
boolean hasDefaultCatalogPage()Checks for default catalog page.- Returns:
- true, if successful
-
hasCatalogPages
boolean hasCatalogPages()Checks for catalog pages.- Returns:
- true, if successful
-
hasDefaultCategoryPage
boolean hasDefaultCategoryPage()Checks for default category page.- Returns:
- true, if successful
-
hasCategoryPages
boolean hasCategoryPages()Checks for category pages.- Returns:
- true, if successful
-
hasDefaultProductPage
boolean hasDefaultProductPage()Checks for default product page.- Returns:
- true, if successful
-
hasProductPages
boolean hasProductPages()Checks for product pages.- Returns:
- true, if successful
-
hasCMSItems
Checks for cms items.- Parameters:
versionModel- the version model- Returns:
- true, if successful
-
hasCMSRelations
Checks for cms relations.- Parameters:
versionModel- the version model- Returns:
- true, if successful
-