Class DefaultChangeSummaryUtility
java.lang.Object
com.broadleafcommerce.sandbox.service.DefaultChangeSummaryUtility
- All Implemented Interfaces:
ChangeSummaryUtility
- Author:
- Chad Harchar (charchar)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.broadleafcommerce.common.extension.TypeFactory
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultChangeSummaryUtility
(com.broadleafcommerce.common.extension.TypeFactory sandboxFactory) -
Method Summary
Modifier and TypeMethodDescriptionbuildFromChangeEvent
(com.broadleafcommerce.data.tracking.core.messaging.domain.ChangeEvent changeEvent) Populate aChangeSummary
from the providedChangeEvent
.buildJpaStateFromChangeEvent
(com.broadleafcommerce.data.tracking.core.messaging.domain.ChangeEvent changeEvent) Populate aJpaChangeSummary
from the providedChangeEvent
.
-
Field Details
-
sandboxFactory
protected com.broadleafcommerce.common.extension.TypeFactory sandboxFactory
-
-
Constructor Details
-
DefaultChangeSummaryUtility
public DefaultChangeSummaryUtility(com.broadleafcommerce.common.extension.TypeFactory sandboxFactory)
-
-
Method Details
-
buildFromChangeEvent
public ChangeSummary buildFromChangeEvent(com.broadleafcommerce.data.tracking.core.messaging.domain.ChangeEvent changeEvent) Description copied from interface:ChangeSummaryUtility
Populate aChangeSummary
from the providedChangeEvent
.- Specified by:
buildFromChangeEvent
in interfaceChangeSummaryUtility
- Parameters:
changeEvent
- TheChangeEvent
to use to build aChangeSummary
- Returns:
- a populated
ChangeSummary
from the providedChangeEvent
-
buildJpaStateFromChangeEvent
public JpaChangeSummary buildJpaStateFromChangeEvent(com.broadleafcommerce.data.tracking.core.messaging.domain.ChangeEvent changeEvent) Description copied from interface:ChangeSummaryUtility
Populate aJpaChangeSummary
from the providedChangeEvent
.- Specified by:
buildJpaStateFromChangeEvent
in interfaceChangeSummaryUtility
- Parameters:
changeEvent
- TheChangeEvent
to use to build aJpaChangeSummary
- Returns:
- a populated
JpaChangeSummary
from the providedChangeEvent
-