@Service(value="blDefaultLinkedDataServiceImpl") public class DefaultLinkedDataServiceImpl extends Object implements LinkedDataService
| Modifier and Type | Field and Description |
|---|---|
protected BreadcrumbService |
breadcrumbService |
protected org.springframework.core.env.Environment |
environment |
| Constructor and Description |
|---|
DefaultLinkedDataServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
canHandle(LinkedDataDestinationType destination)
Determines whether or not this LinkedDataService can handle the incoming
LinkedDataDestinationType |
String |
getLinkedData(String url,
List<Product> products)
Gets the linked data for default pages
|
protected org.codehaus.jettison.json.JSONArray |
getLinkedDataJson(String url,
List<Product> products) |
@Autowired protected org.springframework.core.env.Environment environment
@Autowired protected BreadcrumbService breadcrumbService
public Boolean canHandle(LinkedDataDestinationType destination)
LinkedDataServiceLinkedDataDestinationTypecanHandle in interface LinkedDataServiceprotected org.codehaus.jettison.json.JSONArray getLinkedDataJson(String url, List<Product> products) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic String getLinkedData(String url, List<Product> products) throws org.codehaus.jettison.json.JSONException
LinkedDataServicegetLinkedData in interface LinkedDataServiceorg.codehaus.jettison.json.JSONExceptionCopyright © 2017. All rights reserved.