public class FetchPageDesignUsingDataCacheCmdImpl extends FetchPageDesignCmdImpl
Constructor and Description |
---|
FetchPageDesignUsingDataCacheCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.io.Serializable[] | extractCacheKey(PageDesignType pageDesign)
This method is used to extract the cache keys from the page design object.
|
protected LayoutType | getDefaultLayout(java.lang.String pageGroup, java.lang.String deviceClass)
This method fetches the Default Layout for the given Page Group and Device Class.
|
protected com.ibm.commerce.dynacache.commands.DistributedMapCache | getLayoutResolutionCache(PageDesignType pageDesign)
Retuns an instance of the Layout resolution data cache.
|
protected GetMarketingSpotBehaviorCmd | getMarketingSpotBehavior(PageDesignType pageDesign, java.util.List<java.lang.String> espots)
This method is used to determine the behavior of the marketing spots that control the layout for the page.
|
protected void | populateLayoutDetails(PageDesignType pageDesign)
This method populates the given PageDesign Noun with the Layout Details, primarily the Layout Name and the Widget Tree of the Layout.
|
protected java.util.List<java.util.List<java.lang.String>> | resolveLayout(PageDesignType pageDesign)
This method utilises the data cache to retrieve the resolved layout.
|
protected java.util.List<java.util.List<java.lang.String>> | resolveLayoutOnCacheMiss(PageDesignType pageDesign)
This method is invoked by the data cache on a cache miss and it resolves the layout.
|
public FetchPageDesignUsingDataCacheCmdImpl()
protected java.io.Serializable[] extractCacheKey(PageDesignType pageDesign)
protected GetMarketingSpotBehaviorCmd getMarketingSpotBehavior(PageDesignType pageDesign, java.util.List<java.lang.String> espots) throws PageLayoutApplicationException
protected java.util.List<java.util.List<java.lang.String>> resolveLayoutOnCacheMiss(PageDesignType pageDesign) throws PageLayoutApplicationException
protected final java.util.List<java.util.List<java.lang.String>> resolveLayout(PageDesignType pageDesign) throws PageLayoutApplicationException
protected final com.ibm.commerce.dynacache.commands.DistributedMapCache getLayoutResolutionCache(PageDesignType pageDesign)
protected LayoutType getDefaultLayout(java.lang.String pageGroup, java.lang.String deviceClass) throws PageLayoutApplicationException
protected void populateLayoutDetails(PageDesignType pageDesign) throws PageLayoutApplicationException
It uses the Layout Id that was set in the PageDesign Noun by FetchPageDesignCmdImpl.evaluateWinningLayout(PageDesignType) and fetches the Layout Details using the LayoutCache.