Class SeoPropertyServiceImpl
- All Implemented Interfaces:
SeoPropertyService
- Author:
- Chris Kittrell (ckittrell)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.core.env.Environmentprotected List<SeoPropertyGenerator>protected static final org.apache.commons.logging.Log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSeoProperties(PageDTO page) Returns a Map<String, String> that contains the known additional attributes for the current context.getSeoProperties(Category category) Returns a Map<String, String> that contains the known additional attributes for the current context.getSeoProperties(Product product) Returns a Map<String, String> that contains the known additional attributes for the current context.
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOG -
env
@Autowired protected org.springframework.core.env.Environment env -
generators
-
-
Constructor Details
-
SeoPropertyServiceImpl
public SeoPropertyServiceImpl()
-
-
Method Details
-
getSeoProperties
Description copied from interface:SeoPropertyServiceReturns a Map<String, String> that contains the known additional attributes for the current context. This method understands how to extract additional attributes for products.Note that this method will extract the values of the
ProductAttributes from their respective entities. It does not filter these attributes, and it is quite likely that some of these attributes will not be SEO related.Individual resolvers for these attributes will skip ones that do not apply.
- Specified by:
getSeoPropertiesin interfaceSeoPropertyService- Returns:
- the known attributes
-
getSeoProperties
Description copied from interface:SeoPropertyServiceReturns a Map<String, String> that contains the known additional attributes for the current context. This method understands how to extract additional attributes for products, categories, and pages.Note that this method will extract the values of the
CategoryAttributes from their respective entities. It does not filter these attributes, and it is quite likely that some of these attributes will not be SEO related.Individual resolvers for these attributes will skip ones that do not apply.
- Specified by:
getSeoPropertiesin interfaceSeoPropertyService- Returns:
- the known attributes
-
getSeoProperties
Description copied from interface:SeoPropertyServiceReturns a Map<String, String> that contains the known additional attributes for the current context. This method understands how to extract additional attributes for products, categories, and pages.Note that this method will extract the values of the
PageAttributes from their respective entities. It does not filter these attributes, and it is quite likely that some of these attributes will not be SEO related.Individual resolvers for these attributes will skip ones that do not apply.
- Specified by:
getSeoPropertiesin interfaceSeoPropertyService- Returns:
- the known attributes
-