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

    Constructors
    Constructor
    Description
    DefaultTmaCatalogVersionFacade(de.hybris.platform.site.BaseSiteService baseSiteService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected de.hybris.platform.site.BaseSiteService
     
    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 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, setUserService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

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

      public boolean isValidCatalogVersion(String baseSiteId, String catalogId, String catalogVersionName)
      Description copied from interface: TmaCatalogVersionFacade
      Checks if a CatalogVersionModel exists for the given catalogId and catalogVersion and is present in the stores of the given base site id
      Specified by:
      isValidCatalogVersion in interface TmaCatalogVersionFacade
      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.
    • getBaseSiteService

      protected de.hybris.platform.site.BaseSiteService getBaseSiteService()