|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DOManager
Title: DOManager.java
Description: A RepositoryReader that provides facilities for creating and modifying objects within the repository, as well as a query facility.
| Method Summary | |
|---|---|
FieldSearchResult |
findObjects(Context context,
java.lang.String[] resultFields,
int maxResults,
FieldSearchQuery query)
|
DOWriter |
getIngestWriter(boolean cachedObjectRequired,
Context context,
java.io.InputStream in,
java.lang.String format,
java.lang.String encoding,
boolean newPid)
Creates a copy of the digital object given by the InputStream, with either a new PID or the PID indicated by the InputStream. |
java.lang.String[] |
getNextPID(int numPIDs,
java.lang.String namespace)
|
java.lang.String |
getRepositoryHash()
Get a "hash" of the repository. |
DOWriter |
getWriter(boolean cachedObjectRequired,
Context context,
java.lang.String pid)
Gets a DOWriter for an existing digital object. |
void |
releaseWriter(DOWriter writer)
Relinquishes control of a DOWriter back to the DOManager. |
void |
reservePIDs(java.lang.String[] pidList)
Reserve a series of PIDs so that they are never used for subsequent PID generations. |
FieldSearchResult |
resumeFindObjects(Context context,
java.lang.String sessionToken)
|
| Methods inherited from interface fedora.server.storage.RepositoryReader |
|---|
getBDefReader, getBMechReader, getReader, listObjectPIDs |
| Method Detail |
|---|
void releaseWriter(DOWriter writer)
throws ServerException
writer - an instance of a digital object writer.
ServerException - if an error occurs in obtaining a writer.
DOWriter getWriter(boolean cachedObjectRequired,
Context context,
java.lang.String pid)
throws ServerException
context - The context of this request.pid - The PID of the object.
ServerException - If anything went wrong.
DOWriter getIngestWriter(boolean cachedObjectRequired,
Context context,
java.io.InputStream in,
java.lang.String format,
java.lang.String encoding,
boolean newPid)
throws ServerException
context - The context of this request.in - A serialization of the digital object.format - The format of the serialization.encoding - The character encoding.newPid - Whether a new PID should be generated or the one indicated
by the InputStream should be used.
ServerException - If anything went wrong.
FieldSearchResult findObjects(Context context,
java.lang.String[] resultFields,
int maxResults,
FieldSearchQuery query)
throws ServerException
ServerException
FieldSearchResult resumeFindObjects(Context context,
java.lang.String sessionToken)
throws ServerException
ServerException
java.lang.String[] getNextPID(int numPIDs,
java.lang.String namespace)
throws ServerException
ServerException
void reservePIDs(java.lang.String[] pidList)
throws ServerException
ServerException
java.lang.String getRepositoryHash()
throws ServerException
ServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||