Class AbstractLinkedDataGeneratorExtensionHandler
java.lang.Object
org.broadleafcommerce.common.extension.AbstractExtensionHandler
org.broadleafcommerce.core.web.linkeddata.generator.AbstractLinkedDataGeneratorExtensionHandler
- All Implemented Interfaces:
ExtensionHandler,LinkedDataGeneratorExtensionHandler
- Direct Known Subclasses:
DefaultLinkedDataGeneratorExtensionHandler
public abstract class AbstractLinkedDataGeneratorExtensionHandler
extends AbstractExtensionHandler
implements LinkedDataGeneratorExtensionHandler
- Author:
- Nathan Moore (nathanmoore).
-
Field Summary
Fields inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler
enabled, priority -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregateReviewData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject reviewData) addAggregateSkuData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject skuData) addBreadcrumbData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject breadcrumbData) addBreadcrumbItemData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject breadcrumbData) addBreadcrumbListItemData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject breadcrumbData) addCategoryData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject categoryData) addCategoryProductData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject categoryData) addContactData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) addDefaultData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray defaultData) addHomepageData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray homepageData) addOrganizationData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) addPotentialActionsData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) addProductData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject productData) addReviewData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject reviewData) addSkuData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject skuData) addSocialMediaData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray homepageData) addWebSiteData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) Methods inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler
getPriority, isEnabled, setEnabled, setPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Constructor Details
-
AbstractLinkedDataGeneratorExtensionHandler
public AbstractLinkedDataGeneratorExtensionHandler()
-
-
Method Details
-
addDefaultData
public ExtensionResultStatusType addDefaultData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray defaultData) throws org.codehaus.jettison.json.JSONException - Specified by:
addDefaultDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addBreadcrumbData
public ExtensionResultStatusType addBreadcrumbData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject breadcrumbData) throws org.codehaus.jettison.json.JSONException - Specified by:
addBreadcrumbDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addBreadcrumbListItemData
public ExtensionResultStatusType addBreadcrumbListItemData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject breadcrumbData) throws org.codehaus.jettison.json.JSONException - Specified by:
addBreadcrumbListItemDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addBreadcrumbItemData
public ExtensionResultStatusType addBreadcrumbItemData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject breadcrumbData) throws org.codehaus.jettison.json.JSONException - Specified by:
addBreadcrumbItemDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addHomepageData
public ExtensionResultStatusType addHomepageData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray homepageData) throws org.codehaus.jettison.json.JSONException - Specified by:
addHomepageDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addWebSiteData
public ExtensionResultStatusType addWebSiteData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) throws org.codehaus.jettison.json.JSONException - Specified by:
addWebSiteDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addOrganizationData
public ExtensionResultStatusType addOrganizationData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) throws org.codehaus.jettison.json.JSONException - Specified by:
addOrganizationDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addContactData
public ExtensionResultStatusType addContactData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) throws org.codehaus.jettison.json.JSONException - Specified by:
addContactDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addSocialMediaData
public ExtensionResultStatusType addSocialMediaData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray homepageData) throws org.codehaus.jettison.json.JSONException - Specified by:
addSocialMediaDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addPotentialActionsData
public ExtensionResultStatusType addPotentialActionsData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject homepageData) throws org.codehaus.jettison.json.JSONException - Specified by:
addPotentialActionsDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addCategoryData
public ExtensionResultStatusType addCategoryData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject categoryData) throws org.codehaus.jettison.json.JSONException - Specified by:
addCategoryDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addCategoryProductData
public ExtensionResultStatusType addCategoryProductData(jakarta.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONObject categoryData) throws org.codehaus.jettison.json.JSONException - Specified by:
addCategoryProductDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addReviewData
public ExtensionResultStatusType addReviewData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject reviewData) throws org.codehaus.jettison.json.JSONException - Specified by:
addReviewDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addAggregateReviewData
public ExtensionResultStatusType addAggregateReviewData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject reviewData) throws org.codehaus.jettison.json.JSONException - Specified by:
addAggregateReviewDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addProductData
public ExtensionResultStatusType addProductData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject productData) throws org.codehaus.jettison.json.JSONException - Specified by:
addProductDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addSkuData
public ExtensionResultStatusType addSkuData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject skuData) throws org.codehaus.jettison.json.JSONException - Specified by:
addSkuDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-
addAggregateSkuData
public ExtensionResultStatusType addAggregateSkuData(jakarta.servlet.http.HttpServletRequest request, Product product, org.codehaus.jettison.json.JSONObject skuData) throws org.codehaus.jettison.json.JSONException - Specified by:
addAggregateSkuDatain interfaceLinkedDataGeneratorExtensionHandler- Throws:
org.codehaus.jettison.json.JSONException
-