info.magnolia.module.rssaggregator.templates.components
Class FeedListModel<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.FeedListModel<RD>
Type Parameters:
RD -
All Implemented Interfaces:
info.magnolia.rendering.model.RenderingModel<info.magnolia.rendering.template.TemplateDefinition>
Direct Known Subclasses:
FeedListAction

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

Model class for FeedList paragraph.

Author:
had

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
FeedListModel(javax.jcr.Node content, RD definition, info.magnolia.rendering.model.RenderingModel<?> parent, info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
           
 
Method Summary
 Collection<info.magnolia.jcr.util.ContentMap> getFeeds()
           
 Collection<info.magnolia.jcr.util.ContentMap> getItems(String singleFeedHandle)
           
 String getOrderBy()
           
 String getSortDirection()
           
 void setOrderBy(String orderBy)
           
 void setSortDirection(String sortDirection)
           
 
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

FeedListModel

@Inject
public FeedListModel(javax.jcr.Node content,
                            RD definition,
                            info.magnolia.rendering.model.RenderingModel<?> parent,
                            info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
Method Detail

getFeeds

public Collection<info.magnolia.jcr.util.ContentMap> getFeeds()

getItems

public Collection<info.magnolia.jcr.util.ContentMap> getItems(String singleFeedHandle)

getOrderBy

public String getOrderBy()

setOrderBy

public void setOrderBy(String orderBy)

getSortDirection

public String getSortDirection()

setSortDirection

public void setSortDirection(String sortDirection)


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