com.arsdigita.acs.news
Class NewsDataSource

java.lang.Object
  |
  +--com.arsdigita.acs.Selection
        |
        +--com.arsdigita.acs.news.NewsDataSource
All Implemented Interfaces:
DataSource

public class NewsDataSource
extends Selection


Fields inherited from class com.arsdigita.acs.Selection
ctr, db, rs, rsmd
 
Constructor Summary
NewsDataSource(ResultSet rs)
           
NewsDataSource(SqlStatement sql, Database db)
           
 
Method Summary
 String getBody()
           
 String getNewsItemForIndexList(int counter, String archive_p)
           
 
Methods inherited from class com.arsdigita.acs.Selection
contains, dumpBLOB, freeze, get, getBLOB, keys, next, rownum
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsDataSource

public NewsDataSource(SqlStatement sql,
                      Database db)
               throws SQLException

NewsDataSource

public NewsDataSource(ResultSet rs)
               throws SQLException
Method Detail

getNewsItemForIndexList

public String getNewsItemForIndexList(int counter,
                                      String archive_p)
                               throws DataSourceException

getBody

public String getBody()
               throws DataSourceException