@Component(value="blSkuDataFeedGenerator") public class SkuDataFeedGenerator extends AbstractStreamingDataFeedGenerator<org.broadleafcommerce.core.catalog.domain.Sku>
Modifier and Type | Field and Description |
---|---|
DataFeedEntityService<org.broadleafcommerce.core.catalog.domain.Sku> |
dataFeedEntityService |
protected org.broadleafcommerce.core.catalog.dao.SkuDao |
skuDao |
LOG, transUtil
processors, publishers
Constructor and Description |
---|
SkuDataFeedGenerator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateForEntityType(DataFeedEntityType entityType)
Returns true if this generator is able to process the passed in entityType.
|
List<org.broadleafcommerce.core.catalog.domain.Sku> |
findEntities(DataFeed dataFeed,
int startPos,
int pageSize)
A streaming data feed generator must provide a way to return a paginated
set of entities.
|
Long |
findTotalEntityCount(DataFeed dataFeed)
A streaming data feed generator must provide the totalEntityCount in order to
facilitate paging.
|
findAndProcessData
buildDataFeedGraph, buildDynamicClass, checkConditionallyRequired, generate, getDynamicEntity, identifyDataFeedPublisher, initializeDynamicClass, lookupTestCount, lookupTestIds, resolveValues, shouldExcludeField, translateEntityListToDynamicList, validateValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
translateEntityListToDynamicList
generate
public DataFeedEntityService<org.broadleafcommerce.core.catalog.domain.Sku> dataFeedEntityService
protected org.broadleafcommerce.core.catalog.dao.SkuDao skuDao
public boolean canGenerateForEntityType(DataFeedEntityType entityType)
DataFeedGenerator
public Long findTotalEntityCount(DataFeed dataFeed)
AbstractStreamingDataFeedGenerator
findTotalEntityCount
in class AbstractStreamingDataFeedGenerator<org.broadleafcommerce.core.catalog.domain.Sku>
public List<org.broadleafcommerce.core.catalog.domain.Sku> findEntities(DataFeed dataFeed, int startPos, int pageSize)
AbstractStreamingDataFeedGenerator
findEntities
in class AbstractStreamingDataFeedGenerator<org.broadleafcommerce.core.catalog.domain.Sku>
Copyright © 2020. All rights reserved.