Class DataFeedProcess
- All Implemented Interfaces:
- com.broadleafcommerce.data.tracking.core.ContextStateAware,- Serializable
 Actually running this process is done via DataFeedProcessExecution.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanData feed processes always target data for a specific application.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.TheIDsof theDataFeedPublicationConfigurations to which data queried by this process will be published.A user-friendly description explaining what the process is for.A user-friendly display name for the process.(Optional) A (by default, RSQL) filter string that should be used to filter all products that are fetched by this process.getId()The context ID of this process.Should contain a value fromDefaultDataFeedProcessTypesdescribing what type of data feed process this is.inthashCode()booleanDescribes whether newDataFeedProcessExecutions of this process can be started.voidsetApplicationId(String applicationId) Data feed processes always target data for a specific application.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetDataFeedPublicationConfigurationIds(List<String> dataFeedPublicationConfigurationIds) TheIDsof theDataFeedPublicationConfigurations to which data queried by this process will be published.voidsetDescription(String description) A user-friendly description explaining what the process is for.voidsetDisplayName(String displayName) A user-friendly display name for the process.voidsetEnabled(boolean enabled) Describes whether newDataFeedProcessExecutions of this process can be started.voidsetFilterString(String filterString) (Optional) A (by default, RSQL) filter string that should be used to filter all products that are fetched by this process.voidThe context ID of this process.voidsetProcessType(String processType) Should contain a value fromDefaultDataFeedProcessTypesdescribing what type of data feed process this is.toString()
- 
Constructor Details- 
DataFeedProcesspublic DataFeedProcess()
 
- 
- 
Method Details- 
getIdThe context ID of this process.- Returns:
- the id of this data feed process
 
- 
getDisplayNameA user-friendly display name for the process.- Returns:
- a user-friendly display name for this process
 
- 
getDescriptionA user-friendly description explaining what the process is for.- Returns:
- a user-friendly description for this process
 
- 
getProcessTypeShould contain a value fromDefaultDataFeedProcessTypesdescribing what type of data feed process this is.This field is immutable after creation. - Returns:
- the type of this data feed process
 
- 
getDataFeedPublicationConfigurationIdsTheIDsof theDataFeedPublicationConfigurations to which data queried by this process will be published.Note that all of these must be compatible with the getProcessType().Note that all of these must be compatible with the getApplicationId()and tenant ID of this process.This can never be empty (at least one element). - Returns:
- ids of feed publication configurations to which data queried by this process will be published
 
- 
getApplicationIdData feed processes always target data for a specific application. This is because some references in feed fields (ex: product links) are application-specific.This field should contain the context ID of the application whose data should be queried + published. This field is immutable after creation. - Returns:
- id of the application whose data should be queried + published by this process
 
- 
isEnabledpublic boolean isEnabled()Describes whether newDataFeedProcessExecutions of this process can be started.This is particularly useful when making changes to the configuration of a data feed process. When disabled, current executions can complete, but future execution will be paused until the process is re-enabled. - Returns:
- whether this process should be enabled
 
- 
getFilterString(Optional) A (by default, RSQL) filter string that should be used to filter all products that are fetched by this process. If provided, any request to fetch products for this data feed process should use these filters to restrict the results that are included.
- 
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 process.- Parameters:
- id- the id of this data feed process
 
- 
setDisplayNameA user-friendly display name for the process.- Parameters:
- displayName- a user-friendly display name for this process
 
- 
setDescriptionA user-friendly description explaining what the process is for.- Parameters:
- description- a user-friendly description for this process
 
- 
setProcessTypeShould contain a value fromDefaultDataFeedProcessTypesdescribing what type of data feed process this is.This field is immutable after creation. - Parameters:
- processType- the type of this data feed process
 
- 
setDataFeedPublicationConfigurationIdspublic void setDataFeedPublicationConfigurationIds(List<String> dataFeedPublicationConfigurationIds) TheIDsof theDataFeedPublicationConfigurations to which data queried by this process will be published.Note that all of these must be compatible with the getProcessType().Note that all of these must be compatible with the getApplicationId()and tenant ID of this process.This can never be empty (at least one element). - Parameters:
- dataFeedPublicationConfigurationIds- ids of feed publication configurations to which data queried by this process will be published
 
- 
setApplicationIdData feed processes always target data for a specific application. This is because some references in feed fields (ex: product links) are application-specific.This field should contain the context ID of the application whose data should be queried + published. This field is immutable after creation. - Parameters:
- applicationId- id of the application whose data should be queried + published by this process
 
- 
setEnabledpublic void setEnabled(boolean enabled) Describes whether newDataFeedProcessExecutions of this process can be started.This is particularly useful when making changes to the configuration of a data feed process. When disabled, current executions can complete, but future execution will be paused until the process is re-enabled. - Parameters:
- enabled- whether this process should be enabled
 
- 
setFilterString(Optional) A (by default, RSQL) filter string that should be used to filter all products that are fetched by this process. If provided, any request to fetch products for this data feed process should use these filters to restrict the results that are included.
- 
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
 
-