Class AbstractMessagingConnectorDynamicInformationGenerator
- 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.messagingconnector.dynamic.AbstractMessagingConnectorDynamicInformationGenerator
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
- Direct Known Subclasses:
CalendarDynamicInformationGenerator
,MailDynamicInformationGenerator
public abstract class AbstractMessagingConnectorDynamicInformationGenerator extends AbstractInternalDynamicInformationGenerator
Abstract generator for saxing dynamic information for agenda/mail service
-
-
Field Summary
Fields Modifier and Type Field Description protected MessagingConnector
_messagingConnector
The messagingConnector 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 AbstractMessagingConnectorDynamicInformationGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private String
_scriptToUpdatePassword(String spanId)
protected abstract String
getSpanId()
Get the id of span element where to insert the link to set/update passwordprotected void
saxError(DynamicInformationException e)
SAX the errorvoid
service(ServiceManager serviceManager)
-
Methods inherited from class org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
generate, getCurrentLanguage, getCurrentUser, getMaxItems, saxItem, saxItem, saxLongValue, saxShortValue, saxTooltips
-
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
-
_messagingConnector
protected MessagingConnector _messagingConnector
The messagingConnector component
-
-
Constructor Detail
-
AbstractMessagingConnectorDynamicInformationGenerator
public AbstractMessagingConnectorDynamicInformationGenerator()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractInternalDynamicInformationGenerator
- Throws:
ServiceException
-
saxError
protected void saxError(DynamicInformationException e) throws SAXException
Description copied from class:AbstractInternalDynamicInformationGenerator
SAX the error- Overrides:
saxError
in classAbstractInternalDynamicInformationGenerator
- Parameters:
e
- The thrown exception- Throws:
SAXException
- If a SAXException error occurs
-
getSpanId
protected abstract String getSpanId()
Get the id of span element where to insert the link to set/update password- Returns:
- id of span element
-
_scriptToUpdatePassword
private String _scriptToUpdatePassword(String spanId)
-
-