Package org.ametys.plugins.glpi.dynamic
Class TicketsDynamicInformationGenerator
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.xml.AbstractXMLProducer
-
- org.apache.cocoon.generation.AbstractGenerator
-
- org.apache.cocoon.generation.ServiceableGenerator
-
- org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
-
- org.ametys.plugins.glpi.dynamic.TicketsDynamicInformationGenerator
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
public class TicketsDynamicInformationGenerator extends AbstractInternalDynamicInformationGenerator
Generates sax events for GLPI tickets information
-
-
Field Summary
Fields Modifier and Type Field Description private TicketGlpiManager
_ticketGlpiManager
The ticket glpi component-
Fields inherited from class org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
_currentUserProvider, DYNAMIC_INFORMATION, ERROR, ERROR_ATTRIBUTE_TYPE, ITEM, ITEM_FOOTER, ITEM_SUMMARY, ITEM_TITLE, LONG_VALUE, SHORT_VALUE, TOOLTIP
-
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
-
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
-
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
-
Constructor Summary
Constructors Constructor Description TicketsDynamicInformationGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
saxLongValue()
Create a long value node.protected void
saxShortValue()
Create a short value node.protected void
saxTooltips()
Create a tooltip node.void
service(ServiceManager serviceManager)
-
Methods inherited from class org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
generate, getCurrentLanguage, getCurrentUser, getMaxItems, saxError, saxItem, saxItem
-
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
-
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
-
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
-
-
-
Field Detail
-
_ticketGlpiManager
private TicketGlpiManager _ticketGlpiManager
The ticket glpi component
-
-
Constructor Detail
-
TicketsDynamicInformationGenerator
public TicketsDynamicInformationGenerator()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractInternalDynamicInformationGenerator
- Throws:
ServiceException
-
saxShortValue
protected void saxShortValue() throws SAXException
Description copied from class:AbstractInternalDynamicInformationGenerator
Create a short value node.- Specified by:
saxShortValue
in classAbstractInternalDynamicInformationGenerator
- Throws:
SAXException
- If a SAXException error occurs
-
saxLongValue
protected void saxLongValue() throws SAXException
Description copied from class:AbstractInternalDynamicInformationGenerator
Create a long value node.- Specified by:
saxLongValue
in classAbstractInternalDynamicInformationGenerator
- Throws:
SAXException
- If a error occurs while saxing
-
saxTooltips
protected void saxTooltips() throws SAXException
Description copied from class:AbstractInternalDynamicInformationGenerator
Create a tooltip node.- Specified by:
saxTooltips
in classAbstractInternalDynamicInformationGenerator
- Throws:
SAXException
- If a error occurs while saxing
-
-