net.sourceforge.blogentis.feed
Class Feed

java.lang.Object
  extended bynet.sourceforge.blogentis.feed.Feed
Direct Known Subclasses:
CommentFeed, PostFeed

public abstract class Feed
extends java.lang.Object

Author:
abas

Field Summary
static java.lang.String CLEAR
           
protected  java.util.List cm
           
protected  BlogRunData data
           
static java.lang.String DATE_SPECIFICATION
           
static java.lang.String FEED_LIMIT
           
static java.lang.String FEED_OFFSET
           
static java.lang.String FEED_VERSION
           
protected  java.util.List items
           
protected  int limit
           
protected  int offset
           
protected  BlogParameterParser pp
           
protected  PresentationalProperties properties
           
protected  java.lang.String version
           
 
Constructor Summary
Feed(org.apache.turbine.util.RunData data)
           
 
Method Summary
 void addCriteriaModifier(FeedModifier feedMod)
           
 void clear()
           
protected abstract  void fixFeedDescription(java.util.Map m)
           
 DateSpecification getDateSpecification()
           
 java.util.List getFeedDescription()
           
 java.util.List getItems()
           
protected abstract  java.util.List getItems(org.apache.torque.util.Criteria c)
           
 java.util.List getItemsTranslated()
           
 int getLimit()
           
 AbsoluteLinkURL getLink()
           
 int getOffset()
           
protected abstract  PresentationalProperties getProperties()
           
abstract  java.lang.String[] getSearchColumns()
           
abstract  java.lang.String getTimeColumn()
           
 java.lang.String getVersion()
           
 void setClear(java.lang.Object o)
           
 void setContextProperties(org.apache.velocity.context.Context context)
           
 void setDateSpecification(DateSpecification specification)
           
 void setFeedProperty(java.lang.String property, java.lang.Object o)
           
 void setLimit(int i)
           
 void setOffset(int i)
           
 void setVersion(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEED_VERSION

public static final java.lang.String FEED_VERSION
See Also:
Constant Field Values

FEED_LIMIT

public static final java.lang.String FEED_LIMIT
See Also:
Constant Field Values

DATE_SPECIFICATION

public static final java.lang.String DATE_SPECIFICATION
See Also:
Constant Field Values

CLEAR

public static final java.lang.String CLEAR
See Also:
Constant Field Values

FEED_OFFSET

public static final java.lang.String FEED_OFFSET
See Also:
Constant Field Values

version

protected java.lang.String version

limit

protected int limit

offset

protected int offset

cm

protected java.util.List cm

items

protected java.util.List items

data

protected BlogRunData data

pp

protected BlogParameterParser pp

properties

protected PresentationalProperties properties
Constructor Detail

Feed

public Feed(org.apache.turbine.util.RunData data)
Method Detail

getItems

protected abstract java.util.List getItems(org.apache.torque.util.Criteria c)
                                    throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getTimeColumn

public abstract java.lang.String getTimeColumn()

getSearchColumns

public abstract java.lang.String[] getSearchColumns()

getProperties

protected abstract PresentationalProperties getProperties()

addCriteriaModifier

public void addCriteriaModifier(FeedModifier feedMod)

clear

public void clear()

setClear

public void setClear(java.lang.Object o)

setFeedProperty

public void setFeedProperty(java.lang.String property,
                            java.lang.Object o)

getLimit

public int getLimit()

getOffset

public int getOffset()

getVersion

public java.lang.String getVersion()

setLimit

public void setLimit(int i)

setOffset

public void setOffset(int i)

setVersion

public void setVersion(java.lang.String string)

getDateSpecification

public DateSpecification getDateSpecification()

setDateSpecification

public void setDateSpecification(DateSpecification specification)

setContextProperties

public void setContextProperties(org.apache.velocity.context.Context context)

getItems

public java.util.List getItems()
                        throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getItemsTranslated

public java.util.List getItemsTranslated()
                                  throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getLink

public AbsoluteLinkURL getLink()

fixFeedDescription

protected abstract void fixFeedDescription(java.util.Map m)

getFeedDescription

public java.util.List getFeedDescription()


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.