org.fcrepo.server.storage.lowlevel
Class PathRegistry
java.lang.Object
org.fcrepo.server.storage.lowlevel.PathRegistry
- Direct Known Subclasses:
- DBPathRegistry
public abstract class PathRegistry
- extends Object
- Author:
- Bill Niebel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_REPORT
protected static final int NO_REPORT
- See Also:
- Constant Field Values
ERROR_REPORT
protected static final int ERROR_REPORT
- See Also:
- Constant Field Values
FULL_REPORT
protected static final int FULL_REPORT
- See Also:
- Constant Field Values
REPORT_FILES
protected static final int REPORT_FILES
- See Also:
- Constant Field Values
AUDIT_FILES
protected static final int AUDIT_FILES
- See Also:
- Constant Field Values
REBUILD
protected static final int REBUILD
- See Also:
- Constant Field Values
registryName
protected final String registryName
storeBases
protected final String[] storeBases
PathRegistry
public PathRegistry(Map<String,?> configuration)
get
public abstract String get(String pid)
throws LowlevelStorageException
- Throws:
LowlevelStorageException
put
public abstract void put(String pid,
String path)
throws LowlevelStorageException
- Throws:
LowlevelStorageException
remove
public abstract void remove(String pid)
throws LowlevelStorageException
- Throws:
LowlevelStorageException
rebuild
public abstract void rebuild()
throws LowlevelStorageException
- Throws:
LowlevelStorageException
auditFiles
public abstract void auditFiles()
throws LowlevelStorageException
- Throws:
LowlevelStorageException
auditRegistry
public void auditRegistry()
throws LowlevelStorageException
- Throws:
LowlevelStorageException
getRegistryName
protected final String getRegistryName()
stringNull
public static final boolean stringNull(String string)
traverseFiles
public void traverseFiles(String[] storeBases,
int operation,
boolean stopOnError,
int report)
throws LowlevelStorageException
- Throws:
LowlevelStorageException
keys
protected abstract Enumeration<String> keys()
throws LowlevelStorageException,
LowlevelStorageInconsistencyException
- Throws:
LowlevelStorageException
LowlevelStorageInconsistencyException
Copyright © 2011 DuraSpace. All Rights Reserved.