fedora.server.storage.lowlevel
Class DBPathRegistry
java.lang.Object
fedora.server.storage.lowlevel.PathRegistry
fedora.server.storage.lowlevel.DBPathRegistry
public class DBPathRegistry
- extends PathRegistry
- Version:
- $Id: DBPathRegistry.java 5218 2006-11-20 05:10:11Z cwilper $
- Author:
- wdn5e@virginia.edu
|
Method Summary |
void |
auditFiles()
|
void |
executeSql(java.lang.String sql)
|
java.lang.String |
get(java.lang.String pid)
|
protected java.util.Enumeration |
keys()
|
void |
put(java.lang.String pid,
java.lang.String path)
|
void |
rebuild()
|
void |
remove(java.lang.String pid)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBPathRegistry
public DBPathRegistry(java.util.Map configuration)
get
public java.lang.String get(java.lang.String pid)
throws ObjectNotInLowlevelStorageException,
LowlevelStorageInconsistencyException,
LowlevelStorageException
- Specified by:
get in class PathRegistry
- Throws:
ObjectNotInLowlevelStorageException
LowlevelStorageInconsistencyException
LowlevelStorageException
executeSql
public void executeSql(java.lang.String sql)
throws ObjectNotInLowlevelStorageException,
LowlevelStorageInconsistencyException,
LowlevelStorageException
- Throws:
ObjectNotInLowlevelStorageException
LowlevelStorageInconsistencyException
LowlevelStorageException
put
public void put(java.lang.String pid,
java.lang.String path)
throws ObjectNotInLowlevelStorageException,
LowlevelStorageInconsistencyException,
LowlevelStorageException
- Specified by:
put in class PathRegistry
- Throws:
ObjectNotInLowlevelStorageException
LowlevelStorageInconsistencyException
LowlevelStorageException
remove
public void remove(java.lang.String pid)
throws ObjectNotInLowlevelStorageException,
LowlevelStorageInconsistencyException,
LowlevelStorageException
- Specified by:
remove in class PathRegistry
- Throws:
ObjectNotInLowlevelStorageException
LowlevelStorageInconsistencyException
LowlevelStorageException
rebuild
public void rebuild()
throws LowlevelStorageException
- Specified by:
rebuild in class PathRegistry
- Throws:
LowlevelStorageException
auditFiles
public void auditFiles()
throws LowlevelStorageException
- Specified by:
auditFiles in class PathRegistry
- Throws:
LowlevelStorageException
keys
protected java.util.Enumeration keys()
throws LowlevelStorageException,
LowlevelStorageInconsistencyException
- Specified by:
keys in class PathRegistry
- Throws:
LowlevelStorageException
LowlevelStorageInconsistencyException