Interface TechnicalItem
- All Superinterfaces:
Prioritizable,Supporter<AmetysObject>
- All Known Implementing Classes:
AbstractLanguageItem,AbstractTechnicalItem,AmetysObjectIdItem,AmetysObjectNameItem,AmetysObjectWorkflowItem,ContentDateItem,ContentLanguageItem,ContentSCCItem,ContentTypeItem,ContentVersionItem,FormEntryFormItem,PageLanguageItem,PagePathItem,PageSiteItem,ResourceFileItem,ResourceKeywordsItem,ResourceUpdateItem
Section item for the ametys object technical section of the properties tool.
-
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.getId()Get the identifier of the technical itemgetXSLT()Path to the XSL to render the section item.Methods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriority
-
Method Details
-
getId
Get the identifier of the technical item- Returns:
- the identifier
-
buildData
Build the data sent into the request attributeActionResultGenerator.MAP_REQUEST_ATTR, it will be convert from JSON to XML.- Parameters:
ametysObject- The Ametys object- Returns:
- the data
-
getXSLT
Path to the XSL to render the section item. It is recommended to use the 'view' protocol, with a plugin, like view:myplugin://stylesheets/properties/filename.xsl- Returns:
- The XSL path
-