Interface CloneProductRelationshipsManager<P extends Product,R extends CloneProductRequest>

All Known Implementing Classes:
DefaultCloneProductRelationshipsManager

public interface CloneProductRelationshipsManager<P extends Product,R extends CloneProductRequest>
The service manager that is used to clone the Product relationships.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cloneRelationships(R request, P original, P cloned, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Clone the Product relationships.
  • Method Details

    • cloneRelationships

      void cloneRelationships(R request, P original, P cloned, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Clone the Product relationships.
      Parameters:
      request - the request to perform the clone operation
      original - the original Product
      cloned - the Product for which to clone relationships. The cloned relationships will be assigned to this Product.
      context - context information surrounding sandboxing and multitenant state