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_ticketGlpiManagerThe 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 voidsaxLongValue()Create a long value node.protected voidsaxShortValue()Create a short value node.protected voidsaxTooltips()Create a tooltip node.voidservice(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:
 servicein interfaceServiceable- Overrides:
 servicein classAbstractInternalDynamicInformationGenerator- Throws:
 ServiceException
 
- 
saxShortValue
protected void saxShortValue() throws SAXException
Description copied from class:AbstractInternalDynamicInformationGeneratorCreate a short value node.- Specified by:
 saxShortValuein classAbstractInternalDynamicInformationGenerator- Throws:
 SAXException- If a SAXException error occurs
 
- 
saxLongValue
protected void saxLongValue() throws SAXException
Description copied from class:AbstractInternalDynamicInformationGeneratorCreate a long value node.- Specified by:
 saxLongValuein classAbstractInternalDynamicInformationGenerator- Throws:
 SAXException- If a error occurs while saxing
 
- 
saxTooltips
protected void saxTooltips() throws SAXException
Description copied from class:AbstractInternalDynamicInformationGeneratorCreate a tooltip node.- Specified by:
 saxTooltipsin classAbstractInternalDynamicInformationGenerator- Throws:
 SAXException- If a error occurs while saxing
 
 - 
 
 -