Class AbstractWebContentReferencerSection
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.properties.section.AbstractPropertySection
org.ametys.cms.properties.section.AbstractDefaultPropertySection
org.ametys.web.properties.section.content.AbstractWebContentReferencerSection
- All Implemented Interfaces:
PropertySection,LogEnabled,PluginAware,Prioritizable,Supporter<AmetysObject>,Configurable
- Direct Known Subclasses:
InitialContentReferencerSection,SharedContentReferencerSection,WebContentReferencerSection
Abstract section implementation to display referenced pages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringThe default XSL if not defined in the configuration._getPages(AmetysObject ametysObject) Get the pages to display in the sectionprotected abstract I18nizableTextGet the title of the sectionbuildData(AmetysObject ametysObject) Build the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR, it will be convert from JSON to XML.Methods inherited from class org.ametys.cms.properties.section.AbstractDefaultPropertySection
configure, getDataURL, getParameters, getXSLTMethods inherited from class org.ametys.cms.properties.section.AbstractPropertySection
getId, getPriority, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
AbstractWebContentReferencerSection
public AbstractWebContentReferencerSection()
-
-
Method Details
-
buildData
Description copied from class:AbstractDefaultPropertySectionBuild the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR, it will be convert from JSON to XML.- Specified by:
buildDatain classAbstractDefaultPropertySection- Parameters:
ametysObject- The resolved object- Returns:
- the data
-
_getDefaultXSLT
Description copied from class:AbstractDefaultPropertySectionThe default XSL if not defined in the configuration. Not mandatory to implement this method but if there is not XSLT configured for the section, the loading will failed.- Overrides:
_getDefaultXSLTin classAbstractDefaultPropertySection- Returns:
- The default XSL path
-
_getTitle
Get the title of the section- Returns:
- The title
-
_getPages
Get the pages to display in the section- Parameters:
ametysObject- The Ametys object on which we are searching pages- Returns:
- The pages
-