|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.dlib.metsnav.dao.NavigatorDAO
edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO
public class PersistentMetsFileDAO
This DAO construts a MetsNavObject
from a mets file and keeps
the data inside the dao. This is a decorator class and hides the mets version
specific dao class
Field Summary | |
---|---|
protected NavigatorDAO |
decoratedDao
The DAO the actually does the job |
protected FileSystemDataSource |
dsConfig
|
Constructor Summary | |
---|---|
PersistentMetsFileDAO()
Creates a new instance |
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 |
---|
protected FileSystemDataSource dsConfig
protected NavigatorDAO decoratedDao
Constructor Detail |
---|
public PersistentMetsFileDAO()
Method Detail |
---|
public void init(DataSourceConfig dsConfig) throws DAOException
NavigatorDAO
init
in class NavigatorDAO
DAOException
public void destroy() throws DAOException
NavigatorDAO
destroy
in class NavigatorDAO
DAOException
public NavigationObject getNavigateObject(String oid) throws DAOException
NavigatorDAO
getNavigateObject
in class NavigatorDAO
DAOException
public PageItem getPageItem(String oid, String pid) throws DAOException
NavigatorDAO
getPageItem
in class NavigatorDAO
DAOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |