com.elasticpath.domain.catalog.impl
Class CategoryTypeLoadTunerImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractTransientImpl
          extended by com.elasticpath.domain.catalog.impl.CategoryTypeLoadTunerImpl
All Implemented Interfaces:
CategoryTypeLoadTuner, EpDomain, Transient, java.io.Serializable

public class CategoryTypeLoadTunerImpl
extends AbstractTransientImpl
implements CategoryTypeLoadTuner

Represents a tuner to control category type load. A category type load tuner can be used in some services to fine control what data to be loaded for a category type. The main purpose is to achieve maximum performance for some specific performance-critical pages.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
CategoryTypeLoadTunerImpl()
           
 
Method Summary
 boolean isLoadingAttributes()
          Return true if attributes is requested.
 void setLoadingAttributes(boolean flag)
          Sets the flag of loading attributes.
 
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

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

CategoryTypeLoadTunerImpl

public CategoryTypeLoadTunerImpl()
Method Detail

isLoadingAttributes

public boolean isLoadingAttributes()
Return true if attributes is requested.

Specified by:
isLoadingAttributes in interface CategoryTypeLoadTuner
Returns:
true if attributes is requested.

setLoadingAttributes

public void setLoadingAttributes(boolean flag)
Sets the flag of loading attributes.

Specified by:
setLoadingAttributes in interface CategoryTypeLoadTuner
Parameters:
flag - sets it to true to request loading attributes.