@Service public class CanonicalTaggingImpl extends Object implements CanonicalTagging
| Constructor and Description |
|---|
CanonicalTaggingImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(Map<String,Object> properties) |
void |
bindPageDao(PageDao pageDao) |
String |
getCanonicalLink(String resourcePath)
Method, which returns canonical link for the given resource path.
|
List<Rule> |
getCanonicalRules() |
public String getCanonicalLink(String resourcePath)
CanonicalTaggingMethod, which returns canonical link for the given resource path.
Internally, page will be extracted for the provided resource path. Using rules canonical path will be tried to found.
Using Externalizer, path will be converted to the link.
getCanonicalLink in interface CanonicalTaggingresourcePath - which will be used to get page it is part ofpublic void bindPageDao(PageDao pageDao)
Copyright © 2017. All rights reserved.