Class CustomerNote
java.lang.Object
com.broadleafcommerce.customer.domain.CustomerNote
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,Serializable
public class CustomerNote
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The user that created this notecom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.When this note was createdThe link to the customer that this note applies togetId()
The context ID of the customer note.getNote()
The content of the noteint
hashCode()
void
The user that created this notevoid
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
setCreated
(Instant created) When this note was createdvoid
setCustomerId
(String customerId) The link to the customer that this note applies tovoid
The context ID of the customer note.void
The content of the notetoString()
-
Constructor Details
-
CustomerNote
public CustomerNote()
-
-
Method Details
-
getId
The context ID of the customer note.- Returns:
- the context ID of the customer note
-
getCustomerId
The link to the customer that this note applies to- Returns:
- the context ID of the customer that this note applies to
-
getNote
The content of the note- Returns:
- the content of the note
-
getCreated
When this note was created- Returns:
- when this note was created
-
getAuthor
The user that created this note- Returns:
- the user that created this note
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object.
-
setId
The context ID of the customer note.- Parameters:
id
- the context ID of the customer note
-
setCustomerId
The link to the customer that this note applies to- Parameters:
customerId
- the context ID of the customer that this note applies to
-
setNote
The content of the note- Parameters:
note
- the content of the note
-
setCreated
When this note was created- Parameters:
created
- when this note was created
-
setAuthor
The user that created this note- Parameters:
author
- the user that created this note
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-