Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.webengine.sites
Class RssAdapter

java.lang.Object
  extended by org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
      extended by org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
          extended by org.nuxeo.webengine.sites.RssAdapter
All Implemented Interfaces:
AdapterResource, Resource, Adaptable
Direct Known Subclasses:
BlogRssAdapter

public class RssAdapter
extends DefaultAdapter

Adapter used as a RSS feed. The version of the RSS format is 2.0.

Author:
mcedica

Field Summary
static int NO_COMMENTS
           
static int NO_PAGES
           
 
Constructor Summary
RssAdapter()
           
 
Method Summary
 Template getCommentsFeed()
          Returns a feed with the last published comments
 Template getFeed()
           
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
 
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
 

Field Detail

NO_PAGES

public static final int NO_PAGES
See Also:
Constant Field Values

NO_COMMENTS

public static final int NO_COMMENTS
See Also:
Constant Field Values
Constructor Detail

RssAdapter

public RssAdapter()
Method Detail

getFeed

public Template getFeed()
Returns:
a feed with the last modified web pages.

getCommentsFeed

public Template getCommentsFeed()
Returns a feed with the last published comments


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.