Class JpaAccountMember
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaAccountMember
-
- 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 JpaAccountMember 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.BusinessTypeAware
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaAccountMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
org.modelmapper.ModelMapper
fromMe()
String
getAccountContextId()
Set<String>
getAccountRoleIds()
List<AdditionalPhone>
getAdditionalPhones()
Map<String,Object>
getAttributes()
Class<?>
getBusinessDomainType()
String
getContextId()
String
getCustomerContextId()
String
getCustomerFullName()
String
getEmail()
Phone
getPhone()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking
getTracking()
int
hashCode()
boolean
isActive()
void
setAccountContextId(String accountContextId)
void
setAccountRoleIds(Set<String> accountRoleIds)
void
setActive(boolean active)
void
setAdditionalPhones(List<AdditionalPhone> additionalPhones)
void
setAttributes(Map<String,Object> attributes)
void
setContextId(String contextId)
void
setCustomerContextId(String customerContextId)
void
setCustomerFullName(String customerFullName)
void
setEmail(String email)
void
setPhone(Phone phone)
void
setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
org.modelmapper.ModelMapper
toMe()
String
toString()
-
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
-
-
-
-
Method Detail
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()
- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()
- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getAccountContextId
public String getAccountContextId()
- See Also:
AccountMember.getAccount()
-
getCustomerContextId
public String getCustomerContextId()
- See Also:
AccountMember.getCustomer()
-
getCustomerFullName
public String getCustomerFullName()
- See Also:
Customer.getFullName()
-
getAccountRoleIds
public Set<String> getAccountRoleIds()
- See Also:
AccountMember.getAccountRoleIds()
-
getEmail
public String getEmail()
- See Also:
Customer.getEmail()
-
getPhone
public Phone getPhone()
- See Also:
AccountMember.getPhone()
-
getAdditionalPhones
public List<AdditionalPhone> getAdditionalPhones()
- See Also:
AccountMember.getAdditionalPhones()
-
getAttributes
public Map<String,Object> getAttributes()
- See Also:
AccountMember.getAttributes()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
isActive
public boolean isActive()
- See Also:
AccountMember.isActive()
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setAccountContextId
public void setAccountContextId(String accountContextId)
- See Also:
AccountMember.getAccount()
-
setCustomerContextId
public void setCustomerContextId(String customerContextId)
- See Also:
AccountMember.getCustomer()
-
setCustomerFullName
public void setCustomerFullName(String customerFullName)
- See Also:
Customer.getFullName()
-
setAccountRoleIds
public void setAccountRoleIds(Set<String> accountRoleIds)
- See Also:
AccountMember.getAccountRoleIds()
-
setEmail
public void setEmail(String email)
- See Also:
Customer.getEmail()
-
setPhone
public void setPhone(Phone phone)
- See Also:
AccountMember.getPhone()
-
setAdditionalPhones
public void setAdditionalPhones(List<AdditionalPhone> additionalPhones)
- See Also:
AccountMember.getAdditionalPhones()
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
- See Also:
AccountMember.getAttributes()
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
- Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
-
setActive
public void setActive(boolean active)
- See Also:
AccountMember.isActive()
-
canEqual
protected boolean canEqual(Object other)
-
-