Package de.hybris.platform.cms2.services
Interface ContentCatalogService
-
- All Known Implementing Classes:
DefaultContentCatalogService
public interface ContentCatalogServiceContentCatalogService used for managing content catalogs- Spring Bean ID:
- contentCatalogService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ContentCatalogModel>getContentCatalogs()Gets the content catalogs.java.util.Collection<ContentCatalogModel>getContentCatalogs(java.lang.String orderField)returns all content catalogs, ordered by the given orderFieldbooleanhasCatalogPages()Checks for catalog pages.booleanhasCategoryPages()Checks for category pages.booleanhasCMSItems(CatalogVersionModel versionModel)Checks for cms items.booleanhasCMSRelations(CatalogVersionModel versionModel)Checks for cms relations.booleanhasContentPages()Checks for content pages.booleanhasDefaultCatalogPage()Checks for default catalog page.booleanhasDefaultCategoryPage()Checks for default category page.booleanhasDefaultProductPage()Checks for default product page.booleanhasProductPages()Checks 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 Detail
-
getContentCatalogs
java.util.Collection<ContentCatalogModel> getContentCatalogs()
Gets the content catalogs.- Returns:
- the content catalogs
-
getContentCatalogs
java.util.Collection<ContentCatalogModel> getContentCatalogs(java.lang.String orderField)
returns all content catalogs, ordered by the given orderField- Parameters:
orderField- the field to order the content catalogs by- Returns:
- all content catalogs
-
isContentCatalog
boolean isContentCatalog(CatalogModel catalog)
Checks if passed as parameterCatalogModelobject is content catalog.- Parameters:
catalog- the catalog to check- Returns:
- true, if is content catalog
-
isContentCatalog
boolean isContentCatalog(CatalogVersionModel catalogVersion)
Checks if passed as parameterCatalogVersionModelobject is content catalog.- Parameters:
catalogVersion- the catalog version- Returns:
- true, if is content catalog
-
isProductCatalog
boolean isProductCatalog(CatalogModel catalog)
Checks if passed as parameterCatalogModelobject is product catalog.- Parameters:
catalog- the catalog- Returns:
- true, if is product catalog
-
isProductCatalog
boolean isProductCatalog(CatalogVersionModel catalogVersion)
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
boolean hasCMSItems(CatalogVersionModel versionModel)
Checks for cms items.- Parameters:
versionModel- the version model- Returns:
- true, if successful
-
hasCMSRelations
boolean hasCMSRelations(CatalogVersionModel versionModel)
Checks for cms relations.- Parameters:
versionModel- the version model- Returns:
- true, if successful
-
-