public interface PageServiceExtensionHandler extends ExtensionHandler
PageService
Modifier and Type | Method and Description |
---|---|
ExtensionResultStatusType |
getFieldDefinition(ExtensionResultHolder<FieldDefinition> erh,
Page page,
String fieldKey)
If this method returns something other than
ExtensionResultStatusType.NOT_HANDLED , the result variable
in the ExtensionResultHolder will hold the associated FieldDefinition for the given Page
and field key. |
ExtensionResultStatusType |
overridePageDto(ExtensionResultHolder<PageDTO> erh,
PageDTO pageDto,
Page page)
This method provides the opportunity to modify the page fields associated with the pageDto
ExtensionResultHolder . |
getPriority, isEnabled
static final String IS_KEY
ExtensionResultStatusType getFieldDefinition(ExtensionResultHolder<FieldDefinition> erh, Page page, String fieldKey)
ExtensionResultStatusType.NOT_HANDLED
, the result variable
in the ExtensionResultHolder
will hold the associated FieldDefinition
for the given Page
and field key.erh
- page
- fieldKey
- ExtensionResultStatusType overridePageDto(ExtensionResultHolder<PageDTO> erh, PageDTO pageDto, Page page)
ExtensionResultHolder
. Modifying classes should clone the DTO and adjust fields.erh
- pageDto
- page
- Copyright © 2022. All rights reserved.