Class JpaTrackableDomainMapperMemberSupport
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.DefaultTrackableDomainMapperMemberSupport
com.broadleafcommerce.data.tracking.jpa.mapping.JpaTrackableDomainMapperMemberSupport
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.TrackableDomainMapperMemberSupport
public class JpaTrackableDomainMapperMemberSupport
extends com.broadleafcommerce.data.tracking.core.mapping.DefaultTrackableDomainMapperMemberSupport
- Author:
- Jeff Fischer
-
Field Summary
Fields inherited from interface com.broadleafcommerce.data.tracking.core.mapping.TrackableDomainMapperMemberSupport
REFLECTIVE_ERROR, SYSTEM
-
Constructor Summary
ConstructorDescriptionJpaTrackableDomainMapperMemberSupport
(com.broadleafcommerce.common.extension.TypeFactory factory, com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil, com.fasterxml.jackson.databind.ObjectMapper fieldChangeMapper, org.modelmapper.ModelMapper cloneMapper, com.broadleafcommerce.data.tracking.core.mapping.ContextStateBuilder contextStateBuilder, com.broadleafcommerce.data.tracking.core.policy.trackable.CatalogFinder<com.broadleafcommerce.data.tracking.core.tenant.domain.Catalog> catalogFinder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildTracking
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.data.tracking.core.Trackable domainInstance, List<com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeDetail> details) protected void
replaceCollection
(com.broadleafcommerce.data.tracking.core.Trackable domainInstance, Field field) protected void
updateChangeSummaryState
(com.broadleafcommerce.data.tracking.core.Trackable entity, com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) protected void
updatePersistenceMessageState
(com.broadleafcommerce.data.tracking.core.Trackable entity, com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) Methods inherited from class com.broadleafcommerce.data.tracking.core.mapping.DefaultTrackableDomainMapperMemberSupport
buildChangeDetailAfter, buildChangeDetailBefore, buildContextState, buildTracking, compileDirty, getBehaviorUtil, getCatalogFinder, getCloneMapper, getContextStateBuilder, getEmbeddedCollectionElementIdFieldName, getFactory, getHelper, getIgnoredNotificationStateRepositories, getIgnoredRepositories, getMonetaryAmountTypeReference, getPolicyUtils, getRepositoryForEntity, getRepositoryUtility, getSerializedType, handleDelete, internalOptimizeDirtyEmbeddedCollection, isDirty, isGenericObjectList, isGenericObjectMap, isMappingResetRequired, optimizeDirtyEmbeddedCollection, optimizeDirtyEmbeddedComplexList, optimizeDirtyEmbeddedComplexMap, optimizeDirtyEmbeddedList, optimizeDirtyEmbeddedListElementFields, optimizeDirtyEmbeddedMap, optimizeDirtyEmbeddedMapEntryFields, optimizeDirtyEmbeddedOther, optimizeDirtyEmbeddedSimpleList, optimizeDirtyEmbeddedSimpleMap, removeUnchangedEmbeddedCollectionElementFields, removeUnchangedEmbeddedListElements, removeUnchangedEmbeddedMapEntries, setIgnoredRepositories, setPolicyUtils, setRepositoryUtility, shouldBuildNotificationState, shouldCompileDetails
-
Constructor Details
-
JpaTrackableDomainMapperMemberSupport
public JpaTrackableDomainMapperMemberSupport(com.broadleafcommerce.common.extension.TypeFactory factory, com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil, com.fasterxml.jackson.databind.ObjectMapper fieldChangeMapper, org.modelmapper.ModelMapper cloneMapper, com.broadleafcommerce.data.tracking.core.mapping.ContextStateBuilder contextStateBuilder, com.broadleafcommerce.data.tracking.core.policy.trackable.CatalogFinder<com.broadleafcommerce.data.tracking.core.tenant.domain.Catalog> catalogFinder)
-
-
Method Details
-
updateChangeSummaryState
protected void updateChangeSummaryState(com.broadleafcommerce.data.tracking.core.Trackable entity, com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) - Overrides:
updateChangeSummaryState
in classcom.broadleafcommerce.data.tracking.core.mapping.DefaultTrackableDomainMapperMemberSupport
-
updatePersistenceMessageState
protected void updatePersistenceMessageState(com.broadleafcommerce.data.tracking.core.Trackable entity, com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) - Overrides:
updatePersistenceMessageState
in classcom.broadleafcommerce.data.tracking.core.mapping.DefaultTrackableDomainMapperMemberSupport
-
buildTracking
public void buildTracking(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.data.tracking.core.Trackable domainInstance, List<com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeDetail> details) - Specified by:
buildTracking
in interfacecom.broadleafcommerce.data.tracking.core.mapping.TrackableDomainMapperMemberSupport
- Overrides:
buildTracking
in classcom.broadleafcommerce.data.tracking.core.mapping.DefaultTrackableDomainMapperMemberSupport
-
replaceCollection
protected void replaceCollection(com.broadleafcommerce.data.tracking.core.Trackable domainInstance, Field field)
-