com.elasticpath.service.misc
Interface LazyLoadHelper

All Superinterfaces:
EpPersistenceService, EpService
All Known Implementing Classes:
LazyLoadHelperImpl

public interface LazyLoadHelper
extends EpPersistenceService

Represents a helper which can load DOs in a fine controlled way.


Method Summary
 void populateCategories(java.util.Collection categories, CategoryLoadTuner loadTuner)
          Populate the given category based on the given load tuner.
 void populateCategory(Category category, CategoryLoadTuner loadTuner)
          Populate the given category based on the given load tuner.
 void populateCategoryType(CategoryType categoryType, CategoryTypeLoadTuner loadTuner)
          Populate the given category type based on the given load tuner.
 void populateCategoryTypes(java.util.Collection categoryTypes, CategoryTypeLoadTuner loadTuner)
          Populate the given category type based on the given load tuner.
 void populateProduct(Product product, ProductLoadTuner loadTuner)
          Populate the given product based on the given load tuner.
 void populateProducts(java.util.Collection products, ProductLoadTuner loadTuner)
          Populate the given products based on the given load tuner.
 void populateProductSku(ProductSku sku, ProductSkuLoadTuner loadTuner)
          Populate the given product sku based on the given load tuner.
 void populateProductSkus(java.util.Collection skus, ProductSkuLoadTuner loadTuner)
          Populate the given product skus based on the given load tuner.
 void populateProductType(ProductType productType, ProductTypeLoadTuner loadTuner)
          Populate the given product type based on the given load tuner.
 void populateProductTypes(java.util.Collection productTypes, ProductTypeLoadTuner loadTuner)
          Populate the given product types based on the given load tuner.
 
Methods inherited from interface com.elasticpath.service.EpPersistenceService
getObject, getPersistenceEngine, setPersistenceEngine
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

populateCategories

void populateCategories(java.util.Collection categories,
                        CategoryLoadTuner loadTuner)
Populate the given category based on the given load tuner.

Parameters:
categories - the category to populate
loadTuner - the load tuner

populateCategory

void populateCategory(Category category,
                      CategoryLoadTuner loadTuner)
Populate the given category based on the given load tuner.

Parameters:
category - the category to populate
loadTuner - the load tuner

populateCategoryType

void populateCategoryType(CategoryType categoryType,
                          CategoryTypeLoadTuner loadTuner)
Populate the given category type based on the given load tuner.

Parameters:
categoryType - the category type to populate
loadTuner - the load tuner

populateCategoryTypes

void populateCategoryTypes(java.util.Collection categoryTypes,
                           CategoryTypeLoadTuner loadTuner)
Populate the given category type based on the given load tuner.

Parameters:
categoryTypes - the category type to populate
loadTuner - the load tuner

populateProduct

void populateProduct(Product product,
                     ProductLoadTuner loadTuner)
Populate the given product based on the given load tuner.

Parameters:
product - the product to populate
loadTuner - the load tuner

populateProducts

void populateProducts(java.util.Collection products,
                      ProductLoadTuner loadTuner)
Populate the given products based on the given load tuner.

Parameters:
products - the products to populate
loadTuner - the load tuner

populateProductSku

void populateProductSku(ProductSku sku,
                        ProductSkuLoadTuner loadTuner)
Populate the given product sku based on the given load tuner.

Parameters:
sku - the product sku to populate
loadTuner - the load tuner

populateProductSkus

void populateProductSkus(java.util.Collection skus,
                         ProductSkuLoadTuner loadTuner)
Populate the given product skus based on the given load tuner.

Parameters:
skus - the product skus to populate
loadTuner - the load tuner

populateProductType

void populateProductType(ProductType productType,
                         ProductTypeLoadTuner loadTuner)
Populate the given product type based on the given load tuner.

Parameters:
productType - the product type to populate
loadTuner - the load tuner

populateProductTypes

void populateProductTypes(java.util.Collection productTypes,
                          ProductTypeLoadTuner loadTuner)
Populate the given product types based on the given load tuner.

Parameters:
productTypes - the product types to populate
loadTuner - the load tuner