Class ContentItemCloneEvent
java.lang.Object
com.broadleafcommerce.content.clone.messaging.ContentItemCloneEvent
The event, which is sent after the
ContentItem
is cloned.- Author:
- Susana Cruz (susanaccruz)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The attributes used to send the additional information.The ids of the clonedContentItem
.The ids of the originalContentItems
that were cloned.int
hashCode()
void
setAttributes
(Map<String, Object> attributes) The attributes used to send the additional information.void
setClonedIds
(List<String> clonedIds) The ids of the clonedContentItem
.void
setOriginalIds
(List<String> originalIds) The ids of the originalContentItems
that were cloned.toString()
-
Constructor Details
-
ContentItemCloneEvent
public ContentItemCloneEvent()
-
-
Method Details
-
getOriginalIds
The ids of the original
ContentItems
that were cloned.- Returns:
- the ids of the original
ContentItems
that were cloned
-
getClonedIds
The ids of the cloned
ContentItem
.- Returns:
- the ids of the cloned
ContentItem
-
getAttributes
The attributes used to send the additional information.
- Returns:
- the
Map
with additional attributes
-
setOriginalIds
The ids of the original
ContentItems
that were cloned.- Parameters:
originalIds
- the ids of the originalContentItems
that were cloned
-
setClonedIds
The ids of the cloned
ContentItem
.- Parameters:
clonedIds
- the ids of the clonedContentItem
-
setAttributes
The attributes used to send the additional information.
- Parameters:
attributes
- theMap
of attributes
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-