Class JpaPriceList
java.lang.Object
com.broadleafcommerce.pricing.provider.jpa.domain.JpaPriceList
- All Implemented Interfaces:
 com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware,com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>,com.broadleafcommerce.data.tracking.core.filtering.ActiveAware,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable,com.broadleafcommerce.data.tracking.core.Trackable,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>,Serializable
@Entity
public class JpaPriceList
extends Object
implements com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.filtering.ActiveAware, Serializable
 JPA implementation of PriceList domain.
 
- Author:
 - Chad Harchar (charchar), Nathan Moore (nathanmoore), Brian Polster (bpolster)
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.modelmapper.ModelMapperfromMe()get_id()Class<?>javax.money.CurrencyUnitgetName()com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTrackinggetType()inthashCode()booleanbooleanbooleanColumn that is automatically set to true or false based on the existence of user targets.voidvoidsetActiveEndDate(Instant activeEndDate) voidsetActiveStartDate(Instant activeStartDate) voidsetAllowVendorsToAddPriceData(boolean allowVendorsToAddPriceData) voidsetContextId(String contextId) voidsetCurrency(javax.money.CurrencyUnit currency) voidsetFieldToModify(String fieldToModify) voidsetModificationAmount(BigDecimal modificationAmount) voidsetModificationCriteria(String modificationCriteria) voidsetModificationType(String modificationType) voidvoidsetPriceContextCriteria(String priceContextCriteria) voidsetPriority(Integer priority) voidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) voidvoidsetUseModifier(boolean useModifier) voidsetUserTargets(Set<JpaPriceUserTarget> jpaPriceUserTargets) voidsetUseTargets(boolean useTargets) Column that is automatically set to true or false based on the existence of user targets.voidsetVendorRef(String vendorRef) org.modelmapper.ModelMappertoMe()toString()protected org.modelmapper.Converter<Set<UserTarget>,Set<JpaPriceUserTarget>> userTargetValuesToUserTargetEntities(org.modelmapper.ModelMapper mapper) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMeMethods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationStateMethods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getDisplay, getNotificationStates, getNotificationStates, setNotificationStatesMethods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking 
- 
Constructor Details
- 
JpaPriceList
public JpaPriceList() 
 - 
 - 
Method Details
- 
getBusinessDomainType
- Specified by:
 getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
 - 
setUserTargets
 - 
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
 fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
 - 
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
 toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
 - 
userTargetValuesToUserTargetEntities
protected org.modelmapper.Converter<Set<UserTarget>,Set<JpaPriceUserTarget>> userTargetValuesToUserTargetEntities(org.modelmapper.ModelMapper mapper)  - 
get_id
 - 
getContextId
- Specified by:
 getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable- See Also:
 - 
Trackable.getContextId()
 
 - 
getName
- See Also:
 
 - 
getActiveStartDate
- Specified by:
 getActiveStartDatein interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware- See Also:
 
 - 
getActiveEndDate
- Specified by:
 getActiveEndDatein interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware- See Also:
 
 - 
getCurrency
public javax.money.CurrencyUnit getCurrency()- See Also:
 
 - 
getType
- See Also:
 
 - 
getPriceContextCriteria
- See Also:
 
 - 
isUseModifier
public boolean isUseModifier()- See Also:
 
 - 
getModificationAmount
- See Also:
 
 - 
getModificationType
- See Also:
 
 - 
getModificationCriteria
- See Also:
 
 - 
getFieldToModify
- See Also:
 
 - 
isUseTargets
public boolean isUseTargets()Column that is automatically set to true or false based on the existence of user targets. This helps to optimize performance for sites that create a lot of user targeted price lists.- See Also:
 
 - 
getPriority
- See Also:
 
 - 
getVendorRef
- See Also:
 
 - 
isAllowVendorsToAddPriceData
public boolean isAllowVendorsToAddPriceData()- See Also:
 
 - 
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()- Specified by:
 getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable- See Also:
 - 
ApplicationJpaTracking
 
 - 
getUserTargets
- See Also:
 
 - 
set_id
 - 
setContextId
- Specified by:
 setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable- See Also:
 - 
Trackable.getContextId()
 
 - 
setName
- See Also:
 
 - 
setActiveStartDate
- See Also:
 
 - 
setActiveEndDate
- See Also:
 
 - 
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) - See Also:
 
 - 
setType
- See Also:
 
 - 
setPriceContextCriteria
- See Also:
 
 - 
setUseModifier
public void setUseModifier(boolean useModifier) - See Also:
 
 - 
setModificationAmount
- See Also:
 
 - 
setModificationType
- See Also:
 
 - 
setModificationCriteria
- See Also:
 
 - 
setFieldToModify
- See Also:
 
 - 
setUseTargets
public void setUseTargets(boolean useTargets) Column that is automatically set to true or false based on the existence of user targets. This helps to optimize performance for sites that create a lot of user targeted price lists.- See Also:
 
 - 
setPriority
- See Also:
 
 - 
setVendorRef
- See Also:
 
 - 
setAllowVendorsToAddPriceData
public void setAllowVendorsToAddPriceData(boolean allowVendorsToAddPriceData) - See Also:
 
 - 
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) - Specified by:
 setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>- See Also:
 - 
ApplicationJpaTracking
 
 - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() - 
toString
 
 -