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.void
service
(ServiceManager manager) boolean
supports
(AmetysObject ametysObject) Check if an element is supportedMethods inherited from class org.ametys.cms.properties.section.AbstractDefaultPropertySection
_getDefaultXSLT, 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
-
ResourceReferencerSection
public ResourceReferencerSection()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
supports
Description copied from interface:Supporter
Check if an element is supported- Specified by:
supports
in interfaceSupporter<AmetysObject>
- Parameters:
ametysObject
- The element- Returns:
true
if the element is supported,false
otherwise
-
buildData
Description copied from class:AbstractDefaultPropertySection
Build the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR
, it will be convert from JSON to XML.- Specified by:
buildData
in classAbstractDefaultPropertySection
- Parameters:
ametysObject
- The resolved object- Returns:
- the data
-