Interface PageServiceExtensionHandler
- All Superinterfaces:
org.broadleafcommerce.common.extension.ExtensionHandler
- All Known Implementing Classes:
AbstractPageServiceExtensionHandler
public interface PageServiceExtensionHandler
extends org.broadleafcommerce.common.extension.ExtensionHandler
Extension handler for
PageService- Author:
- Andre Azzolini (apazzolini)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.broadleafcommerce.common.extension.ExtensionResultStatusTypegetFieldDefinition(org.broadleafcommerce.common.extension.ExtensionResultHolder<FieldDefinition> erh, Page page, String fieldKey) If this method returns something other thanExtensionResultStatusType.NOT_HANDLED, the result variable in theExtensionResultHolderwill hold the associatedFieldDefinitionfor the givenPageand field key.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeoverridePageDto(org.broadleafcommerce.common.extension.ExtensionResultHolder<org.broadleafcommerce.common.page.dto.PageDTO> erh, org.broadleafcommerce.common.page.dto.PageDTO pageDto, Page page) This method provides the opportunity to modify the page fields associated with the pageDtoExtensionResultHolder.Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Field Details
-
IS_KEY
- See Also:
-
-
Method Details
-
getFieldDefinition
org.broadleafcommerce.common.extension.ExtensionResultStatusType getFieldDefinition(org.broadleafcommerce.common.extension.ExtensionResultHolder<FieldDefinition> erh, Page page, String fieldKey) If this method returns something other thanExtensionResultStatusType.NOT_HANDLED, the result variable in theExtensionResultHolderwill hold the associatedFieldDefinitionfor the givenPageand field key.- Parameters:
erh-page-fieldKey-- Returns:
-
overridePageDto
org.broadleafcommerce.common.extension.ExtensionResultStatusType overridePageDto(org.broadleafcommerce.common.extension.ExtensionResultHolder<org.broadleafcommerce.common.page.dto.PageDTO> erh, org.broadleafcommerce.common.page.dto.PageDTO pageDto, Page page) This method provides the opportunity to modify the page fields associated with the pageDtoExtensionResultHolder. Modifying classes should clone the DTO and adjust fields.- Parameters:
erh-pageDto-page-- Returns:
-