Class ContentReferencerSection
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.properties.section.AbstractPropertySection
org.ametys.cms.properties.section.AbstractDefaultPropertySection
org.ametys.cms.properties.section.content.AbstractContentReferencerSection
org.ametys.cms.properties.section.content.ContentReferencerSection
- All Implemented Interfaces:
PropertySection
,LogEnabled
,PluginAware
,Prioritizable
,Supporter<AmetysObject>
,Configurable
,Serviceable
Section to display references to the content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_buildData
(Content content, Content.ReferencingContentsSearch referencingContents) Build the data from referencing contents search.protected boolean
Determines if the current section support only reference tables or other contents except reference tables.Methods inherited from class org.ametys.cms.properties.section.content.AbstractContentReferencerSection
_getDefaultXSLT, buildData, service, supports
Methods inherited from class org.ametys.cms.properties.section.AbstractDefaultPropertySection
configure, getDataURL, getParameters, getXSLT
Methods inherited from class org.ametys.cms.properties.section.AbstractPropertySection
getId, getPriority, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ContentReferencerSection
public ContentReferencerSection()
-
-
Method Details
-
_supportReferenceTable
Description copied from class:AbstractContentReferencerSection
Determines if the current section support only reference tables or other contents except reference tables.- Specified by:
_supportReferenceTable
in classAbstractContentReferencerSection
- Returns:
true
if it a section for reference table,false
otherwise.
-
_buildData
protected Map<String,Object> _buildData(Content content, Content.ReferencingContentsSearch referencingContents) Description copied from class:AbstractContentReferencerSection
Build the data from referencing contents search.- Overrides:
_buildData
in classAbstractContentReferencerSection
- Parameters:
content
- The contentreferencingContents
- The referencing contents- Returns:
- the data
-