Class JpaOfferAuditSummary

java.lang.Object
com.broadleafcommerce.promotion.offer.provider.jpa.domain.JpaOfferAuditSummary
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.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 @TrackableExtension(APPLICATION) public class JpaOfferAuditSummary 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, Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    org.modelmapper.ModelMapper
     
     
     
    javax.money.CurrencyUnit
    Transient property that holds the currency used to convert price to a MonetaryAmount.
    protected javax.money.CurrencyUnit
    getCurrencyFromLocale(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
     
     
    javax.money.MonetaryAmount
     
    int
     
    com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
     
    int
     
    void
    preFromMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Object businessDomain)
     
    void
    setContextId(String contextId)
     
    void
    setCurrency(javax.money.CurrencyUnit currency)
    Transient property that holds the currency used to convert price to a MonetaryAmount.
    void
    setOfferId(String offerId)
     
    void
    setTotalDiscounted(javax.money.MonetaryAmount totalDiscounted)
     
    void
    setTotalUsages(int totalUsages)
     
    void
    setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
     
    org.modelmapper.ModelMapper
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable

    postFromMe, postToMe, preToMe

    Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware

    findNotificationState

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable

    getDisplay, getNotificationStates, getNotificationStates, setNotificationStates

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable

    setTracking
  • Constructor Details

    • JpaOfferAuditSummary

      public JpaOfferAuditSummary()
  • Method Details

    • preFromMe

      public void preFromMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Object businessDomain)
      Specified by:
      preFromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getCurrencyFromLocale

      protected javax.money.CurrencyUnit getCurrencyFromLocale(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getTotalDiscounted

      public javax.money.MonetaryAmount getTotalDiscounted()
    • setTotalDiscounted

      public void setTotalDiscounted(javax.money.MonetaryAmount totalDiscounted)
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getOfferId

      public String getOfferId()
    • getTotalUsages

      public int getTotalUsages()
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
      Transient property that holds the currency used to convert price to a MonetaryAmount.
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setOfferId

      public void setOfferId(String offerId)
    • setTotalUsages

      public void setTotalUsages(int totalUsages)
    • setCurrency

      public void setCurrency(javax.money.CurrencyUnit currency)
      Transient property that holds the currency used to convert price to a MonetaryAmount.
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object