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 booleanbooleanThe attributes used to send the additional information.The ids of the clonedContentItem.The ids of the originalContentItemsthat were cloned.inthashCode()voidsetAttributes(Map<String, Object> attributes) The attributes used to send the additional information.voidsetClonedIds(List<String> clonedIds) The ids of the clonedContentItem.voidsetOriginalIds(List<String> originalIds) The ids of the originalContentItemsthat were cloned.toString()
-
Constructor Details
-
ContentItemCloneEvent
public ContentItemCloneEvent()
-
-
Method Details
-
getOriginalIds
The ids of the original
ContentItemsthat were cloned.- Returns:
- the ids of the original
ContentItemsthat 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
Mapwith additional attributes
-
setOriginalIds
The ids of the original
ContentItemsthat were cloned.- Parameters:
originalIds- the ids of the originalContentItemsthat 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- theMapof attributes
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-