org.wdssii.webindex.servlet
Class SourcesListingDAO

java.lang.Object
  extended by org.wdssii.webindex.servlet.SourcesListingDAO

public class SourcesListingDAO
extends Object

Gets all the possible WebIndex sources available on the system.

Author:
lakshman

Field Summary
private  String[] allSources
           
private  WebIndexFactory indexFactory
           
private  long lastUpdated
           
private  org.apache.commons.logging.Log log
           
private  long updateIntervalInMilliSeconds
           
 
Constructor Summary
SourcesListingDAO()
           
 
Method Summary
 String[] getAllSources()
          All the sources available on the system.
 WebIndexFactory getIndexFactory()
           
 long getUpdateIntervalInMilliSeconds()
           
 void setIndexFactory(WebIndexFactory indexFactory)
           
 void setUpdateIntervalInMilliSeconds(long updateIntervalInMilliSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

updateIntervalInMilliSeconds

private long updateIntervalInMilliSeconds

indexFactory

private WebIndexFactory indexFactory

allSources

private String[] allSources

lastUpdated

private long lastUpdated

log

private final org.apache.commons.logging.Log log
Constructor Detail

SourcesListingDAO

public SourcesListingDAO()
Method Detail

getUpdateIntervalInMilliSeconds

public long getUpdateIntervalInMilliSeconds()

setUpdateIntervalInMilliSeconds

public void setUpdateIntervalInMilliSeconds(long updateIntervalInMilliSeconds)

getIndexFactory

public WebIndexFactory getIndexFactory()

setIndexFactory

public void setIndexFactory(WebIndexFactory indexFactory)

getAllSources

public String[] getAllSources()
All the sources available on the system.