fedora.server.storage.lowlevel
Class DefaultLowlevelStorage
java.lang.Object
fedora.server.storage.lowlevel.DefaultLowlevelStorage
- All Implemented Interfaces:
- ILowlevelStorage
public class DefaultLowlevelStorage
- extends java.lang.Object
- implements ILowlevelStorage
- Version:
- $Id$
- Author:
- wdn5e@virginia.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGISTRY_NAME
public static final java.lang.String REGISTRY_NAME
- See Also:
- Constant Field Values
OBJECT_REGISTRY_TABLE
public static final java.lang.String OBJECT_REGISTRY_TABLE
- See Also:
- Constant Field Values
DATASTREAM_REGISTRY_TABLE
public static final java.lang.String DATASTREAM_REGISTRY_TABLE
- See Also:
- Constant Field Values
OBJECT_STORE_BASE
public static final java.lang.String OBJECT_STORE_BASE
- See Also:
- Constant Field Values
DATASTREAM_STORE_BASE
public static final java.lang.String DATASTREAM_STORE_BASE
- See Also:
- Constant Field Values
FILESYSTEM
public static final java.lang.String FILESYSTEM
- See Also:
- Constant Field Values
PATH_ALGORITHM
public static final java.lang.String PATH_ALGORITHM
- See Also:
- Constant Field Values
PATH_REGISTRY
public static final java.lang.String PATH_REGISTRY
- See Also:
- Constant Field Values
DefaultLowlevelStorage
public DefaultLowlevelStorage(java.util.Map<java.lang.String,java.lang.Object> configuration)
throws LowlevelStorageException
- Throws:
LowlevelStorageException
addObject
public void addObject(java.lang.String pid,
java.io.InputStream content)
throws LowlevelStorageException
- Specified by:
addObject in interface ILowlevelStorage
- Throws:
LowlevelStorageException
replaceObject
public void replaceObject(java.lang.String pid,
java.io.InputStream content)
throws LowlevelStorageException
- Specified by:
replaceObject in interface ILowlevelStorage
- Throws:
LowlevelStorageException
retrieveObject
public java.io.InputStream retrieveObject(java.lang.String pid)
throws LowlevelStorageException
- Specified by:
retrieveObject in interface ILowlevelStorage
- Returns:
- bytestream containing data object
- Throws:
LowlevelStorageException
removeObject
public void removeObject(java.lang.String pid)
throws LowlevelStorageException
- Specified by:
removeObject in interface ILowlevelStorage
- Throws:
LowlevelStorageException
rebuildObject
public void rebuildObject()
throws LowlevelStorageException
- Specified by:
rebuildObject in interface ILowlevelStorage
- Throws:
LowlevelStorageException
auditObject
public void auditObject()
throws LowlevelStorageException
- Specified by:
auditObject in interface ILowlevelStorage
- Throws:
LowlevelStorageException
addDatastream
public void addDatastream(java.lang.String pid,
java.io.InputStream content)
throws LowlevelStorageException
- Specified by:
addDatastream in interface ILowlevelStorage
- Throws:
LowlevelStorageException
replaceDatastream
public void replaceDatastream(java.lang.String pid,
java.io.InputStream content)
throws LowlevelStorageException
- Specified by:
replaceDatastream in interface ILowlevelStorage
- Throws:
LowlevelStorageException
retrieveDatastream
public java.io.InputStream retrieveDatastream(java.lang.String pid)
throws LowlevelStorageException
- Specified by:
retrieveDatastream in interface ILowlevelStorage
- Returns:
- bytestream containing datastream
- Throws:
LowlevelStorageException
removeDatastream
public void removeDatastream(java.lang.String pid)
throws LowlevelStorageException
- Specified by:
removeDatastream in interface ILowlevelStorage
- Throws:
LowlevelStorageException
rebuildDatastream
public void rebuildDatastream()
throws LowlevelStorageException
- Specified by:
rebuildDatastream in interface ILowlevelStorage
- Throws:
LowlevelStorageException
auditDatastream
public void auditDatastream()
throws LowlevelStorageException
- Specified by:
auditDatastream in interface ILowlevelStorage
- Throws:
LowlevelStorageException