info.magnolia.module.rssaggregator.templates.components
Class FeedSubscriptionsModel<RD extends info.magnolia.rendering.template.TemplateDefinition>

java.lang.Object
  extended by info.magnolia.rendering.model.RenderingModelImpl<RD>
      extended by info.magnolia.module.rssaggregator.templates.components.AbstractFeedModel<info.magnolia.rendering.template.TemplateDefinition>
          extended by info.magnolia.module.rssaggregator.templates.components.FeedSubscriptionsModel<RD>
Type Parameters:
RD - Definition type.
All Implemented Interfaces:
info.magnolia.rendering.model.RenderingModel<info.magnolia.rendering.template.TemplateDefinition>

public class FeedSubscriptionsModel<RD extends info.magnolia.rendering.template.TemplateDefinition>
extends AbstractFeedModel<info.magnolia.rendering.template.TemplateDefinition>

FeedSubscriptionsModel.

Author:
lfischer

Field Summary
 
Fields inherited from class info.magnolia.module.rssaggregator.templates.components.AbstractFeedModel
ORDER_BY_PUBLICATION_DATE, ORDER_BY_TITLE_NAME, SORT_ASCENDING, SORT_DESCENDING, templatingFunctions
 
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl
content, contentMap, definition, parentModel
 
Fields inherited from interface info.magnolia.rendering.model.RenderingModel
SKIP_RENDERING
 
Constructor Summary
FeedSubscriptionsModel(javax.jcr.Node content, info.magnolia.rendering.template.TemplateDefinition definition, info.magnolia.rendering.model.RenderingModel<?> parent, info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
           
 
Method Summary
 String getFeedTitle(String feedLink)
          Retrieve the title attribute of an individual feed subscription.
 Collection<info.magnolia.cms.util.ContentWrapper> getItems()
           
 
Methods inherited from class info.magnolia.module.rssaggregator.templates.components.AbstractFeedModel
convertPubDate, getContextPath
 
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl
execute, getContent, getDef, getDefinition, getNode, getParent, getRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.rendering.model.RenderingModel
execute, getContent, getDefinition, getNode, getParent, getRoot
 

Constructor Detail

FeedSubscriptionsModel

public FeedSubscriptionsModel(javax.jcr.Node content,
                              info.magnolia.rendering.template.TemplateDefinition definition,
                              info.magnolia.rendering.model.RenderingModel<?> parent,
                              info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
Method Detail

getItems

public Collection<info.magnolia.cms.util.ContentWrapper> getItems()

getFeedTitle

public String getFeedTitle(String feedLink)
Retrieve the title attribute of an individual feed subscription.

Parameters:
feedLink - Link to the feed.
Returns:
Assigned title of a feed if defined in the dialog or null.


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.