|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductLoadTuner
Represents a tuner to control product load. A product load tuner can be used in some services to fine control what data to be loaded for a product. The main purpose is to achieve maximum performance for some specific performance-critical pages.
Method Summary | |
---|---|
boolean |
contains(ProductLoadTuner productLoadTuner)
Returns true if this load tuner is super set of the given load tuner, otherwise, false . |
ProductSkuLoadTuner |
getProductSkuLoadTuner()
Returns the ProductSkuLoadTuner . |
ProductTypeLoadTuner |
getProductTypeLoadTuner()
Returns the ProductTypeLoadTuner . |
boolean |
isLoadingAttributeValue()
Return true if attribute value is requested. |
boolean |
isLoadingCategories()
Return true if category is requested. |
boolean |
isLoadingDefaultCategory()
Return true if default category is requested. |
boolean |
isLoadingDefaultSku()
Return true if default sku is requested. |
boolean |
isLoadingPrice()
Return true if price is requested. |
boolean |
isLoadingProductAssociations()
Return true if product association is requested. |
boolean |
isLoadingProductType()
Return true if sku product type requested. |
boolean |
isLoadingSkus()
Return true if sku is requested. |
ProductLoadTuner |
merge(ProductLoadTuner productLoadTuner)
Merges the given product load tuner with this one and returns the merged product load tuner. |
void |
setLoadingAttributeValue(boolean flag)
Sets the flag of loading attribute values. |
void |
setLoadingCategories(boolean flag)
Sets the flag of loading categories. |
void |
setLoadingDefaultCategory(boolean flag)
Sets the flag of loading default category. |
void |
setLoadingDefaultSku(boolean flag)
Sets the flag of loading default sku. |
void |
setLoadingPrice(boolean flag)
Sets the flag of loading price. |
void |
setLoadingProductAssociations(boolean flag)
Sets the flag of loading product associations. |
void |
setLoadingProductType(boolean flag)
Sets the flag of loading product type. |
void |
setLoadingSkus(boolean flag)
Sets the flag of loading skus. |
void |
setProductSkuLoadTuner(ProductSkuLoadTuner tuner)
Sets the ProductSkuLoadTuner . |
void |
setProductTypeLoadTuner(ProductTypeLoadTuner tuner)
Sets the ProductTypeLoadTuner . |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
boolean contains(ProductLoadTuner productLoadTuner)
true
if this load tuner is super set of the given load tuner, otherwise, false
.
productLoadTuner
- the product load tuner
true
if this load tuner is super set of the given load tuner, otherwise, false
ProductSkuLoadTuner getProductSkuLoadTuner()
ProductSkuLoadTuner
.
ProductSkuLoadTuner
ProductTypeLoadTuner getProductTypeLoadTuner()
ProductTypeLoadTuner
.
ProductTypeLoadTuner
boolean isLoadingAttributeValue()
true
if attribute value is requested.
true
if attribute value is requested.boolean isLoadingCategories()
true
if category is requested.
true
if category is requested.boolean isLoadingDefaultCategory()
true
if default category is requested.
true
if default category is requested.boolean isLoadingDefaultSku()
true
if default sku is requested.
true
if default sku is requested.boolean isLoadingPrice()
true
if price is requested.
true
if price is requested.boolean isLoadingProductAssociations()
true
if product association is requested.
true
if product association is requested.boolean isLoadingProductType()
true
if sku product type requested.
true
if sku product type requested.boolean isLoadingSkus()
true
if sku is requested.
true
if sku is requested.ProductLoadTuner merge(ProductLoadTuner productLoadTuner)
productLoadTuner
- the product load tuner
void setLoadingAttributeValue(boolean flag)
flag
- sets it to true
to request loading attribute values.void setLoadingCategories(boolean flag)
flag
- sets it to true
to request loading categories.void setLoadingDefaultCategory(boolean flag)
flag
- sets it to true
to request loading default category.void setLoadingDefaultSku(boolean flag)
flag
- sets it to true
to request loading default sku.void setLoadingPrice(boolean flag)
flag
- sets it to true
to request loading price.void setLoadingProductAssociations(boolean flag)
flag
- sets it to true
to request loading product associations.void setLoadingProductType(boolean flag)
flag
- sets it to true
to request loading product type.void setLoadingSkus(boolean flag)
flag
- sets it to true
to request loading skus.void setProductSkuLoadTuner(ProductSkuLoadTuner tuner)
ProductSkuLoadTuner
.
tuner
- the ProductSkuLoadTuner
void setProductTypeLoadTuner(ProductTypeLoadTuner tuner)
ProductTypeLoadTuner
.
tuner
- the ProductTypeLoadTuner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |