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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExternalSandboxProvider
(org.springframework.web.reactive.function.client.WebClient webClient, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ProviderUtils providerUtils, ExternalSandboxProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected ExternalSandboxProperties
protected ProviderUtils
protected String
protected com.broadleafcommerce.common.extension.TypeFactory
protected org.springframework.web.reactive.function.client.WebClient
retrieveChangeInfos
(String changeContainerId, String changeContainerName, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves the list of ChangeInfos for the given change container id.void
revertChangeSummaries
(Collection<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reverts the change summaries for the given list of ids.
-
Field Details
-
ORIGINAL_AUTHOR_HEADER
- See Also:
-
-
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 interfaceSandboxProvider<I extends CatalogItem>
- Parameters:
changeContainerId
- the change container id to retrievechangeContainerName
- the name of the change containercontextInfo
- 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 interfaceSandboxProvider<I extends CatalogItem>
- Parameters:
ids
- the list of ids to revertcontextInfo
- context information surrounding sandboxing/multitenant state
-
getServiceClient
-
getWebClient
protected org.springframework.web.reactive.function.client.WebClient getWebClient() -
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory() -
getProviderUtils
-
getProperties
-