|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfedora.server.storage.lowlevel.FileSystemLowlevelStorage
Title: FileSystemLowlevelStorage.java
Description:
| Method Summary | |
void |
add(java.lang.String pid,
java.io.InputStream content)
add to lowlevel store content of Fedora object not already in lowlevel store |
void |
audit()
compares a. path registry with OS files; and b. |
static ILowlevelStorage |
getDatastreamStore()
|
static ILowlevelStorage |
getObjectStore()
|
static ILowlevelStorage |
getPermanentStore()
Deprecated. keep in place temporarily, so that code using it doesn't break awaiting change |
static ILowlevelStorage |
getTempStore()
|
void |
rebuild()
recreates path registry from OS files |
void |
remove(java.lang.String pid)
remove Fedora object from low-level store |
void |
replace(java.lang.String pid,
java.io.InputStream content)
replace into low-level store content of Fedora object already in lowlevel store |
java.io.InputStream |
retrieve(java.lang.String pid)
get content of Fedora object from low-level store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final ILowlevelStorage getObjectStore()
public static final ILowlevelStorage getDatastreamStore()
public static final ILowlevelStorage getTempStore()
public static final ILowlevelStorage getPermanentStore()
public void audit()
throws LowlevelStorageException
audit in interface ILowlevelStorageLowlevelStorageException
public void rebuild()
throws LowlevelStorageException
rebuild in interface ILowlevelStorageLowlevelStorageException
public final void add(java.lang.String pid,
java.io.InputStream content)
throws LowlevelStorageException,
ObjectAlreadyInLowlevelStorageException
add in interface ILowlevelStorageLowlevelStorageException
ObjectAlreadyInLowlevelStorageException
public final void replace(java.lang.String pid,
java.io.InputStream content)
throws LowlevelStorageException,
ObjectNotInLowlevelStorageException
replace in interface ILowlevelStorageLowlevelStorageException
ObjectNotInLowlevelStorageException
public final java.io.InputStream retrieve(java.lang.String pid)
throws LowlevelStorageException,
ObjectNotInLowlevelStorageException
retrieve in interface ILowlevelStorageLowlevelStorageException
ObjectNotInLowlevelStorageException
public final void remove(java.lang.String pid)
throws LowlevelStorageException,
ObjectNotInLowlevelStorageException
remove in interface ILowlevelStorageLowlevelStorageException
ObjectNotInLowlevelStorageException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||