Class DataFeedPublicationResponse
java.lang.Object
com.broadleafcommerce.datafeed.web.domain.DataFeedPublicationResponse
- All Implemented Interfaces:
Serializable
The representation of the
DataFeedPublication
that is used to as a response for the API
requests and contains the additional information.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
The list of error details for this publication.getId()
TheDataFeedPublicationConfiguration.getDisplayName()
of theDataFeedPublicationConfiguration
that this publication process will publish data to.boolean
void
setApplicationId
(String applicationId) void
setContainsErrors
(boolean containsErrors) void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) void
setDataFeedProcessExecutionId
(String dataFeedProcessExecutionId) void
setEndTime
(Instant endTime) void
setErrorDetails
(List<String> errorDetails) void
setErrorDetailsAsObjects
(List<ErrorDetail> errorDetailsAsObjects) The list of error details for this publication.void
void
setPublication
(DataFeedPublication publication) void
setStartTime
(Instant startTime) void
void
setTargetDataFeedPublicationConfigurationId
(String targetDataFeedPublicationConfigurationId) void
setTargetDataFeedPublicationConfigurationName
(String targetDataFeedPublicationConfigurationName) TheDataFeedPublicationConfiguration.getDisplayName()
of theDataFeedPublicationConfiguration
that this publication process will publish data to.
-
Constructor Details
-
DataFeedPublicationResponse
public DataFeedPublicationResponse()
-
-
Method Details
-
getPublication
-
getTargetDataFeedPublicationConfigurationName
TheDataFeedPublicationConfiguration.getDisplayName()
of theDataFeedPublicationConfiguration
that this publication process will publish data to. -
getErrorDetailsAsObjects
The list of error details for this publication. It contains the same errors asDataFeedPublication.getErrorDetails()
but instead ofString
it usesErrorDetail
object. This is mainly used by the metadata to display the error list as the table. -
setPublication
-
setTargetDataFeedPublicationConfigurationName
public void setTargetDataFeedPublicationConfigurationName(String targetDataFeedPublicationConfigurationName) TheDataFeedPublicationConfiguration.getDisplayName()
of theDataFeedPublicationConfiguration
that this publication process will publish data to. -
setErrorDetailsAsObjects
The list of error details for this publication. It contains the same errors asDataFeedPublication.getErrorDetails()
but instead ofString
it usesErrorDetail
object. This is mainly used by the metadata to display the error list as the table. -
getId
-
getDataFeedProcessExecutionId
-
getApplicationId
-
getTargetDataFeedPublicationConfigurationId
-
getStartTime
-
getEndTime
-
getStatus
-
isContainsErrors
public boolean isContainsErrors() -
getErrorDetails
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState() -
setId
-
setDataFeedProcessExecutionId
-
setApplicationId
-
setTargetDataFeedPublicationConfigurationId
public void setTargetDataFeedPublicationConfigurationId(String targetDataFeedPublicationConfigurationId) -
setStartTime
-
setEndTime
-
setStatus
-
setContainsErrors
public void setContainsErrors(boolean containsErrors) -
setErrorDetails
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
-