public class Store extends Object
| Constructor and Description |
|---|
Store(Map<String,Object> configuration) |
| Modifier and Type | Method and Description |
|---|---|
long |
add(String pid,
InputStream content)
add to lowlevel store content of Fedora object not already in
lowlevel store
|
void |
audit()
compares a.
|
boolean |
exists(String pid) |
long |
getSize(String pid)
get size of datastream
|
Iterator<String> |
list()
Gets the keys of all stored items.
|
void |
rebuild()
recreates path registry from OS files
|
void |
remove(String pid)
remove Fedora object from low-level store
|
long |
replace(String pid,
InputStream content)
replace into low-level store content of Fedora object already in
lowlevel store
|
InputStream |
retrieve(String pid)
get content of Fedora object from low-level store
|
public Store(Map<String,Object> configuration) throws LowlevelStorageException
LowlevelStorageExceptionpublic Iterator<String> list()
public void audit()
throws LowlevelStorageException
LowlevelStorageExceptionpublic void rebuild()
throws LowlevelStorageException
LowlevelStorageExceptionpublic final long add(String pid, InputStream content) throws LowlevelStorageException
LowlevelStorageExceptionpublic final long replace(String pid, InputStream content) throws LowlevelStorageException
LowlevelStorageExceptionpublic final InputStream retrieve(String pid) throws LowlevelStorageException
LowlevelStorageExceptionpublic final long getSize(String pid) throws LowlevelStorageException
LowlevelStorageExceptionpublic final void remove(String pid) throws LowlevelStorageException
LowlevelStorageExceptionpublic final boolean exists(String pid) throws LowlevelStorageException
LowlevelStorageExceptionCopyright © 2013 DuraSpace. All Rights Reserved.