|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DOReader
Title: DOReader.java
Description: Interface for reading Fedora digital objects from within the storage sub system.
| Method Summary | |
|---|---|
java.io.InputStream |
ExportObject(java.lang.String format,
java.lang.String exportContext)
Gets the content of the entire digital object as XML, with public URIs as references to managed content datastreams under the custodianship of the repository. |
java.util.List<AuditRecord> |
getAuditRecords()
Gets the entire list of audit records for the object. |
java.lang.String |
getContentModelId()
Gets the content model of the object. |
java.util.Date |
getCreateDate()
Gets the date of creation of this object. |
Datastream |
GetDatastream(java.lang.String datastreamID,
java.util.Date versDateTime)
Gets a particular Datastream in the digital object. |
Datastream |
getDatastream(java.lang.String datastreamID,
java.lang.String versionID)
Gets a particular datastream in the digital object. |
Datastream[] |
GetDatastreams(java.util.Date versDateTime,
java.lang.String state)
Gets all datastreams as of a certain date and in a certain state. |
java.util.Date[] |
getDatastreamVersions(java.lang.String datastreamID)
Gets the creation dates of all versions of a particular datastream, in no particular order. |
java.lang.String |
getFedoraObjectTypes()
Gets the type of fedora object (O=FEDORA_OBJECT, D=FEDORA_BDEF_OBJECT, M=FEDORA_BMECH_OBJECT) this is a handle on. |
java.util.Date |
getLastModDate()
Gets the date of the last modification of this object. |
java.lang.String[] |
getObjectHistory(java.lang.String PID)
Gets the change history of an object by returning a list of timestamps that correspond to modification dates of components. |
java.lang.String |
GetObjectLabel()
Gets the label of the digital object. |
java.lang.String |
GetObjectPID()
Gets the PID of the digital object. |
java.lang.String |
GetObjectState()
Gets the state of the digital object. |
java.io.InputStream |
GetObjectXML()
Gets the content of the entire digital object as XML. |
java.lang.String |
getOwnerId()
Gets the userid of the user who owns the objects. |
RelationshipTuple[] |
getRelationships(java.lang.String relationship)
|
boolean |
isFedoraObjectType(int type)
|
java.lang.String[] |
ListDatastreamIDs(java.lang.String state)
Gets a list of Datastream identifiers for all Datastreams in the digital object. |
ObjectMethodsDef[] |
listMethods(java.util.Date versDateTime)
Gets list of ALL method definitions that are available on a particular digital object. |
| Method Detail |
|---|
java.lang.String getFedoraObjectTypes()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
boolean isFedoraObjectType(int type)
throws ServerException
ServerException
java.lang.String getContentModelId()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.util.Date getCreateDate()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.util.Date getLastModDate()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String getOwnerId()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.util.List<AuditRecord> getAuditRecords()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.io.InputStream GetObjectXML()
throws ServerException
ServerException - If there object could not be found or there was
was a failure in accessing the object for any reason.
java.io.InputStream ExportObject(java.lang.String format,
java.lang.String exportContext)
throws ServerException
format - The XML format to export.
ServerException - If there object could not be found or there was
was a failure in accessing the object for any reason.
java.lang.String GetObjectPID()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String GetObjectLabel()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String GetObjectState()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String[] ListDatastreamIDs(java.lang.String state)
throws ServerException
state - The state of the Datastreams to be listed.
ServerException - If any type of error occurred fulfilling the
request.
java.util.Date[] getDatastreamVersions(java.lang.String datastreamID)
throws ServerException
datastreamID - The datastream identifier
ServerException - If any type of error occurred fulfilling the
request.
Datastream[] GetDatastreams(java.util.Date versDateTime,
java.lang.String state)
throws ServerException
versDateTime - The date-time stamp to get appropriate Datastream versionsstate - The state, null for any.
ServerException - If any type of error occurred fulfilling the
request.
Datastream GetDatastream(java.lang.String datastreamID,
java.util.Date versDateTime)
throws ServerException
datastreamID - The Datastream identifierversDateTime - The date-time stamp to get appropriate Datastream version
ServerException - If any type of error occurred fulfilling the
request.
Datastream getDatastream(java.lang.String datastreamID,
java.lang.String versionID)
throws ServerException
datastreamID - The datastream identifierversionID - The identifier of the particular version
ServerException - If any time of error occurred fulfilling the
request.
ObjectMethodsDef[] listMethods(java.util.Date versDateTime)
throws ServerException
versDateTime - The date-time stamp to get appropriate version.
If this is given as null, the most recent version is used.
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String[] getObjectHistory(java.lang.String PID)
throws ServerException
Gets the change history of an object by returning a list of timestamps that correspond to modification dates of components. This currently includes changes to datastreams and disseminators.
PID - The persistent identifier of the digitla object.
ServerException - If any type of error occurred fulfilling the
request.
RelationshipTuple[] getRelationships(java.lang.String relationship)
throws ServerException
ServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||