Class AbstractSeoPropertyGenerator
java.lang.Object
org.broadleafcommerce.core.web.seo.AbstractSeoPropertyGenerator
- All Implemented Interfaces:
SeoPropertyGenerator
- Direct Known Subclasses:
BasicSeoPropertyGeneratorImpl
An
AbstractSeoPropertyGenerator understands how to gather a specific set of SEO properties for the given domain object- Author:
- Chris Kittrell (ckittrell)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SeoDefaultPropertyServiceprotected org.springframework.core.env.Environment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongatherSeoProperties(org.broadleafcommerce.common.page.dto.PageDTO page) gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Category category) gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Product product) getSimpleProperties(org.broadleafcommerce.common.page.dto.PageDTO page) getSimpleProperties(org.broadleafcommerce.core.catalog.domain.Category category) getSimpleProperties(org.broadleafcommerce.core.catalog.domain.Product product) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.core.web.seo.SeoPropertyGenerator
filterForSeoProperties
-
Field Details
-
env
@Autowired protected org.springframework.core.env.Environment env -
defaultPropertyService
-
-
Constructor Details
-
AbstractSeoPropertyGenerator
public AbstractSeoPropertyGenerator()
-
-
Method Details
-
gatherSeoProperties
public Map<String,String> gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Category category) - Specified by:
gatherSeoPropertiesin interfaceSeoPropertyGenerator
-
gatherSeoProperties
public Map<String,String> gatherSeoProperties(org.broadleafcommerce.core.catalog.domain.Product product) - Specified by:
gatherSeoPropertiesin interfaceSeoPropertyGenerator
-
gatherSeoProperties
- Specified by:
gatherSeoPropertiesin interfaceSeoPropertyGenerator
-
getSimpleProperties
-
getSimpleProperties
-
getSimpleProperties
-