|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductSkuLoadTuner
Represents a tuner to control productsku load. A product load tuner can be used in some services to fine control what data to be loaded for a productsku. The main purpose is to achieve maximum performance for some specific performance-critical pages.
Method Summary | |
---|---|
boolean |
contains(ProductSkuLoadTuner productSkuLoadTuner)
Returns true if this load tuner is super set of the given load tuner, otherwise, false . |
boolean |
isLoadingAttributeValue()
Return true if attribute value is requested. |
boolean |
isLoadingDigitalAsset()
Return true if digital asset is requested. |
boolean |
isLoadingInventory()
Return true if inventory is requested. |
boolean |
isLoadingOptionValue()
Return true if option value is requested. |
boolean |
isLoadingPrice()
Return true if price is requested. |
boolean |
isLoadingProduct()
Return true if product is requested. |
boolean |
isLoadingSpec()
Return true if spec is requested. |
ProductSkuLoadTuner |
merge(ProductSkuLoadTuner productSkuLoadTuner)
Merges the given load tuner with this one and returns the merged load tuner. |
void |
setLoadingAttributeValue(boolean flag)
Sets the flag of loading attribute values. |
void |
setLoadingDigitalAsset(boolean flag)
Sets the flag of loading digital asset. |
void |
setLoadingInventory(boolean flag)
Sets the flag of loading inventory. |
void |
setLoadingOptionValue(boolean flag)
Sets the flag of loading option values. |
void |
setLoadingPrice(boolean flag)
Sets the flag of loading price. |
void |
setLoadingProduct(boolean flag)
Sets the flag of loading product. |
void |
setLoadingSpec(boolean flag)
Sets the flag of loading productsku spec. |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
boolean contains(ProductSkuLoadTuner productSkuLoadTuner)
true
if this load tuner is super set of the given load tuner, otherwise, false
.
productSkuLoadTuner
- the sku load tuner
true
if this load tuner is super set of the given load tuner, otherwise, false
boolean isLoadingAttributeValue()
true
if attribute value is requested.
true
if attribute value is requested.boolean isLoadingDigitalAsset()
true
if digital asset is requested.
true
if digital asset is requested.boolean isLoadingInventory()
true
if inventory is requested.
true
if inventory is requested.boolean isLoadingOptionValue()
true
if option value is requested.
true
if option value is requested.boolean isLoadingPrice()
true
if price is requested.
true
if price is requested.boolean isLoadingProduct()
true
if product is requested.
true
if product is requested.boolean isLoadingSpec()
true
if spec is requested.
true
if spec is requested.ProductSkuLoadTuner merge(ProductSkuLoadTuner productSkuLoadTuner)
productSkuLoadTuner
- the product sku load tuner
void setLoadingAttributeValue(boolean flag)
flag
- sets it to true
to request loading attribute values.void setLoadingDigitalAsset(boolean flag)
flag
- sets it to true
to request loading digital asset.void setLoadingInventory(boolean flag)
flag
- sets it to true
to request loading inventory.void setLoadingOptionValue(boolean flag)
flag
- sets it to true
to request loading option values.void setLoadingPrice(boolean flag)
flag
- sets it to true
to request loading price.void setLoadingProduct(boolean flag)
flag
- sets it to true
to request loading product.void setLoadingSpec(boolean flag)
flag
- sets it to true
to request loading productsku spec.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |