|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.service.impl.AbstractEpServiceImpl com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl com.elasticpath.service.misc.impl.LazyLoadHelperImpl
public class LazyLoadHelperImpl
This is a default implementation of LazyLoadHelper
.
Constructor Summary | |
---|---|
LazyLoadHelperImpl()
|
Method Summary | |
---|---|
java.lang.Object |
getObject(long uid)
This method is not used and implmented in this service. |
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 class com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl |
---|
getPersistenceEngine, setPersistenceEngine |
Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Constructor Detail |
---|
public LazyLoadHelperImpl()
Method Detail |
---|
public java.lang.Object getObject(long uid) throws EpServiceException
getObject
in interface EpPersistenceService
uid
- not used
EpServiceException
- - in case it get calledpublic void populateCategories(java.util.Collection categories, CategoryLoadTuner loadTuner)
populateCategories
in interface LazyLoadHelper
categories
- the category to populateloadTuner
- the load tunerpublic void populateCategory(Category category, CategoryLoadTuner loadTuner)
populateCategory
in interface LazyLoadHelper
category
- the category to populateloadTuner
- the load tunerpublic void populateCategoryType(CategoryType categoryType, CategoryTypeLoadTuner loadTuner)
populateCategoryType
in interface LazyLoadHelper
categoryType
- the category type to populateloadTuner
- the load tunerpublic void populateCategoryTypes(java.util.Collection categoryTypes, CategoryTypeLoadTuner loadTuner)
populateCategoryTypes
in interface LazyLoadHelper
categoryTypes
- the category type to populateloadTuner
- the load tunerpublic void populateProduct(Product product, ProductLoadTuner loadTuner)
populateProduct
in interface LazyLoadHelper
product
- the product to populateloadTuner
- the load tunerpublic void populateProducts(java.util.Collection products, ProductLoadTuner loadTuner)
populateProducts
in interface LazyLoadHelper
products
- the products to populateloadTuner
- the load tunerpublic void populateProductSku(ProductSku sku, ProductSkuLoadTuner loadTuner)
populateProductSku
in interface LazyLoadHelper
sku
- the product sku to populateloadTuner
- the load tunerpublic void populateProductSkus(java.util.Collection skus, ProductSkuLoadTuner loadTuner)
populateProductSkus
in interface LazyLoadHelper
skus
- the product skus to populateloadTuner
- the load tunerpublic void populateProductType(ProductType productType, ProductTypeLoadTuner loadTuner)
populateProductType
in interface LazyLoadHelper
productType
- the product type to populateloadTuner
- the load tunerpublic void populateProductTypes(java.util.Collection productTypes, ProductTypeLoadTuner loadTuner)
populateProductTypes
in interface LazyLoadHelper
productTypes
- the product types to populateloadTuner
- the load tuner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |