Package org.ametys.plugins.syndication
Class FeedsGenerator
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.syndication.FeedsGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
Generator for feeds service
-
Field Summary
Modifier and TypeFieldDescriptionprotected RssFeedUserPrefsComponent
Conf access componentprotected CurrentUserProvider
The current user providerprotected FeedCache
The feed cacheprotected GroupManager
The group managerprotected RenderingContextHandler
The rendering context handler.protected SourceResolver
The source resolverprotected RightManager
The right managerprotected UserPreferencesManager
The user preferences manager.static final String
User pref key for positionsstatic final String
User pref key for urlsFields 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
-
Method Summary
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 Details
-
USER_PREF_RSS_URL_KEY
User pref key for urls- See Also:
-
USER_PREF_RSS_ID_KEY
User pref key for positions- See Also:
-
_confAccess
Conf access component -
_rightManager
The right manager -
_groupManager
The group manager -
_feedCache
The feed cache -
_resolver
The source resolver -
_userPrefManager
The user preferences manager. -
_renderingContext
The rendering context handler. -
_currentUserProvider
The current user provider
-
-
Constructor Details
-
FeedsGenerator
public FeedsGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableGenerator
- Throws:
ServiceException
-
generate
-