Class JpaIncrementalDataFeedEntityUpdateRecord
java.lang.Object
com.broadleafcommerce.datafeed.provider.jpa.domain.JpaIncrementalDataFeedEntityUpdateRecord
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.TenantTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>
,Serializable
@Entity
public class JpaIncrementalDataFeedEntityUpdateRecord
extends Object
implements com.broadleafcommerce.data.tracking.core.TenantTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, Serializable
JPA-persisted counterpart of
IncrementalDataFeedEntityUpdateRecord
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since different reference types may have different length requirements.Class<?>
The context ID of this event record.com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking
int
hashCode()
void
setAffectedProductReferenceType
(String affectedProductReferenceType) void
setAffectedProductReferenceValue
(String affectedProductReferenceValue) Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since different reference types may have different length requirements.void
setContextId
(String contextId) The context ID of this event record.void
setDataFeedProcessExecutionId
(String dataFeedProcessExecutionId) void
setDataFeedProcessId
(String dataFeedProcessId) void
setEventReceivedTime
(Instant eventReceivedTime) void
setOriginalEventTime
(Instant originalEventTime) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking 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
-
JpaIncrementalDataFeedEntityUpdateRecord
public JpaIncrementalDataFeedEntityUpdateRecord()
-
-
Method Details
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getContextId
The context ID of this event record.- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the id of this event record
- See Also:
-
getDataFeedProcessId
-
getDataFeedProcessExecutionId
-
getAffectedProductReferenceType
-
getAffectedProductReferenceValue
Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since different reference types may have different length requirements. -
getOriginalEventTime
-
getEventReceivedTime
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
TenantJpaTracking
information for this - See Also:
-
TenantJpaTracking
-
setContextId
The context ID of this event record.- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Parameters:
id
- the id of this event record- See Also:
-
setDataFeedProcessId
-
setDataFeedProcessExecutionId
-
setAffectedProductReferenceType
-
setAffectedProductReferenceValue
Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since different reference types may have different length requirements. -
setOriginalEventTime
-
setEventReceivedTime
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>
- Parameters:
tracking
- theTenantJpaTracking
information for this- See Also:
-
TenantJpaTracking
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-