Class BasicSeoPropertyGeneratorImpl
java.lang.Object
org.broadleafcommerce.core.web.seo.AbstractSeoPropertyGenerator
org.broadleafcommerce.core.web.seo.BasicSeoPropertyGeneratorImpl
- All Implemented Interfaces:
SeoPropertyGenerator
@Component("blBasicSeoPropertyGenerator")
@ConditionalOnTemplating
public class BasicSeoPropertyGeneratorImpl
extends AbstractSeoPropertyGenerator
The BasicSeoPropertyGeneratorImpl knows how to generate properties for the following basic SEO elements:
- Title
- Meta-Description
- Canonical URLs
- Author:
- Chris Kittrell (ckittrell)
-
Field Summary
Fields inherited from class org.broadleafcommerce.core.web.seo.AbstractSeoPropertyGenerator
defaultPropertyService, env -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDefaultDescription(Map<String, String> properties, String defaultDescription) protected voidaddDefaultTitle(Map<String, String> properties, String defaultTitle) filterForSeoProperties(Map<String, String> properties) gatherSeoProperties(org.broadleafcommerce.common.page.dto.PageDTO page) gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Category category) gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Product product) Methods inherited from class org.broadleafcommerce.core.web.seo.AbstractSeoPropertyGenerator
getSimpleProperties, getSimpleProperties, getSimpleProperties
-
Constructor Details
-
BasicSeoPropertyGeneratorImpl
public BasicSeoPropertyGeneratorImpl()
-
-
Method Details
-
filterForSeoProperties
-
gatherSeoProperties
public Map<String,String> gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Category category) - Specified by:
gatherSeoPropertiesin interfaceSeoPropertyGenerator- Overrides:
gatherSeoPropertiesin classAbstractSeoPropertyGenerator
-
gatherSeoProperties
public Map<String,String> gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Product product) - Specified by:
gatherSeoPropertiesin interfaceSeoPropertyGenerator- Overrides:
gatherSeoPropertiesin classAbstractSeoPropertyGenerator
-
gatherSeoProperties
- Specified by:
gatherSeoPropertiesin interfaceSeoPropertyGenerator- Overrides:
gatherSeoPropertiesin classAbstractSeoPropertyGenerator
-
addDefaultTitle
-
addDefaultDescription
-