nl.gx.webmanager.cms.integration
Interface RssFeedElement

All Superinterfaces:
DelegatedControllerAware, Element, Presentable, Wrapper

public interface RssFeedElement
extends Element

Element that shows external rss feeds.

Author:
arjans

Method Summary
 int getCacheTimeOut()
          Returns cache out time of the feed in seconds.
 RssFeed getFeed()
          Returns parsed feed.
 int getShowNewsItemFrom()
          Returns the index of the first item from the feed that should be shown or -1 if this value was not configured.
 int getShowNewsItemTo()
          Returns the index of the last item from the feed that should be shown or -1 if this value was not configured.
 java.lang.String getTitle()
          Return title configured at the element.
 java.lang.String getUrl()
          Return the feed's URL
 
Methods inherited from interface nl.gx.webmanager.cms.element.Element
cleanup, copy, getEditElementHeader, getElementHolder, getHeader, getIcon, getMediaItemVersion, getPageModel, getPageModelElement, getPageVersion, getPersonalization, getWebsite, isAuthorized, setAuthorized, setDefaultPresentation, setEditElementHeader, setHeader, setIcon, setPersonalization
 
Methods inherited from interface nl.gx.webmanager.cms.core.Presentable
getPresentation, render, render, setPresentation
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 
Methods inherited from interface nl.gx.webmanager.springmvc.DelegatedControllerAware
getDelegatedController, setDelegatedController
 

Method Detail

getTitle

java.lang.String getTitle()
Return title configured at the element.

Returns:
title configured at the element.

getCacheTimeOut

int getCacheTimeOut()
Returns cache out time of the feed in seconds.

Returns:
cache out time of the feed in seconds.

getUrl

java.lang.String getUrl()
Return the feed's URL

Returns:
The URL of the feed.

getFeed

RssFeed getFeed()
Returns parsed feed.

Returns:
parsed feed.

getShowNewsItemFrom

int getShowNewsItemFrom()
Returns the index of the first item from the feed that should be shown or -1 if this value was not configured.

Returns:
the index of the first item from the feed that should be shown or -1 if this value was not configured

getShowNewsItemTo

int getShowNewsItemTo()
Returns the index of the last item from the feed that should be shown or -1 if this value was not configured.

Returns:
the index of the last item from the feed that should be shown or -1 if this value was not configured


Copyright © 2007-2011 GX Software BV. All Rights Reserved.