@Component(value="blInventoryDataFeedGenerator") @ConditionalOnBroadleafModule(value=ADVANCED_INVENTORY) public class InventoryDataFeedGenerator extends AbstractStreamingDataFeedGenerator<com.broadleafcommerce.inventory.advanced.domain.Inventory>
| Modifier and Type | Field and Description |
|---|---|
com.broadleafcommerce.inventory.advanced.service.FulfillmentLocationService |
fulfillmentLocationService |
com.broadleafcommerce.inventory.advanced.service.AdvancedInventoryService |
inventoryService |
LOG, transUtilprocessors, publishers| Constructor and Description |
|---|
InventoryDataFeedGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateForEntityType(DataFeedEntityType entityType)
Returns true if this generator is able to process the passed in entityType.
|
List<com.broadleafcommerce.inventory.advanced.domain.Inventory> |
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.
|
findAndProcessDatabuildDataFeedGraph, buildDynamicClass, checkConditionallyRequired, generate, getDynamicEntity, identifyDataFeedPublisher, initializeDynamicClass, lookupTestCount, lookupTestIds, resolveValues, shouldExcludeField, translateEntityListToDynamicList, validateValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslateEntityListToDynamicListgenerate@Autowired public com.broadleafcommerce.inventory.advanced.service.AdvancedInventoryService inventoryService
@Autowired public com.broadleafcommerce.inventory.advanced.service.FulfillmentLocationService fulfillmentLocationService
public boolean canGenerateForEntityType(DataFeedEntityType entityType)
DataFeedGeneratorpublic Long findTotalEntityCount(DataFeed dataFeed)
AbstractStreamingDataFeedGeneratorfindTotalEntityCount in class AbstractStreamingDataFeedGenerator<com.broadleafcommerce.inventory.advanced.domain.Inventory>public List<com.broadleafcommerce.inventory.advanced.domain.Inventory> findEntities(DataFeed dataFeed, int startPos, int pageSize)
AbstractStreamingDataFeedGeneratorfindEntities in class AbstractStreamingDataFeedGenerator<com.broadleafcommerce.inventory.advanced.domain.Inventory>Copyright © 2020. All rights reserved.