Class ResourceReferencerSection
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.resource.ResourceReferencerSection
- All Implemented Interfaces:
PropertySection,LogEnabled,PluginAware,Prioritizable,Supporter<AmetysObject>,Configurable,Serviceable
public class ResourceReferencerSection
extends AbstractDefaultPropertySection
implements Serviceable
Section to display references of the resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildData(AmetysObject ametysObject) Build the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR, it will be convert from JSON to XML.voidservice(ServiceManager manager) booleansupports(AmetysObject ametysObject) Check if an element is supportedMethods inherited from class org.ametys.cms.properties.section.AbstractDefaultPropertySection
_getDefaultXSLT, 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
-
ResourceReferencerSection
public ResourceReferencerSection()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
supports
Description copied from interface:SupporterCheck if an element is supported- Specified by:
supportsin interfaceSupporter<AmetysObject>- Parameters:
ametysObject- The element- Returns:
trueif the element is supported,falseotherwise
-
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
-