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 Type
    Method
    Description
    boolean
    isValidCatalogVersion(String baseSiteId, String catalogId, String catalogVersionName)
    Checks if a CatalogVersionModel exists for the given catalogId and catalogVersion and is present in the stores of the given base site id
    void
    setSessionCatalogVersion(String catalogId, String catalogVersionName)
    Sets the CatalogVersionModel specified by catalogId and catalogVersionName as the active CatalogVersion of the current session.

    Methods inherited from interface de.hybris.platform.cmsfacades.catalogversions.CatalogVersionFacade

    getCatalogVersion, getWritableContentCatalogVersionTargets
  • Method Details

    • setSessionCatalogVersion

      void setSessionCatalogVersion(String catalogId, String catalogVersionName)
      Sets the CatalogVersionModel specified by catalogId and catalogVersionName as the active CatalogVersion of the current session. Previously set active CatalogVersions are replaced.
      Parameters:
      catalogId - the id of the Catalog the CatalogVersion belongs to
      catalogVersionName - the name of the Catalog version
    • isValidCatalogVersion

      boolean isValidCatalogVersion(String baseSiteId, String catalogId, String catalogVersionName)
      Checks if a CatalogVersionModel exists 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 site
      catalogId - the id of the catalog
      catalogVersionName - the version of the catalog
      Returns:
      true if it exists, false otherwise.