Class DataFeedPublication
- All Implemented Interfaces:
- com.broadleafcommerce.data.tracking.core.ContextStateAware,- Serializable
DataFeedProcessExecution that is specifically
 interested in transforming data (which was already fetched in an earlier step of the execution)
 and publishing it for one specific DataFeedPublicationConfiguration.
 Admin users should almost never be responsible for making direct CRUD requests on this entity. The system should be in charge of managing these records.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanShould be copied fromDataFeedProcessExecution.getApplicationId().com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.TheDataFeedProcessExecution.getId()of theDataFeedProcessExecutionwhich this publication is for.The time at which this publication stopped processing.If errors are encountered during the run of this publication (ex:isContainsErrors()is true), details should be added here.getId()The context ID of this publication.The time at which this publication started processing.Should contain a value fromDefaultDataFeedPublicationStatusesdescribing the current status of the publication.TheDataFeedPublicationConfiguration.getId()of theDataFeedPublicationConfigurationthat this publication process will publish data to.inthashCode()booleanA simple flag indicating whether the current publication encountered any errors.voidsetApplicationId(String applicationId) Should be copied fromDataFeedProcessExecution.getApplicationId().voidsetContainsErrors(boolean containsErrors) A simple flag indicating whether the current publication encountered any errors.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetDataFeedProcessExecutionId(String dataFeedProcessExecutionId) TheDataFeedProcessExecution.getId()of theDataFeedProcessExecutionwhich this publication is for.voidsetEndTime(Instant endTime) The time at which this publication stopped processing.voidsetErrorDetails(List<String> errorDetails) If errors are encountered during the run of this publication (ex:isContainsErrors()is true), details should be added here.voidThe context ID of this publication.voidsetStartTime(Instant startTime) The time at which this publication started processing.voidShould contain a value fromDefaultDataFeedPublicationStatusesdescribing the current status of the publication.voidsetTargetDataFeedPublicationConfigurationId(String targetDataFeedPublicationConfigurationId) TheDataFeedPublicationConfiguration.getId()of theDataFeedPublicationConfigurationthat this publication process will publish data to.toString()
- 
Constructor Details- 
DataFeedPublicationpublic DataFeedPublication()
 
- 
- 
Method Details- 
getIdThe context ID of this publication.- Returns:
- the id of this data feed publication
 
- 
getDataFeedProcessExecutionIdTheDataFeedProcessExecution.getId()of theDataFeedProcessExecutionwhich this publication is for.- Returns:
- the ID of the data feed process execution this publication is for
 
- 
getApplicationIdShould be copied fromDataFeedProcessExecution.getApplicationId().This may be useful for application filtration/visibility concerns specifically relating to DataFeedPublication.- Returns:
- value matching DataFeedProcessExecution.getApplicationId()
 
- 
getTargetDataFeedPublicationConfigurationIdTheDataFeedPublicationConfiguration.getId()of theDataFeedPublicationConfigurationthat this publication process will publish data to.This will be one of the values from DataFeedProcessExecution.getDataFeedPublicationConfigurationIds().- Returns:
- feed publication configuration ID that this publication will publish data to
 
- 
getStartTimeThe time at which this publication started processing.- Returns:
- the time at which this publication started processing
 
- 
getEndTimeThe time at which this publication stopped processing.- Returns:
- the time at which this publication stopped processing
 
- 
getStatusShould contain a value fromDefaultDataFeedPublicationStatusesdescribing the current status of the publication.When this is being changed, be sure to update getStartTime()orgetEndTime()if appropriate.- Returns:
- the current status of the publication
 
- 
isContainsErrorspublic boolean isContainsErrors()A simple flag indicating whether the current publication encountered any errors.- Returns:
- whether this publication experienced errors
- See Also:
 
- 
getErrorDetailsIf errors are encountered during the run of this publication (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Returns:
- details about any errors experienced by this publication
- See Also:
 
- 
getContextStatepublic com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
- getContextStatein interface- com.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of Trackinginformation to expose the context state for this object
 
- 
setIdThe context ID of this publication.- Parameters:
- id- the id of this data feed publication
 
- 
setDataFeedProcessExecutionIdTheDataFeedProcessExecution.getId()of theDataFeedProcessExecutionwhich this publication is for.- Parameters:
- dataFeedProcessExecutionId- the ID of the data feed process execution this publication is for
 
- 
setApplicationIdShould be copied fromDataFeedProcessExecution.getApplicationId().This may be useful for application filtration/visibility concerns specifically relating to DataFeedPublication.- Parameters:
- applicationId- value matching- DataFeedProcessExecution.getApplicationId()
 
- 
setTargetDataFeedPublicationConfigurationIdpublic void setTargetDataFeedPublicationConfigurationId(String targetDataFeedPublicationConfigurationId) TheDataFeedPublicationConfiguration.getId()of theDataFeedPublicationConfigurationthat this publication process will publish data to.This will be one of the values from DataFeedProcessExecution.getDataFeedPublicationConfigurationIds().- Parameters:
- targetDataFeedPublicationConfigurationId- feed publication configuration ID that this publication will publish data to
 
- 
setStartTimeThe time at which this publication started processing.- Parameters:
- startTime- the time at which this publication started processing
 
- 
setEndTimeThe time at which this publication stopped processing.- Parameters:
- endTime- the time at which this publication stopped processing
 
- 
setStatusShould contain a value fromDefaultDataFeedPublicationStatusesdescribing the current status of the publication.When this is being changed, be sure to update getStartTime()orgetEndTime()if appropriate.- Parameters:
- status- the current status of the publication
 
- 
setContainsErrorspublic void setContainsErrors(boolean containsErrors) A simple flag indicating whether the current publication encountered any errors.- Parameters:
- containsErrors- whether this publication experienced errors
- See Also:
 
- 
setErrorDetailsIf errors are encountered during the run of this publication (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Parameters:
- errorDetails- details about any errors experienced by this publication
- See Also:
 
- 
setContextStatepublic void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
- setContextStatein interface- com.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
- contextState- a subset of- Trackinginformation to expose the context state for this object
 
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-