Class AmetysObjectIdItem
java.lang.Object
org.ametys.cms.properties.section.technical.AbstractTechnicalItem
org.ametys.cms.properties.section.technical.impl.AmetysObjectIdItem
- All Implemented Interfaces:
TechnicalItem
,PluginAware
,Prioritizable
,Supporter<AmetysObject>
,Configurable
,Serviceable
- Direct Known Subclasses:
FormEntryFormItem
Technical section item to display content id.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AmetysObject
_getTargetedAO
(AmetysObject ametysObject) Returns the object on which we want to display identifierbuildData
(AmetysObject ametysObject) Build the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR
, it will be convert from JSON to XML.void
service
(ServiceManager smanager) boolean
supports
(AmetysObject ametysObject) Check if an element is supportedMethods inherited from class org.ametys.cms.properties.section.technical.AbstractTechnicalItem
_getDefaultXSLT, configure, getId, getPriority, getXSLT, setPluginInfo
-
Constructor Details
-
AmetysObjectIdItem
public AmetysObjectIdItem()
-
-
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 interface:TechnicalItem
Build the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR
, it will be convert from JSON to XML.- Specified by:
buildData
in interfaceTechnicalItem
- Parameters:
ametysObject
- The Ametys object- Returns:
- the data
-
_getTargetedAO
Returns the object on which we want to display identifier- Parameters:
ametysObject
- The selected object- Returns:
- The object to target
-