public class DefaultContentCatalogService extends AbstractCMSService implements ContentCatalogService
ContentCatalogService interface.AbstractService.SerializableDTOCURRENTCATALOGVERSION, CURRENTSITEmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultContentCatalogService() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ContentCatalogModel> |
getContentCatalogs()
Gets the content catalogs.
|
Collection<ContentCatalogModel> |
getContentCatalogs(String orderField)
returns all content catalogs, ordered by the given orderField
|
boolean |
hasCatalogPages()
Checks for catalog pages.
|
boolean |
hasCategoryPages()
Checks for category pages.
|
boolean |
hasCMSItems(CatalogVersionModel versionModel)
Checks for cms items.
|
boolean |
hasCMSRelations(CatalogVersionModel versionModel)
Checks for cms relations.
|
boolean |
hasContentPages()
Checks for content pages.
|
boolean |
hasDefaultCatalogPage()
Checks for default catalog page.
|
boolean |
hasDefaultCategoryPage()
Checks for default category page.
|
protected boolean |
hasDefaultPage(String composedTypeCode) |
boolean |
hasDefaultProductPage()
Checks for default product page.
|
protected boolean |
hasPagesOfType(ComposedTypeModel composedType) |
boolean |
hasProductPages()
Checks for product pages.
|
boolean |
isContentCatalog(CatalogModel catalog)
Checks if passed as parameter
CatalogModel object is content catalog. |
boolean |
isContentCatalog(CatalogVersionModel catalogVersion)
Checks if passed as parameter
CatalogVersionModel object is content catalog. |
boolean |
isProductCatalog(CatalogModel catalog)
Checks if passed as parameter
CatalogModel object is product catalog. |
boolean |
isProductCatalog(CatalogVersionModel catalogVersion)
Checks if passed as parameter
CatalogVersionModel object is product catalog. |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setCmsContentCatalogDao(CMSContentCatalogDao cmsContentCatalogDao) |
void |
setCmsPageDao(CMSPageDao cmsPageDao) |
void |
setTypeService(TypeService typeService) |
getBaseSiteService, getCurrentCatalogVersion, getCurrentSite, getSearchRestrictionService, getUserService, setBaseSiteService, setSearchRestrictionService, setUserServicegetModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic Collection<ContentCatalogModel> getContentCatalogs()
getContentCatalogs in interface ContentCatalogServicepublic Collection<ContentCatalogModel> getContentCatalogs(String orderField)
getContentCatalogs in interface ContentCatalogServiceorderField - the field to order the content catalogs bypublic boolean hasCatalogPages()
hasCatalogPages in interface ContentCatalogServicepublic boolean hasCategoryPages()
hasCategoryPages in interface ContentCatalogServicepublic boolean hasCMSItems(CatalogVersionModel versionModel)
hasCMSItems in interface ContentCatalogServiceversionModel - the version modelpublic boolean hasCMSRelations(CatalogVersionModel versionModel)
hasCMSRelations in interface ContentCatalogServiceversionModel - the version modelpublic boolean hasContentPages()
hasContentPages in interface ContentCatalogServicepublic boolean hasDefaultCatalogPage()
hasDefaultCatalogPage in interface ContentCatalogServicepublic boolean hasDefaultCategoryPage()
hasDefaultCategoryPage in interface ContentCatalogServicepublic boolean hasDefaultProductPage()
hasDefaultProductPage in interface ContentCatalogServicepublic boolean hasProductPages()
hasProductPages in interface ContentCatalogServicepublic boolean isContentCatalog(CatalogModel catalog)
CatalogModel object is content catalog.isContentCatalog in interface ContentCatalogServicecatalog - the catalog to checkpublic boolean isContentCatalog(CatalogVersionModel catalogVersion)
CatalogVersionModel object is content catalog.isContentCatalog in interface ContentCatalogServicecatalogVersion - the catalog versionpublic boolean isProductCatalog(CatalogModel catalog)
CatalogModel object is product catalog.isProductCatalog in interface ContentCatalogServicecatalog - the catalogpublic boolean isProductCatalog(CatalogVersionModel catalogVersion)
CatalogVersionModel object is product catalog.isProductCatalog in interface ContentCatalogServicecatalogVersion - the catalog versionpublic void setCatalogVersionService(CatalogVersionService catalogVersionService)
public void setCmsContentCatalogDao(CMSContentCatalogDao cmsContentCatalogDao)
public void setCmsPageDao(CMSPageDao cmsPageDao)
public void setTypeService(TypeService typeService)
protected boolean hasDefaultPage(String composedTypeCode)
protected boolean hasPagesOfType(ComposedTypeModel composedType)
Copyright © 2017 SAP SE. All Rights Reserved.