Class ExternalSandboxProvider<I extends CatalogItem>

java.lang.Object
com.broadleafcommerce.bulkoperations.service.provider.external.ExternalSandboxProvider<I>
All Implemented Interfaces:
SandboxProvider<I>

public class ExternalSandboxProvider<I extends CatalogItem> extends Object implements SandboxProvider<I>
  • Field Details

  • Constructor Details

    • ExternalSandboxProvider

      public ExternalSandboxProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ProviderUtils providerUtils, ExternalSandboxProperties properties)
  • Method Details

    • retrieveChangeInfos

      public ChangeInfoResponse retrieveChangeInfos(String changeContainerId, String changeContainerName, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: SandboxProvider
      Retrieves the list of ChangeInfos for the given change container id.
      Specified by:
      retrieveChangeInfos in interface SandboxProvider<I extends CatalogItem>
      Parameters:
      changeContainerId - the change container id to retrieve
      changeContainerName - the name of the change container
      contextInfo - context information surrounding sandboxing/multitenant state
      Returns:
      the list of ChangeInfos for the given change container id
    • revertChangeSummaries

      public void revertChangeSummaries(Collection<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: SandboxProvider
      Reverts the change summaries for the given list of ids.
      Specified by:
      revertChangeSummaries in interface SandboxProvider<I extends CatalogItem>
      Parameters:
      ids - the list of ids to revert
      contextInfo - context information surrounding sandboxing/multitenant state
    • getServiceClient

      protected String getServiceClient()
    • getWebClient

      protected org.springframework.web.reactive.function.client.WebClient getWebClient()
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
    • getProviderUtils

      protected ProviderUtils getProviderUtils()
    • getProperties

      protected ExternalSandboxProperties getProperties()