Class DataFeedPublicationResponse

java.lang.Object
com.broadleafcommerce.datafeed.web.domain.DataFeedPublicationResponse
All Implemented Interfaces:
Serializable

public class DataFeedPublicationResponse extends Object implements 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 Details

    • DataFeedPublicationResponse

      public DataFeedPublicationResponse()
  • Method Details

    • getPublication

      public DataFeedPublication getPublication()
    • getTargetDataFeedPublicationConfigurationName

      public String getTargetDataFeedPublicationConfigurationName()
      The DataFeedPublicationConfiguration.getDisplayName() of the DataFeedPublicationConfiguration that this publication process will publish data to.
    • getErrorDetailsAsObjects

      public List<ErrorDetail> getErrorDetailsAsObjects()
      The list of error details for this publication. It contains the same errors as DataFeedPublication.getErrorDetails() but instead of String it uses ErrorDetail object. This is mainly used by the metadata to display the error list as the table.
    • setPublication

      public void setPublication(DataFeedPublication publication)
    • setTargetDataFeedPublicationConfigurationName

      public void setTargetDataFeedPublicationConfigurationName(String targetDataFeedPublicationConfigurationName)
      The DataFeedPublicationConfiguration.getDisplayName() of the DataFeedPublicationConfiguration that this publication process will publish data to.
    • setErrorDetailsAsObjects

      public void setErrorDetailsAsObjects(List<ErrorDetail> errorDetailsAsObjects)
      The list of error details for this publication. It contains the same errors as DataFeedPublication.getErrorDetails() but instead of String it uses ErrorDetail object. This is mainly used by the metadata to display the error list as the table.
    • getId

      public String getId()
    • getDataFeedProcessExecutionId

      public String getDataFeedProcessExecutionId()
    • getApplicationId

      public String getApplicationId()
    • getTargetDataFeedPublicationConfigurationId

      public String getTargetDataFeedPublicationConfigurationId()
    • getStartTime

      public Instant getStartTime()
    • getEndTime

      public Instant getEndTime()
    • getStatus

      public String getStatus()
    • isContainsErrors

      public boolean isContainsErrors()
    • getErrorDetails

      public List<String> getErrorDetails()
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
    • setId

      public void setId(String id)
    • setDataFeedProcessExecutionId

      public void setDataFeedProcessExecutionId(String dataFeedProcessExecutionId)
    • setApplicationId

      public void setApplicationId(String applicationId)
    • setTargetDataFeedPublicationConfigurationId

      public void setTargetDataFeedPublicationConfigurationId(String targetDataFeedPublicationConfigurationId)
    • setStartTime

      public void setStartTime(Instant startTime)
    • setEndTime

      public void setEndTime(Instant endTime)
    • setStatus

      public void setStatus(String status)
    • setContainsErrors

      public void setContainsErrors(boolean containsErrors)
    • setErrorDetails

      public void setErrorDetails(List<String> errorDetails)
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)