edu.indiana.dlib.metsnav.dao
Class CacheDecorator

java.lang.Object
  extended by edu.indiana.dlib.metsnav.dao.NavigatorDAO
      extended by edu.indiana.dlib.metsnav.dao.CacheDecorator

public class CacheDecorator
extends NavigatorDAO

Author:
David Jiao

Field Summary
protected  NavigatorDAO child
           
 
Constructor Summary
CacheDecorator(NavigatorDAO dao)
           
 
Method Summary
 void destroy()
          Destroy the DAO.
 NavigationObject getNavigateObject(String oid)
          Returns a navigateobject
 PageItem getPageItem(String oid, String pid)
          Returns a single page item
 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
 

Field Detail

child

protected NavigatorDAO child
Constructor Detail

CacheDecorator

public CacheDecorator(NavigatorDAO dao)
Method Detail

init

public void init(DataSourceConfig dsConfig)
          throws DAOException
Description copied from class: NavigatorDAO
Initialize the DAO and set configuration parameters

Specified by:
init in class NavigatorDAO
Throws:
DAOException

destroy

public void destroy()
             throws DAOException
Description copied from class: NavigatorDAO
Destroy the DAO. Close database connections if necessary

Specified by:
destroy in class NavigatorDAO
Throws:
DAOException

getNavigateObject

public NavigationObject getNavigateObject(String oid)
                                   throws DAOException
Description copied from class: NavigatorDAO
Returns a navigateobject

Specified by:
getNavigateObject in class NavigatorDAO
Returns:
Throws:
DAOException

getPageItem

public PageItem getPageItem(String oid,
                            String pid)
                     throws DAOException
Description copied from class: NavigatorDAO
Returns a single page item

Specified by:
getPageItem in class NavigatorDAO
Returns:
Throws:
DAOException


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