public class PageDesignMetaDataGenerator
extends java.lang.Object
implements com.ibm.websphere.servlet.cache.MetaDataGenerator
<cache-entry> <class>servlet</class> <name>com.ibm.commerce.struts.ECActionServlet.class</name> <cache-id> <component id="" type="pathinfo"> <required>true</required> <value>/TopCategoriesDisplay</value> </component> <component id="DC_storeId" type="attribute"> <required>true</required> </component> <component id="DC_lang" type="attribute"> <required>true</required> </component> <component id="DC_curr" type="attribute"> <required>true</required> </component> <component id="catalogId" type="parameter"> <required>true</required> </component> <component id="DC_mg" type="attribute"> <required>true</required> </component> <metadatagenerator>com.ibm.commerce.pagelayout.cache.PageDesignMetaDataGenerator</metadatagenerator> </cache-id> </cache-entry>The class identifies performs the following steps:
LayoutpageGroups.properties
file.
PageDesignEMarketingSpotListTaskCmd
to construct the layout
e-marketing spots associated with the store page.
GetMarketingSpotBehaviorCmd
is invoked to identify the marketing
spot behavior.
Constructor and Description |
---|
PageDesignMetaDataGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(com.ibm.websphere.servlet.cache.CacheConfig cc)
This method performs no actions.
|
void |
setMetaData(com.ibm.websphere.servlet.cache.ServletCacheRequest req,
javax.servlet.http.HttpServletResponse resp)
This method sets the meta-data on the cache for the store page request.
|
public void setMetaData(com.ibm.websphere.servlet.cache.ServletCacheRequest req, javax.servlet.http.HttpServletResponse resp)
LayoutPageNames.properties
file.
PageDesignEMarketingSpotListTaskCmd
to construct the layout
e-marketing spots associated with the store page.
GetMarketingSpotBehaviorCmd
is invoked to identify the
marketing spot behavior.
setMetaData
in interface com.ibm.websphere.servlet.cache.MetaDataGenerator
req
- The servlet requestresp
- The servlet responsepublic void initialize(com.ibm.websphere.servlet.cache.CacheConfig cc)
initialize
in interface com.ibm.websphere.servlet.cache.MetaDataGenerator
cc
- The cache configuration object.