public interface EnterpriseCollectionDao
allow.resultset.sandbox.collection.batch.fetch = true
in your implementation's property file.Modifier and Type | Method and Description |
---|---|
List |
batchFetchSandBoxCollectionMembers(List<Serializable> fkValue,
SandBoxCollectionHelper helper)
Batch fetch the members for specific collection.
|
void |
batchFetchSandBoxCollectionsForProducts(List<org.broadleafcommerce.core.catalog.domain.Product> products)
Utility method for batch fetching a number of preset collections for a list of products.
|
void |
batchFetchSandBoxCollectionsForSkus(List<org.broadleafcommerce.core.catalog.domain.Sku> skus)
Utility method for batch fetching a number of preset collections for a list of skus.
|
List |
getSandBoxCollectionMembers(List<Serializable> fkValue,
SandBoxCollectionHelper helper)
Retrieve the collection members across an entire list of containing entities.
|
List |
getSandBoxCollectionMembers(Serializable fkValue,
SandBoxCollectionHelper helper)
Retrieve the collection members for a single containing entity.
|
void batchFetchSandBoxCollectionsForProducts(List<org.broadleafcommerce.core.catalog.domain.Product> products)
products
- void batchFetchSandBoxCollectionsForSkus(List<org.broadleafcommerce.core.catalog.domain.Sku> skus)
skus
- List batchFetchSandBoxCollectionMembers(List<Serializable> fkValue, SandBoxCollectionHelper helper)
fkValue
- the list of primary key values for the containing entitieshelper
- the collection configuration@Nonnull List getSandBoxCollectionMembers(Serializable fkValue, SandBoxCollectionHelper helper)
fkValue
- the primary key of the containing entityhelper
- the collection configurationList getSandBoxCollectionMembers(List<Serializable> fkValue, SandBoxCollectionHelper helper)
batchFetchSandBoxCollectionMembers(List, SandBoxCollectionHelper)
for the same results
with caching behavior.fkValue
- the list of primary key values for the containing entitieshelper
- the collection configurationCopyright © 2020. All rights reserved.