Class ChangeSummary

java.lang.Object
com.broadleafcommerce.bulkoperations.domain.ChangeSummary
All Implemented Interfaces:
Serializable

public class ChangeSummary extends Object implements Serializable
Detailed summary information of a change made to an instance of a sandboxable entity. Each summary is unique for its combination of domainContextId, domainAlias, author, and sandbox
Since:
Bulk Operations Service 1.0.2, Release Train 2.1.4, Release Train 2.2.0
Author:
Jon Fleschler (jfleschler)
See Also:
  • Constructor Details

    • ChangeSummary

      public ChangeSummary()
  • Method Details

    • addAttribute

      public void addAttribute(String name, Object value)
      Takes in any additional attributes passed in the request not matching any defined properties.
      Parameters:
      name - Name of the additional attribute
      value - Value of the additional attribute
    • getAttribute

      public Map<String,Object> getAttribute()
      Return any additional attributes passed in the request not matching any defined properties.
      Returns:
      any additional attributes passed in the request not matching any defined properties.
    • getChangeType

      public String getChangeType()
    • getId

      public String getId()
      Unique identifier for this change summary.
      Returns:
      Unique identifier for this change summary
    • getDomainContextId

      public String getDomainContextId()
      The contextId of the domain object that underwent the change.
      Returns:
      The contextId of the domain object that underwent the change
    • getDomainAlias

      public String getDomainAlias()
      The projection domain alias for this change, represented as the class simple name, i.e., Product.
      Returns:
      The projection domain alias for this change
    • getEntityType

      public String getEntityType()
      The entity type for this change, represented as the fully qualified classname.
      Returns:
      The entity type for this change
    • getAuthor

      public String getAuthor()
      The author responsible for the change.
      Returns:
      The author responsible for this change
    • getSandbox

      public String getSandbox()
      The sandbox that contains the change.
      Returns:
      The sandbox that contains the change
    • getAttributes

      public Map<String,Object> getAttributes()
      Map of any additional attributes for the product.
    • setId

      public void setId(String id)
      Unique identifier for this change summary.
      Parameters:
      id - Unique identifier for this change summary
    • setDomainContextId

      public void setDomainContextId(String domainContextId)
      The contextId of the domain object that underwent the change.
      Parameters:
      domainContextId - The contextId of the domain object that underwent the change
    • setDomainAlias

      public void setDomainAlias(String domainAlias)
      The projection domain alias for this change, represented as the class simple name, i.e., Product.
      Parameters:
      domainAlias - The projection domain alias for this change
    • setEntityType

      public void setEntityType(String entityType)
      The entity type for this change, represented as the fully qualified classname.
      Parameters:
      entityType - The entity type for this change
    • setAuthor

      public void setAuthor(String author)
      The author responsible for the change.
      Parameters:
      author - The author responsible for this change
    • setSandbox

      public void setSandbox(String sandbox)
      The sandbox that contains the change.
      Parameters:
      sandbox - The sandbox that contains the change
    • setChangeType

      public void setChangeType(String changeType)
      The type of change that was made.
      Parameters:
      changeType - The type of change that was made
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Map of any additional attributes for the product.
    • 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