|
|||||||||
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.CategoryLoadTunerImpl
public class CategoryLoadTunerImpl
Represents a tuner to control category load. A category load tuner can be used in some services to fine control what data to be loaded for a category. The main purpose is to achieve maximum performance for some specific performance-critical pages.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
CategoryLoadTunerImpl()
|
Method Summary | |
---|---|
CategoryTypeLoadTuner |
getCategoryTypeLoadTuner()
Returns the CategoryTypeLoadTuner . |
boolean |
isLoadingAttributeValue()
Return true if attribute value is requested. |
boolean |
isLoadingCategoryType()
Return true if sku category type requested. |
boolean |
isLoadingChildren()
Return true if children is requested. |
boolean |
isLoadingParent()
Return true if parent is requested. |
void |
setCategoryTypeLoadTuner(CategoryTypeLoadTuner tuner)
Sets the CategoryTypeLoadTuner . |
void |
setLoadingAttributeValue(boolean flag)
Sets the flag of loading attribute values. |
void |
setLoadingCategoryType(boolean flag)
Sets the flag of loading category type. |
void |
setLoadingChildren(boolean flag)
Sets the flag of loading children. |
void |
setLoadingParent(boolean flag)
Sets the flag of loading parent. |
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 CategoryLoadTunerImpl()
Method Detail |
---|
public CategoryTypeLoadTuner getCategoryTypeLoadTuner()
CategoryTypeLoadTuner
.
getCategoryTypeLoadTuner
in interface CategoryLoadTuner
CategoryTypeLoadTuner
public boolean isLoadingAttributeValue()
true
if attribute value is requested.
isLoadingAttributeValue
in interface CategoryLoadTuner
true
if attribute value is requested.public boolean isLoadingCategoryType()
true
if sku category type requested.
isLoadingCategoryType
in interface CategoryLoadTuner
true
if sku category type requested.public boolean isLoadingChildren()
true
if children is requested.
isLoadingChildren
in interface CategoryLoadTuner
true
if children is requested.public boolean isLoadingParent()
true
if parent is requested.
isLoadingParent
in interface CategoryLoadTuner
true
if parent is requested.public void setCategoryTypeLoadTuner(CategoryTypeLoadTuner tuner)
CategoryTypeLoadTuner
.
setCategoryTypeLoadTuner
in interface CategoryLoadTuner
tuner
- the CategoryTypeLoadTuner
public void setLoadingAttributeValue(boolean flag)
setLoadingAttributeValue
in interface CategoryLoadTuner
flag
- sets it to true
to request loading attribute values.public void setLoadingCategoryType(boolean flag)
setLoadingCategoryType
in interface CategoryLoadTuner
flag
- sets it to true
to request loading category type.public void setLoadingChildren(boolean flag)
setLoadingChildren
in interface CategoryLoadTuner
flag
- sets it to true
to request loading children.public void setLoadingParent(boolean flag)
setLoadingParent
in interface CategoryLoadTuner
flag
- sets it to true
to request loading parent.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |