@Component(value="blSkuSiteMapGenerator") public class SkuSiteMapGenerator extends Object implements SiteMapGenerator
| Modifier and Type | Field and Description |
|---|---|
protected int |
pageSize |
protected SkuDao |
skuDao |
| Constructor and Description |
|---|
SkuSiteMapGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSiteMapEntries(SiteMapGeneratorConfiguration smgc,
SiteMapBuilder siteMapBuilder)
Typically, the generator will loop through and build a list of URLs to add to the sitemap by calling
methods on the SiteMapBuilder.
|
boolean |
canHandleSiteMapConfiguration(SiteMapGeneratorConfiguration siteMapGeneratorConfiguration)
Returns true if this SiteMapGenerator is able to process the passed in siteMapGeneratorConfiguration.
|
protected Date |
generateDate(Sku sku) |
protected String |
generateUri(SiteMapBuilder smb,
Sku sku) |
int |
getPageSize() |
SkuDao |
getSkuDao() |
void |
setPageSize(int pageSize) |
void |
setSkuDao(SkuDao skuDao) |
protected SkuDao skuDao
@Value(value="${sku.site.map.generator.row.limit}")
protected int pageSize
public boolean canHandleSiteMapConfiguration(SiteMapGeneratorConfiguration siteMapGeneratorConfiguration)
SiteMapGeneratorcanHandleSiteMapConfiguration in interface SiteMapGeneratorpublic void addSiteMapEntries(SiteMapGeneratorConfiguration smgc, SiteMapBuilder siteMapBuilder)
SiteMapGeneratoraddSiteMapEntries in interface SiteMapGeneratorprotected String generateUri(SiteMapBuilder smb, Sku sku)
public SkuDao getSkuDao()
public void setSkuDao(SkuDao skuDao)
public int getPageSize()
public void setPageSize(int pageSize)
Copyright © 2015. All rights reserved.