Interface TmaCatalogVersionFacade
- All Superinterfaces:
de.hybris.platform.cmsfacades.catalogversions.CatalogVersionFacade
- All Known Implementing Classes:
DefaultTmaCatalogVersionFacade
public interface TmaCatalogVersionFacade
extends de.hybris.platform.cmsfacades.catalogversions.CatalogVersionFacade
Implements TMA specific functionality for catalogVersion related data.
- Since:
- 2202
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidCatalogVersion(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 interface de.hybris.platform.cmsfacades.catalogversions.CatalogVersionFacade
getCatalogVersion, getWritableContentCatalogVersionTargets
-
Method Details
-
setSessionCatalogVersion
Sets theCatalogVersionModelspecified bycatalogIdandcatalogVersionNameas the active CatalogVersion of the current session. Previously set active CatalogVersions are replaced.- Parameters:
catalogId- the id of the Catalog the CatalogVersion belongs tocatalogVersionName- the name of the Catalog version
-
isValidCatalogVersion
Checks if aCatalogVersionModelexists for the given catalogId and catalogVersion and is present in the stores of the given base site id- 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.
-