Class DefaultContentCatalogService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.cms2.servicelayer.services.impl.AbstractCMSService
de.hybris.platform.cms2.services.impl.DefaultContentCatalogService
- All Implemented Interfaces:
ContentCatalogService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultContentCatalogService
extends AbstractCMSService
implements ContentCatalogService
Default implementation of
ContentCatalogService interface.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.cms2.servicelayer.services.impl.AbstractCMSService
CURRENTCATALOGVERSION, CURRENTSITEFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
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.protected booleanhasDefaultPage(String composedTypeCode) booleanChecks for default product page.protected booleanhasPagesOfType(ComposedTypeModel composedType) 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.voidsetCatalogVersionService(CatalogVersionService catalogVersionService) voidsetCmsContentCatalogDao(CMSContentCatalogDao cmsContentCatalogDao) voidsetCmsPageDao(CMSPageDao cmsPageDao) voidsetTypeService(TypeService typeService) Methods inherited from class de.hybris.platform.cms2.servicelayer.services.impl.AbstractCMSService
getBaseSiteService, getCurrentCatalogVersion, getCurrentSite, getSearchRestrictionService, getUserService, setBaseSiteService, setSearchRestrictionService, setUserServiceMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Constructor Details
-
DefaultContentCatalogService
public DefaultContentCatalogService()
-
-
Method Details
-
getContentCatalogs
Gets the content catalogs.- Specified by:
getContentCatalogsin interfaceContentCatalogService- Returns:
- the content catalogs
-
getContentCatalogs
returns all content catalogs, ordered by the given orderField- Specified by:
getContentCatalogsin interfaceContentCatalogService- Parameters:
orderField- the field to order the content catalogs by- Returns:
- all content catalogs
-
hasCatalogPages
public boolean hasCatalogPages()Checks for catalog pages.- Specified by:
hasCatalogPagesin interfaceContentCatalogService- Returns:
- true, if successful
-
hasCategoryPages
public boolean hasCategoryPages()Checks for category pages.- Specified by:
hasCategoryPagesin interfaceContentCatalogService- Returns:
- true, if successful
-
hasCMSItems
Checks for cms items.- Specified by:
hasCMSItemsin interfaceContentCatalogService- Parameters:
versionModel- the version model- Returns:
- true, if successful
-
hasCMSRelations
Checks for cms relations.- Specified by:
hasCMSRelationsin interfaceContentCatalogService- Parameters:
versionModel- the version model- Returns:
- true, if successful
-
hasContentPages
public boolean hasContentPages()Checks for content pages.- Specified by:
hasContentPagesin interfaceContentCatalogService- Returns:
- true, if successful
-
hasDefaultCatalogPage
public boolean hasDefaultCatalogPage()Checks for default catalog page.- Specified by:
hasDefaultCatalogPagein interfaceContentCatalogService- Returns:
- true, if successful
-
hasDefaultCategoryPage
public boolean hasDefaultCategoryPage()Checks for default category page.- Specified by:
hasDefaultCategoryPagein interfaceContentCatalogService- Returns:
- true, if successful
-
hasDefaultProductPage
public boolean hasDefaultProductPage()Checks for default product page.- Specified by:
hasDefaultProductPagein interfaceContentCatalogService- Returns:
- true, if successful
-
hasProductPages
public boolean hasProductPages()Checks for product pages.- Specified by:
hasProductPagesin interfaceContentCatalogService- Returns:
- true, if successful
-
isContentCatalog
Checks if passed as parameterCatalogModelobject is content catalog.- Specified by:
isContentCatalogin interfaceContentCatalogService- Parameters:
catalog- the catalog to check- Returns:
- true, if is content catalog
-
isContentCatalog
Checks if passed as parameterCatalogVersionModelobject is content catalog.- Specified by:
isContentCatalogin interfaceContentCatalogService- Parameters:
catalogVersion- the catalog version- Returns:
- true, if is content catalog
-
isProductCatalog
Checks if passed as parameterCatalogModelobject is product catalog.- Specified by:
isProductCatalogin interfaceContentCatalogService- Parameters:
catalog- the catalog- Returns:
- true, if is product catalog
-
isProductCatalog
Checks if passed as parameterCatalogVersionModelobject is product catalog.- Specified by:
isProductCatalogin interfaceContentCatalogService- Parameters:
catalogVersion- the catalog version- Returns:
- true, if is product catalog
-
setCatalogVersionService
-
setCmsContentCatalogDao
-
setCmsPageDao
-
setTypeService
-
hasDefaultPage
-
hasPagesOfType
-