Class ChangeSummary
java.lang.Object
com.broadleafcommerce.bulkoperations.domain.ChangeSummary
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.protected boolean
boolean
Return any additional attributes passed in the request not matching any defined properties.Map of any additional attributes for the product.The author responsible for the change.The projection domain alias for this change, represented as the class simple name, i.e., Product.The contextId of the domain object that underwent the change.The entity type for this change, represented as the fully qualified classname.getId()
Unique identifier for this change summary.The sandbox that contains the change.int
hashCode()
void
setAttributes
(Map<String, Object> attributes) Map of any additional attributes for the product.void
The author responsible for the change.void
setChangeType
(String changeType) The type of change that was made.void
setDomainAlias
(String domainAlias) The projection domain alias for this change, represented as the class simple name, i.e., Product.void
setDomainContextId
(String domainContextId) The contextId of the domain object that underwent the change.void
setEntityType
(String entityType) The entity type for this change, represented as the fully qualified classname.void
Unique identifier for this change summary.void
setSandbox
(String sandbox) The sandbox that contains the change.toString()
-
Constructor Details
-
ChangeSummary
public ChangeSummary()
-
-
Method Details
-
addAttribute
Takes in any additional attributes passed in the request not matching any defined properties.- Parameters:
name
- Name of the additional attributevalue
- Value of the additional attribute
-
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
-
getId
Unique identifier for this change summary.- Returns:
- Unique identifier for this change summary
-
getDomainContextId
The contextId of the domain object that underwent the change.- Returns:
- The contextId of the domain object that underwent the change
-
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
The entity type for this change, represented as the fully qualified classname.- Returns:
- The entity type for this change
-
getAuthor
The author responsible for the change.- Returns:
- The author responsible for this change
-
getSandbox
The sandbox that contains the change.- Returns:
- The sandbox that contains the change
-
getAttributes
Map of any additional attributes for the product. -
setId
Unique identifier for this change summary.- Parameters:
id
- Unique identifier for this change summary
-
setDomainContextId
The contextId of the domain object that underwent the change.- Parameters:
domainContextId
- The contextId of the domain object that underwent the change
-
setDomainAlias
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
The entity type for this change, represented as the fully qualified classname.- Parameters:
entityType
- The entity type for this change
-
setAuthor
The author responsible for the change.- Parameters:
author
- The author responsible for this change
-
setSandbox
The sandbox that contains the change.- Parameters:
sandbox
- The sandbox that contains the change
-
setChangeType
The type of change that was made.- Parameters:
changeType
- The type of change that was made
-
setAttributes
Map of any additional attributes for the product. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-