Class CloneEvent<E>
java.lang.Object
com.broadleafcommerce.catalog.clone.messaging.CloneEvent<E>
- Type Parameters:
E
- the type of entity
- Direct Known Subclasses:
ProductCloneEvent
The event, which is sent after the entity is cloned.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The attributes used to send the additional information.The cloned entity.The original entity.int
hashCode()
void
setAttributes
(Map<String, Object> attributes) The attributes used to send the additional information.void
The cloned entity.void
setOriginal
(E original) The original entity.toString()
-
Constructor Details
-
CloneEvent
-
CloneEvent
-
-
Method Details
-
getOriginal
The original entity.
- Returns:
- the original entity
-
getCloned
The cloned entity.
- Returns:
- the cloned entity
-
getAttributes
The attributes used to send the additional information.
- Returns:
- the
Map
with additional attributes
-
setOriginal
The original entity.
- Parameters:
original
- the original entity to clone
-
setCloned
The cloned entity.
- Parameters:
cloned
- the cloned entity
-
setAttributes
The attributes used to send the additional information.
- Parameters:
attributes
- theMap
of attributes
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-