Class DefaultCatalogVersionFacade
- java.lang.Object
-
- de.hybris.platform.cmsfacades.catalogversions.impl.DefaultCatalogVersionFacade
-
- All Implemented Interfaces:
CatalogVersionFacade
public class DefaultCatalogVersionFacade extends java.lang.Object implements CatalogVersionFacade
Facade interface which deals with methods related to catalog version operations.
-
-
Constructor Summary
Constructors Constructor Description DefaultCatalogVersionFacade()
-
Method Summary
-
-
-
Method Detail
-
getCatalogVersion
public CatalogVersionData getCatalogVersion(java.lang.String catalogId, java.lang.String versionId) throws CMSItemNotFoundException
Description copied from interface:CatalogVersionFacade
Retrieve catalog version information, including page display conditions.- Specified by:
getCatalogVersion
in interfaceCatalogVersionFacade
- Parameters:
catalogId
- - the catalog identifierversionId
- - the catalog version identifier- Returns:
- a
CatalogVersionData
- Throws:
CMSItemNotFoundException
- when the given catalog and/or version is not valid
-
getWritableContentCatalogVersionTargets
public java.util.List<CatalogVersionData> getWritableContentCatalogVersionTargets(java.lang.String siteId, java.lang.String catalogId, java.lang.String versionId)
Description copied from interface:CatalogVersionFacade
Retrieve content catalog versions for a catalog or for all child catalogs.- Specified by:
getWritableContentCatalogVersionTargets
in interfaceCatalogVersionFacade
- Parameters:
siteId
- - the site identifiercatalogId
- - the catalog identifierversionId
- - the catalog version identifier- Returns:
- the list of content catalog versions for given site, catalog or for all child catalogs.
-
convertToListData
protected java.util.List<CatalogVersionData> convertToListData(java.util.List<CatalogVersionModel> catalogVersionModels)
-
getCmsCatalogVersionConverter
protected Converter<CatalogVersionModel,CatalogVersionData> getCmsCatalogVersionConverter()
-
setCmsCatalogVersionConverter
public void setCmsCatalogVersionConverter(Converter<CatalogVersionModel,CatalogVersionData> cmsCatalogVersionConverter)
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
getPageDisplayConditionService
protected PageDisplayConditionService getPageDisplayConditionService()
-
setPageDisplayConditionService
public void setPageDisplayConditionService(PageDisplayConditionService pageDisplayConditionService)
-
getCmsCatalogVersionService
protected CMSCatalogVersionService getCmsCatalogVersionService()
-
setCmsCatalogVersionService
public void setCmsCatalogVersionService(CMSCatalogVersionService cmsCatalogVersionService)
-
getCatalogService
protected CatalogService getCatalogService()
-
setCatalogService
public void setCatalogService(CatalogService catalogService)
-
getCmsAdminSiteService
protected CMSAdminSiteService getCmsAdminSiteService()
-
setCmsAdminSiteService
public void setCmsAdminSiteService(CMSAdminSiteService cmsAdminSiteService)
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
-