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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The SKUs from the clonedProduct
.The SKUs from the originalProduct
.int
hashCode()
void
setClonedSkus
(List<String> clonedSkus) The SKUs from the clonedProduct
.void
setOriginalSkus
(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:
equals
in classCloneEvent<Product>
-
canEqual
- Overrides:
canEqual
in classCloneEvent<Product>
-
hashCode
public int hashCode()- Overrides:
hashCode
in 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:
toString
in classCloneEvent<Product>
-