Class DefaultCatalogVersionFacade
java.lang.Object
de.hybris.platform.cmsfacades.catalogversions.impl.DefaultCatalogVersionFacade
- All Implemented Interfaces:
CatalogVersionFacade
Facade interface which deals with methods related to catalog version operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<CatalogVersionData>convertToListData(List<CatalogVersionModel> catalogVersionModels) protected CatalogServicegetCatalogVersion(String catalogId, String versionId) Retrieve catalog version information, including page display conditions.protected CatalogVersionServiceprotected CMSAdminSiteServiceprotected Converter<CatalogVersionModel,CatalogVersionData> protected CMSCatalogVersionServiceprotected PageDisplayConditionServiceprotected UserServicegetWritableContentCatalogVersionTargets(String siteId, String catalogId, String versionId) Retrieve content catalog versions for a catalog or for all child catalogs.voidsetCatalogService(CatalogService catalogService) voidsetCatalogVersionService(CatalogVersionService catalogVersionService) voidsetCmsAdminSiteService(CMSAdminSiteService cmsAdminSiteService) voidsetCmsCatalogVersionConverter(Converter<CatalogVersionModel, CatalogVersionData> cmsCatalogVersionConverter) voidsetCmsCatalogVersionService(CMSCatalogVersionService cmsCatalogVersionService) voidsetModelService(ModelService modelService) voidsetPageDisplayConditionService(PageDisplayConditionService pageDisplayConditionService) voidsetSessionSearchRestrictionDisabler(SessionSearchRestrictionsDisabler sessionSearchRestrictionDisabler) voidsetUserService(UserService userService)
-
Constructor Details
-
DefaultCatalogVersionFacade
public DefaultCatalogVersionFacade()
-
-
Method Details
-
getCatalogVersion
public CatalogVersionData getCatalogVersion(String catalogId, String versionId) throws CMSItemNotFoundException Description copied from interface:CatalogVersionFacadeRetrieve catalog version information, including page display conditions.- Specified by:
getCatalogVersionin 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 List<CatalogVersionData> getWritableContentCatalogVersionTargets(String siteId, String catalogId, String versionId) Description copied from interface:CatalogVersionFacadeRetrieve content catalog versions for a catalog or for all child catalogs.- Specified by:
getWritableContentCatalogVersionTargetsin 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 List<CatalogVersionData> convertToListData(List<CatalogVersionModel> catalogVersionModels) -
getCmsCatalogVersionConverter
-
setCmsCatalogVersionConverter
public void setCmsCatalogVersionConverter(Converter<CatalogVersionModel, CatalogVersionData> cmsCatalogVersionConverter) -
getCatalogVersionService
-
setCatalogVersionService
-
getPageDisplayConditionService
-
setPageDisplayConditionService
-
getCmsCatalogVersionService
-
setCmsCatalogVersionService
-
getCatalogService
-
setCatalogService
-
getCmsAdminSiteService
-
setCmsAdminSiteService
-
getUserService
-
setUserService
-
getModelService
-
setModelService
-
getSessionSearchRestrictionDisabler
-
setSessionSearchRestrictionDisabler
public void setSessionSearchRestrictionDisabler(SessionSearchRestrictionsDisabler sessionSearchRestrictionDisabler)
-