Class ContextChangeContainer
java.lang.Object
com.broadleafcommerce.data.tracking.core.context.ContextChangeContainer
- All Implemented Interfaces:
ChangeContainer
Context implementation version of
ChangeContainer
to be used with ContextRequest
.- Author:
- Chad Harchar (charchar)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
Generally, the context id of the top-level entity that changedgetName()
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".int
hashCode()
void
Generally, the context id of the top-level entity that changedvoid
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".void
setRouteKey
(String routeKey) void
setSubContainerName
(String subContainerName) The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
getContainerCatalog, setContainerCatalog
-
Constructor Details
-
ContextChangeContainer
public ContextChangeContainer()
-
-
Method Details
-
getId
Description copied from interface:ChangeContainer
Generally, the context id of the top-level entity that changed- Specified by:
getId
in interfaceChangeContainer
- Returns:
- Generally, the context id of the top-level entity that changed
- See Also:
-
getName
Description copied from interface:ChangeContainer
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Specified by:
getName
in interfaceChangeContainer
- Returns:
- The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT"
-
getRouteKey
- Specified by:
getRouteKey
in interfaceChangeContainer
-
getSubContainerName
Description copied from interface:ChangeContainer
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Specified by:
getSubContainerName
in interfaceChangeContainer
- Returns:
- The name of the sub-container (second-level entity), which is typically snake-cased and capitalized, i.e., "PRICE_DATA"
-
setId
Description copied from interface:ChangeContainer
Generally, the context id of the top-level entity that changed- Specified by:
setId
in interfaceChangeContainer
- Parameters:
id
- Generally, the context id of the top-level entity that changed- See Also:
-
setName
Description copied from interface:ChangeContainer
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Specified by:
setName
in interfaceChangeContainer
- Parameters:
name
- The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT"
-
setRouteKey
- Specified by:
setRouteKey
in interfaceChangeContainer
-
setSubContainerName
Description copied from interface:ChangeContainer
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Specified by:
setSubContainerName
in interfaceChangeContainer
- Parameters:
subContainerName
- The name of the sub-container (second-level entity), which is typically snake-cased and capitalized, i.e., "PRICE_DATA"
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-