Class JpaDataFeedPublication
java.lang.Object
com.broadleafcommerce.datafeed.provider.jpa.domain.JpaDataFeedPublication
- 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 JpaDataFeedPublication
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
DataFeedPublication
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
The context ID of this publication.Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since these IDs are user-defined and may need more space.com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking
int
hashCode()
boolean
void
setApplicationId
(String applicationId) void
setContainsErrors
(boolean containsErrors) void
setContextId
(String contextId) The context ID of this publication.void
setDataFeedProcessExecutionId
(String dataFeedProcessExecutionId) void
setEndTime
(Instant endTime) void
setErrorDetails
(List<String> errorDetails) void
setStartTime
(Instant startTime) void
void
setTargetDataFeedPublicationConfigurationId
(String targetDataFeedPublicationConfigurationId) Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since these IDs are user-defined and may need more space.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
-
JpaDataFeedPublication
public JpaDataFeedPublication()
-
-
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 publication.- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the id of this data feed publication
- See Also:
-
getDataFeedProcessExecutionId
-
getApplicationId
- See Also:
-
getTargetDataFeedPublicationConfigurationId
Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since these IDs are user-defined and may need more space. -
getStartTime
- See Also:
-
getEndTime
- See Also:
-
getStatus
- See Also:
-
isContainsErrors
public boolean isContainsErrors()- See Also:
-
getErrorDetails
- See Also:
-
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 publication.- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Parameters:
id
- the id of this data feed publication- See Also:
-
setDataFeedProcessExecutionId
-
setApplicationId
- See Also:
-
setTargetDataFeedPublicationConfigurationId
public void setTargetDataFeedPublicationConfigurationId(String targetDataFeedPublicationConfigurationId) Note - we use the default column length here instead ofJpaConstants.CONTEXT_ID_LENGTH
since these IDs are user-defined and may need more space. -
setStartTime
- See Also:
-
setEndTime
- See Also:
-
setStatus
- See Also:
-
setContainsErrors
public void setContainsErrors(boolean containsErrors) - See Also:
-
setErrorDetails
- See Also:
-
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()
-