@Service(value="blSeoDefaultPropertyService") @ConditionalOnTemplating public class SeoDefaultPropertyServiceImpl extends Object implements SeoDefaultPropertyService
| Modifier and Type | Field and Description | 
|---|---|
| protected org.springframework.core.env.Environment | env | 
| protected SearchFacetDTOService | facetService | 
| protected static org.apache.commons.logging.Log | LOG | 
| protected SearchService | searchService | 
| protected BaseUrlResolver | urlResolver | 
| Constructor and Description | 
|---|
| SeoDefaultPropertyServiceImpl() | 
protected static final org.apache.commons.logging.Log LOG
@Autowired protected org.springframework.core.env.Environment env
protected BaseUrlResolver urlResolver
protected SearchFacetDTOService facetService
protected SearchService searchService
public String getProductTitlePattern(Product product)
getProductTitlePattern in interface SeoDefaultPropertyServicepublic String getCategoryTitlePattern()
getCategoryTitlePattern in interface SeoDefaultPropertyServicepublic String getTitle(PageDTO page)
getTitle in interface SeoDefaultPropertyServicepublic String getType(Product product)
getType in interface SeoDefaultPropertyServicepublic String getType(Category category)
getType in interface SeoDefaultPropertyServicepublic String getType(PageDTO page)
getType in interface SeoDefaultPropertyServicepublic String getProductDescriptionPattern(Product product)
getProductDescriptionPattern in interface SeoDefaultPropertyServicepublic String getCategoryDescriptionPattern()
getCategoryDescriptionPattern in interface SeoDefaultPropertyServicepublic String getDescription(PageDTO page)
getDescription in interface SeoDefaultPropertyServicepublic String getUrl(Product product)
getUrl in interface SeoDefaultPropertyServicepublic String getUrl(Category category)
getUrl in interface SeoDefaultPropertyServicepublic String getUrl(PageDTO page)
getUrl in interface SeoDefaultPropertyServicepublic String getImage(Product product)
getImage in interface SeoDefaultPropertyServicepublic String getImage(Category category)
getImage in interface SeoDefaultPropertyServicepublic String getImage(PageDTO page)
getImage in interface SeoDefaultPropertyServicepublic String getCanonicalUrl(Product product)
getCanonicalUrl in interface SeoDefaultPropertyServicepublic String getPaginationPrevUrl(Product product)
getPaginationPrevUrl in interface SeoDefaultPropertyServicepublic String getPaginationNextUrl(Product product)
getPaginationNextUrl in interface SeoDefaultPropertyServiceprotected boolean shouldIncludeProductPagination(int pageNumber)
protected boolean isValidPrevPageNumber(Integer pageNumber)
protected boolean isValidNextPageNumber(Product product, Integer pageNumber)
protected Integer getCurrentProductPageNumber()
public String getCanonicalUrl(Category category)
getCanonicalUrl in interface SeoDefaultPropertyServicepublic String getPaginationPrevUrl(Category category)
getPaginationPrevUrl in interface SeoDefaultPropertyServicepublic String getPaginationNextUrl(Category category)
getPaginationNextUrl in interface SeoDefaultPropertyServiceprotected boolean shouldIncludeCategoryPagination(int pageNumber)
protected boolean isValidNextPageNumber(Category category, Integer pageNumber)
protected Integer getCurrentCategoryPageNumber()
protected boolean productPaginationIsEnabled()
protected String getProductPaginationParam()
protected String getCategoryPaginationParam()
protected int getPageSize()
Copyright © 2020. All rights reserved.