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.voidservice(ServiceManager smanager) booleansupports(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:
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 interface:TechnicalItemBuild the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR, it will be convert from JSON to XML.- Specified by:
buildDatain 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
-