|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractTransientImpl com.elasticpath.domain.catalog.impl.ProductSkuLoadTunerImpl
public class ProductSkuLoadTunerImpl
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.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
ProductSkuLoadTunerImpl()
|
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 class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ProductSkuLoadTunerImpl()
Method Detail |
---|
public boolean contains(ProductSkuLoadTuner productSkuLoadTuner)
true
if this load tuner is super set of the given load tuner, otherwise, false
.
contains
in interface ProductSkuLoadTuner
productSkuLoadTuner
- the sku load tuner
true
if this load tuner is super set of the given load tuner, otherwise, false
public boolean isLoadingAttributeValue()
true
if attribute value is requested.
isLoadingAttributeValue
in interface ProductSkuLoadTuner
true
if attribute value is requested.public boolean isLoadingDigitalAsset()
true
if digital asset is requested.
isLoadingDigitalAsset
in interface ProductSkuLoadTuner
true
if digital asset is requested.public boolean isLoadingInventory()
true
if inventory is requested.
isLoadingInventory
in interface ProductSkuLoadTuner
true
if inventory is requested.public boolean isLoadingOptionValue()
true
if option value is requested.
isLoadingOptionValue
in interface ProductSkuLoadTuner
true
if option value is requested.public boolean isLoadingPrice()
true
if price is requested.
isLoadingPrice
in interface ProductSkuLoadTuner
true
if price is requested.public boolean isLoadingProduct()
true
if product is requested.
isLoadingProduct
in interface ProductSkuLoadTuner
true
if product is requested.public boolean isLoadingSpec()
true
if spec is requested.
isLoadingSpec
in interface ProductSkuLoadTuner
true
if spec is requested.public ProductSkuLoadTuner merge(ProductSkuLoadTuner productSkuLoadTuner)
merge
in interface ProductSkuLoadTuner
productSkuLoadTuner
- the product sku load tuner
public void setLoadingAttributeValue(boolean flag)
setLoadingAttributeValue
in interface ProductSkuLoadTuner
flag
- sets it to true
to request loading attribute values.public void setLoadingDigitalAsset(boolean flag)
setLoadingDigitalAsset
in interface ProductSkuLoadTuner
flag
- sets it to true
to request digital asset.public void setLoadingInventory(boolean flag)
setLoadingInventory
in interface ProductSkuLoadTuner
flag
- sets it to true
to request loading inventory.public void setLoadingOptionValue(boolean flag)
setLoadingOptionValue
in interface ProductSkuLoadTuner
flag
- sets it to true
to request loading option values.public void setLoadingPrice(boolean flag)
setLoadingPrice
in interface ProductSkuLoadTuner
flag
- sets it to true
to request loading price.public void setLoadingProduct(boolean flag)
setLoadingProduct
in interface ProductSkuLoadTuner
flag
- sets it to true
to request loading product.public void setLoadingSpec(boolean flag)
setLoadingSpec
in interface ProductSkuLoadTuner
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 |