Class ContentDateItem
java.lang.Object
org.ametys.cms.properties.section.technical.AbstractTechnicalItem
org.ametys.cms.properties.section.technical.impl.ContentDateItem
- All Implemented Interfaces:
TechnicalItem,PluginAware,Prioritizable,Supporter<AmetysObject>,Configurable,Serviceable
Technical section item to display date of a content.
-
Field Summary
Fields -
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.technical.AbstractTechnicalItem
_getDefaultXSLT, configure, getId, getPriority, getXSLT, setPluginInfo
-
Field Details
-
_userHelper
The user helper
-
-
Constructor Details
-
ContentDateItem
public ContentDateItem()
-
-
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
-