Class DefaultMerchCategoryExporter

    • Constructor Detail

      • DefaultMerchCategoryExporter

        public DefaultMerchCategoryExporter()
        Deprecated.
    • Method Detail

      • exportCategories

        public void exportCategories()
        Deprecated.
        exportCategories is a method for retrieving the category hierarchy and invoking a call to Merch v2 to persist the hierarchy.
        Specified by:
        exportCategories in interface MerchCategoryExporter
      • exportCategoriesForCurrentBaseSite

        public void exportCategoriesForCurrentBaseSite()
        Deprecated.
        exportCategoriesForCurrentBaseSite is a method for retrieving the category hierarchy and invoking a call to Merch v2 to persist the hierarchy.
        Specified by:
        exportCategoriesForCurrentBaseSite in interface MerchCategoryExporter
      • exportCategories

        public void exportCategories​(MerchProductDirectoryConfigModel productDirectory)
        Deprecated.
        exportCategories is a method for retrieving the categories to synchronise for a given product directory.
        Specified by:
        exportCategories in interface MerchCategoryExporter
        Parameters:
        productDirectory - the product directory we wish to extract categories for.
      • perform

        public PerformResult perform​(CronJobModel cronJob)
        Deprecated.
        The execution body for a ServicelayerJob. Implement here your execution logic. It can be called synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the execution has reached end and if it was successful.
        Specified by:
        perform in interface JobPerformable<CronJobModel>
        Specified by:
        perform in class AbstractJobPerformable<CronJobModel>
        Parameters:
        cronJob - the related CronJob in whose context the execution will be performed.
        Returns:
        a PerformResult that indicates whether the execution was successfully executed or not and has finished or not.
      • setMerchSynchronizationConfigDao

        public void setMerchSynchronizationConfigDao​(MerchSynchronizationConfigDao merchSynchronizationConfigDao)
        Deprecated.
        Sets the configured DAO to retrieve the configuration.
        Parameters:
        merchSynchronizationConfigDao -
      • setMerchCatalogService

        public void setMerchCatalogService​(MerchCatalogService merchCatalogService)
        Deprecated.
        Sets the configured catalog service.
        Parameters:
        merchCatalogService - the configured MerchCatalogService.
      • getTypeService

        protected TypeService getTypeService()
        Deprecated.
        Gets the configured TypeService instance for retrieving composed type for class.
        Returns:
        the configured TypeService.
      • setTypeService

        public void setTypeService​(TypeService typeService)
        Deprecated.
        Sets the configured instance of TypeService for use.
        Parameters:
        typeService - the TypeService to inject.