Class ProductCloneEvent
java.lang.Object
com.broadleafcommerce.catalog.clone.messaging.CloneEvent<Product>
com.broadleafcommerce.catalog.clone.messaging.ProductCloneEvent
The event, which is sent after the
Product is cloned.- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe SKUs from the clonedProduct.The SKUs from the originalProduct.inthashCode()voidsetClonedSkus(List<String> clonedSkus) The SKUs from the clonedProduct.voidsetOriginalSkus(List<String> originalSkus) The SKUs from the originalProduct.toString()Methods inherited from class com.broadleafcommerce.catalog.clone.messaging.CloneEvent
getAttributes, getCloned, getOriginal, setAttributes, setCloned, setOriginal
-
Constructor Details
-
ProductCloneEvent
-
ProductCloneEvent
-
-
Method Details
-
equals
- Overrides:
equalsin classCloneEvent<Product>
-
canEqual
- Overrides:
canEqualin classCloneEvent<Product>
-
hashCode
public int hashCode()- Overrides:
hashCodein classCloneEvent<Product>
-
getOriginalSkus
The SKUs from the original
Product.- Returns:
- the SKUs from the original
Product
-
getClonedSkus
The SKUs from the cloned
Product.- Returns:
- the SKUs from the cloned
Product
-
setOriginalSkus
The SKUs from the original
Product.- Parameters:
originalSkus- the SKUs from the originalProduct
-
setClonedSkus
The SKUs from the cloned
Product.- Parameters:
clonedSkus- the SKUs from the clonedProduct
-
toString
- Overrides:
toStringin classCloneEvent<Product>
-