Class ContentItemCloneEvent

java.lang.Object
com.broadleafcommerce.content.clone.messaging.ContentItemCloneEvent

public class ContentItemCloneEvent extends Object
The event, which is sent after the ContentItem is cloned.
Author:
Susana Cruz (susanaccruz)
  • Constructor Details

    • ContentItemCloneEvent

      public ContentItemCloneEvent()
  • Method Details

    • getOriginalIds

      public List<String> getOriginalIds()

      The ids of the original ContentItems that were cloned.

      Returns:
      the ids of the original ContentItems that were cloned
    • getClonedIds

      public List<String> getClonedIds()

      The ids of the cloned ContentItem.

      Returns:
      the ids of the cloned ContentItem
    • getAttributes

      public Map<String,Object> getAttributes()

      The attributes used to send the additional information.

      Returns:
      the Map with additional attributes
    • setOriginalIds

      public void setOriginalIds(List<String> originalIds)

      The ids of the original ContentItems that were cloned.

      Parameters:
      originalIds - the ids of the original ContentItems that were cloned
    • setClonedIds

      public void setClonedIds(List<String> clonedIds)

      The ids of the cloned ContentItem.

      Parameters:
      clonedIds - the ids of the cloned ContentItem
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)

      The attributes used to send the additional information.

      Parameters:
      attributes - the Map of attributes
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object