Class DefaultTmaCatalogVersionFacade
java.lang.Object
de.hybris.platform.cmsfacades.catalogversions.impl.DefaultCatalogVersionFacade
de.hybris.platform.b2ctelcofacades.catalog.impl.DefaultTmaCatalogVersionFacade
- All Implemented Interfaces:
TmaCatalogVersionFacade,de.hybris.platform.cmsfacades.catalogversions.CatalogVersionFacade
public class DefaultTmaCatalogVersionFacade
extends de.hybris.platform.cmsfacades.catalogversions.impl.DefaultCatalogVersionFacade
implements TmaCatalogVersionFacade
Default implementation of
TmaCatalogVersionFacade- Since:
- 2202
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTmaCatalogVersionFacade(de.hybris.platform.site.BaseSiteService baseSiteService) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.site.BaseSiteServicebooleanisValidCatalogVersion(String baseSiteId, String catalogId, String catalogVersionName) Checks if aCatalogVersionModelexists for the given catalogId and catalogVersion and is present in the stores of the given base site idvoidsetSessionCatalogVersion(String catalogId, String catalogVersionName) Sets theCatalogVersionModelspecified bycatalogIdandcatalogVersionNameas the active CatalogVersion of the current session.Methods inherited from class de.hybris.platform.cmsfacades.catalogversions.impl.DefaultCatalogVersionFacade
convertToListData, getCatalogService, getCatalogVersion, getCatalogVersionService, getCmsAdminSiteService, getCmsCatalogVersionConverter, getCmsCatalogVersionService, getModelService, getPageDisplayConditionService, getSessionSearchRestrictionDisabler, getUserService, getWritableContentCatalogVersionTargets, setCatalogService, setCatalogVersionService, setCmsAdminSiteService, setCmsCatalogVersionConverter, setCmsCatalogVersionService, setModelService, setPageDisplayConditionService, setSessionSearchRestrictionDisabler, setUserServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cmsfacades.catalogversions.CatalogVersionFacade
getCatalogVersion, getWritableContentCatalogVersionTargets
-
Constructor Details
-
DefaultTmaCatalogVersionFacade
public DefaultTmaCatalogVersionFacade(de.hybris.platform.site.BaseSiteService baseSiteService)
-
-
Method Details
-
setSessionCatalogVersion
Description copied from interface:TmaCatalogVersionFacadeSets theCatalogVersionModelspecified bycatalogIdandcatalogVersionNameas the active CatalogVersion of the current session. Previously set active CatalogVersions are replaced.- Specified by:
setSessionCatalogVersionin interfaceTmaCatalogVersionFacade- Parameters:
catalogId- the id of the Catalog the CatalogVersion belongs tocatalogVersionName- the name of the Catalog version
-
isValidCatalogVersion
public boolean isValidCatalogVersion(String baseSiteId, String catalogId, String catalogVersionName) Description copied from interface:TmaCatalogVersionFacadeChecks if aCatalogVersionModelexists for the given catalogId and catalogVersion and is present in the stores of the given base site id- Specified by:
isValidCatalogVersionin interfaceTmaCatalogVersionFacade- Parameters:
baseSiteId- the id of the base sitecatalogId- the id of the catalogcatalogVersionName- the version of the catalog- Returns:
- true if it exists, false otherwise.
-
getBaseSiteService
protected de.hybris.platform.site.BaseSiteService getBaseSiteService()
-