Class JpaCustomerSegment
java.lang.Object
com.broadleafcommerce.customer.provider.jpa.domain.JpaCustomerSegment
- 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({TENANT,APPLICATION})
public class JpaCustomerSegment
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
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
getName()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
int
hashCode()
boolean
isActive()
boolean
void
setActive
(boolean active) void
setContextId
(String contextId) void
setCustomerSegmentType
(String customerSegmentType) void
setDescription
(String description) void
setExternalRef
(String externalRef) void
setInternalEvaluationRequired
(boolean internalEvaluationRequired) void
void
setPriority
(Integer priority) void
setProcessingState
(String processingState) void
setRealtimeMatchRule
(String realtimeMatchRule) void
setRuleEvaluationType
(String ruleEvaluationType) void
setSegmentMatchRule
(String segmentMatchRule) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) org.modelmapper.ModelMapper
toMe()
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
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
-
JpaCustomerSegment
public JpaCustomerSegment()
-
-
Method Details
-
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
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getContextId
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getName
-
getDescription
-
getPriority
-
getProcessingState
-
getCustomerSegmentType
-
getSegmentMatchRule
-
getRealtimeMatchRule
-
getRuleEvaluationType
-
isActive
public boolean isActive() -
isInternalEvaluationRequired
public boolean isInternalEvaluationRequired() -
getExternalRef
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
Tracking
information for this relationship - See Also:
-
Tracking
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setName
-
setDescription
-
setPriority
-
setProcessingState
-
setCustomerSegmentType
-
setSegmentMatchRule
-
setRealtimeMatchRule
-
setRuleEvaluationType
-
setActive
public void setActive(boolean active) -
setInternalEvaluationRequired
public void setInternalEvaluationRequired(boolean internalEvaluationRequired) -
setExternalRef
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
- Parameters:
tracking
- theTracking
information for this relationship- See Also:
-
Tracking
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-