public abstract class AbstractStreamingDataFeedGenerator<T> extends AbstractDataFeedGenerator<T> implements StreamingDataFeedGenerator<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
LOG |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
processors, publishers| Constructor and Description |
|---|
AbstractStreamingDataFeedGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
findAndProcessData(DataFeed dataFeed,
DataFeedPublisher publisher)
Finds the data needed for this data feed and processes it by building the
feed format and publishing to the passed in publisher.
|
abstract Object |
findEntities(DataFeed dataFeed,
int startPos,
int pageSize)
A streaming data feed generator must provide a way to return a paginated
set of entities.
|
abstract Long |
findTotalEntityCount(DataFeed dataFeed)
A streaming data feed generator must provide the totalEntityCount in order to
facilitate paging.
|
buildDataFeedGraph, buildDynamicClass, checkConditionallyRequired, generate, getDynamicEntity, identifyDataFeedPublisher, initializeDynamicClass, lookupTestCount, lookupTestIds, resolveValues, shouldExcludeField, translateEntityListToDynamicList, validateValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslateEntityListToDynamicListcanGenerateForEntityType, generateprotected final org.apache.commons.logging.Log LOG
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected void findAndProcessData(DataFeed dataFeed, DataFeedPublisher publisher) throws DataFeedException
AbstractDataFeedGeneratorfindAndProcessData in class AbstractDataFeedGenerator<T>DataFeedExceptionpublic abstract Long findTotalEntityCount(DataFeed dataFeed)
dataFeed - Copyright © 2020. All rights reserved.