Class MonetaryMapperMember
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.money.MonetaryMapperMember
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware,DomainMapper,DomainMapperMember,org.springframework.core.Ordered
Deprecated.
Converts repository-stored instances of money (which is always just the numeric value) into their
business-domain currency instances
- Author:
- Phillip Verheyden (phillipuniverse)
-
Field Summary
Fields inherited from interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
ALL_MATCHFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionMonetaryMapperMember(CurrencyContextProvider<Object> currencyProvider) Deprecated. -
Method Summary
Modifier and TypeMethodDescription<P> PfromRepositoryDomain(Object repositoryDomain, P businessDomain, ContextInfo contextInfo) Deprecated.Map and return a populated business domain instance, based on information provided in a repository domain instance.Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.DomainMapper
deleteMap, getBusinessDomainType, modifyMapMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
fromBusinessDomain, getOrder
-
Constructor Details
-
MonetaryMapperMember
Deprecated.
-
-
Method Details
-
getDataRoutePartition
Deprecated.- Specified by:
getDataRoutePartitionin interfacecom.broadleafcommerce.common.extension.data.DataRoutePartitionAware
-
fromRepositoryDomain
@Nullable public <P> P fromRepositoryDomain(Object repositoryDomain, P businessDomain, @Nullable ContextInfo contextInfo) Deprecated.Description copied from interface:DomainMapperMemberMap and return a populated business domain instance, based on information provided in a repository domain instance. The passed businessDomain parameter is generally transformed and returned.- Specified by:
fromRepositoryDomainin interfaceDomainMapperMember- Type Parameters:
P- The business domain type- Parameters:
repositoryDomain- The repository domain instance containing the relevant property informationbusinessDomain- The business domain instance to affect and returncontextInfo- The context information used to make tracking determinations relevant to sandboxing and multitenant concerns. SeeTrackableRepositoryfor more info on persistence behavior based on context.- Returns:
- The populated business domain instance. Should return null if no action taken.
-