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 booleanDetermines 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, supportsMethods 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
-
ContentReferencerSection
public ContentReferencerSection()
-
-
Method Details
-
_supportReferenceTable
Description copied from class:AbstractContentReferencerSectionDetermines if the current section support only reference tables or other contents except reference tables.- Specified by:
_supportReferenceTablein classAbstractContentReferencerSection- Returns:
trueif it a section for reference table,falseotherwise.
-
_buildData
protected Map<String,Object> _buildData(Content content, Content.ReferencingContentsSearch referencingContents) Description copied from class:AbstractContentReferencerSectionBuild the data from referencing contents search.- Overrides:
_buildDatain classAbstractContentReferencerSection- Parameters:
content- The contentreferencingContents- The referencing contents- Returns:
- the data
-