Class JpaCustomerNote
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaCustomerNote
-
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware,com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>,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.CustomerContextJpaTracking>,Serializable
@Entity @TrackableExtension({TENANT,CUSTOMER_CONTEXT}) public class JpaCustomerNote extends Object implements com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAwareJPA-persisted counterpart to aCustomerNote- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description JpaCustomerNote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)org.modelmapper.ModelMapperfromMe()StringgetAuthor()Class<?>getBusinessDomainType()StringgetContextId()InstantgetCreated()StringgetCustomerId()Optional<String>getDisplay()StringgetNote()com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTrackinggetTracking()inthashCode()voidsetAuthor(String author)voidsetContextId(String contextId)voidsetCreated(Instant created)voidsetCustomerId(String customerId)voidsetNote(String note)voidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)org.modelmapper.ModelMappertoMe()StringtoString()-
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, preFromMe, preToMe
-
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getDisplay
public Optional<String> getDisplay()
- Specified by:
getDisplayin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getContextId
public String getContextId()
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getCustomerId
public String getCustomerId()
- See Also:
CustomerNote.getCustomerId()
-
getCreated
public Instant getCreated()
- See Also:
CustomerNote.getCreated()
-
getAuthor
public String getAuthor()
- See Also:
CustomerNote.getAuthor()
-
getNote
public String getNote()
- See Also:
CustomerNote.getNote()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setCustomerId
public void setCustomerId(String customerId)
- See Also:
CustomerNote.getCustomerId()
-
setCreated
public void setCreated(Instant created)
- See Also:
CustomerNote.getCreated()
-
setAuthor
public void setAuthor(String author)
- See Also:
CustomerNote.getAuthor()
-
setNote
public void setNote(String note)
- See Also:
CustomerNote.getNote()
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
- Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
-
canEqual
protected boolean canEqual(Object other)
-
-