com.elasticpath.domain.catalog
Interface CategoryTypeLoadTuner

All Superinterfaces:
EpDomain, java.io.Serializable, Transient
All Known Implementing Classes:
CategoryTypeLoadTunerImpl

public interface CategoryTypeLoadTuner
extends Transient

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.


Method Summary
 boolean isLoadingAttributes()
          Return true if attributes is requested.
 void setLoadingAttributes(boolean flag)
          Sets the flag of loading attributes.
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

isLoadingAttributes

boolean isLoadingAttributes()
Return true if attributes is requested.

Returns:
true if attributes is requested.

setLoadingAttributes

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

Parameters:
flag - sets it to true to request loading attributes.