@Service(value="blHomepageLinkedDataServiceImpl") public class HomepageLinkedDataServiceImpl extends DefaultLinkedDataServiceImpl
breadcrumbService, DEFAULT_CONTEXT, environment| Constructor and Description |
|---|
HomepageLinkedDataServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
canHandle(LinkedDataDestinationType destination)
Determines whether or not this LinkedDataService can handle the incoming
LinkedDataDestinationType |
protected org.codehaus.jettison.json.JSONArray |
getLinkedDataJson(String url,
List<Product> products) |
protected String |
getLogoUrl()
Generates an object representing the Schema.org image for the site logo
|
protected org.codehaus.jettison.json.JSONObject |
getOrganization()
Generates an object representing the Schema.org organization
|
protected org.codehaus.jettison.json.JSONObject |
getPotentialAction() |
protected String |
getSiteCustomerServiceNumber() |
protected String |
getSiteLogo() |
protected String |
getSiteName() |
protected String |
getSiteSearchUri() |
protected String |
getSiteSocialAccounts() |
protected org.codehaus.jettison.json.JSONArray |
getSocialMediaList()
Generates a JSON array of the organization's social media sites
|
protected org.codehaus.jettison.json.JSONObject |
getWebSite()
Generates an object representing the Schema.org WebSite
|
getBreadcrumbList, getLinkedData, getRequestParams, getRequestUri, getSiteBaseUrlpublic Boolean canHandle(LinkedDataDestinationType destination)
LinkedDataServiceLinkedDataDestinationTypecanHandle in interface LinkedDataServicecanHandle in class DefaultLinkedDataServiceImplprotected org.codehaus.jettison.json.JSONArray getLinkedDataJson(String url, List<Product> products) throws org.codehaus.jettison.json.JSONException
getLinkedDataJson in class DefaultLinkedDataServiceImplorg.codehaus.jettison.json.JSONExceptionprotected org.codehaus.jettison.json.JSONObject getOrganization()
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected org.codehaus.jettison.json.JSONObject getWebSite()
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected String getLogoUrl() throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected org.codehaus.jettison.json.JSONArray getSocialMediaList()
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected org.codehaus.jettison.json.JSONObject getPotentialAction()
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected String getSiteName()
protected String getSiteLogo()
protected String getSiteCustomerServiceNumber()
protected String getSiteSocialAccounts()
protected String getSiteSearchUri()
Copyright © 2017. All rights reserved.