Interface PageServiceExtensionHandler
- All Superinterfaces:
ExtensionHandler
- All Known Implementing Classes:
AbstractPageServiceExtensionHandler
Extension handler for
PageService- Author:
- Andre Azzolini (apazzolini)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetFieldDefinition(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.overridePageDto(ExtensionResultHolder<PageDTO> erh, 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
ExtensionResultStatusType getFieldDefinition(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
ExtensionResultStatusType overridePageDto(ExtensionResultHolder<PageDTO> erh, 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:
-