edu.indiana.dlib.metsnav.dao
Class NavigatorDAO

java.lang.Object
  extended by edu.indiana.dlib.metsnav.dao.NavigatorDAO
Direct Known Subclasses:
CacheDecorator, PersistentMets1_4FileDAO, PersistentMets1_5FileDAO, PersistentMetsFileDAO

public abstract class NavigatorDAO
extends Object

Author:
David Jiao

Constructor Summary
NavigatorDAO()
          Creates a new DAO object
 
Method Summary
abstract  void destroy()
          Destroy the DAO.
abstract  NavigationObject getNavigateObject(String oid)
          Returns a navigateobject
abstract  PageItem getPageItem(String oid, String pid)
          Returns a single page item
abstract  void init(DataSourceConfig dsConfig)
          Initialize the DAO and set configuration parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigatorDAO

public NavigatorDAO()
Creates a new DAO object

Method Detail

init

public abstract void init(DataSourceConfig dsConfig)
                   throws DAOException
Initialize the DAO and set configuration parameters

Parameters:
dsConfig -
Throws:
DAOException

destroy

public abstract void destroy()
                      throws DAOException
Destroy the DAO. Close database connections if necessary

Throws:
DAOException

getNavigateObject

public abstract NavigationObject getNavigateObject(String oid)
                                            throws DAOException
Returns a navigateobject

Parameters:
oid -
Returns:
Throws:
DAOException

getPageItem

public abstract PageItem getPageItem(String oid,
                                     String pid)
                              throws DAOException
Returns a single page item

Parameters:
oid -
pid -
Returns:
Throws:
DAOException


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.