|
||||||||||
| 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[] |
GetBehaviorDefs(java.util.Date versDateTime)
Gets PIDs of Behavior Definitions to which object subscribes. |
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. |
DisseminationBindingInfo[] |
getDisseminationBindingInfo(java.lang.String bDefPID,
java.lang.String methodName,
java.util.Date versDateTime)
Gets the dissemination binding info necessary to perform a particular dissemination. |
Disseminator |
GetDisseminator(java.lang.String disseminatorID,
java.util.Date versDateTime)
Same as getDatastream, but for disseminators. |
Disseminator[] |
GetDisseminators(java.util.Date versDateTime,
java.lang.String state)
Same as getDatastreams, but for disseminators. |
java.util.Date[] |
getDisseminatorVersions(java.lang.String dissID)
Gets the creation dates of all versions of a particular disseminator, in no particular order. |
DSBindingMapAugmented[] |
GetDSBindingMaps(java.util.Date versDateTime)
Gets datastream binding map. |
java.lang.String |
getFedoraObjectType()
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. |
MethodParmDef[] |
getObjectMethodParms(java.lang.String bDefPID,
java.lang.String methodName,
java.util.Date versDateTime)
Gets list of method parameter definitions that are available on a particular method. |
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. |
java.lang.String[] |
ListDatastreamIDs(java.lang.String state)
Gets a list of Datastream identifiers for all Datastreams in the digital object. |
java.lang.String[] |
ListDisseminatorIDs(java.lang.String state)
Same as listDatastreamIds, but for disseminators. |
ObjectMethodsDef[] |
listMethods(java.util.Date versDateTime)
Gets list of ALL method definitions that are available on a particular digital object. |
MethodDef[] |
listMethods(java.lang.String bDefPID,
java.util.Date versDateTime)
Gets list of method definitions that are available on a particular Disseminator. |
| Method Detail |
|---|
java.lang.String getFedoraObjectType()
throws ServerException
ServerException - If any type of error occurred fulfilling the
request.
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 (e.g., foxml1.0, metslikefedora1)
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.
java.util.Date[] getDisseminatorVersions(java.lang.String dissID)
throws ServerException
dissID - The disseminator 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.
Disseminator[] GetDisseminators(java.util.Date versDateTime,
java.lang.String state)
throws ServerException
versDateTime - The date-time stamp to get appropriate Disseminator versionstate - The state of the disseminator.
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String[] ListDisseminatorIDs(java.lang.String state)
throws ServerException
state - The state of the Disseminators to be listed.
ServerException - If any type of error occurred fulfilling the
request.
Disseminator GetDisseminator(java.lang.String disseminatorID,
java.util.Date versDateTime)
throws ServerException
disseminatorID - The Disseminator identifierversDateTime - The date-time stamp to get appropriate Disseminator version
ServerException - If any type of error occurred fulfilling the
request.
java.lang.String[] GetBehaviorDefs(java.util.Date versDateTime)
throws ServerException
versDateTime - The date-time stamp to get appropriate version
ServerException - If any type of error occurred fulfilling the
request.
MethodDef[] listMethods(java.lang.String bDefPID,
java.util.Date versDateTime)
throws ServerException
bDefPID - The PID of a Behavior Definition to which the object
subscribes. If this is the special bootstrap bdef,
this method returns null.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.
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.
MethodParmDef[] getObjectMethodParms(java.lang.String bDefPID,
java.lang.String methodName,
java.util.Date versDateTime)
throws ServerException
bDefPID - The PID of a Behavior Definition to which the object
subscribes. If this is the special bootstrap bdef,
this method returns null.methodName - The name of the method.versDateTime - The date-time stamp to get appropriate version
ServerException - If any type of error occurred fulfilling the
request.
DSBindingMapAugmented[] GetDSBindingMaps(java.util.Date versDateTime)
throws ServerException
versDateTime - versioning datetime stamp
ServerException - If anything went wrong
DisseminationBindingInfo[] getDisseminationBindingInfo(java.lang.String bDefPID,
java.lang.String methodName,
java.util.Date versDateTime)
throws ServerException
bDefPID - the behavior definition pidmethodName - the method nameversDateTime - versioning datetime stamp
ServerException - If anything went wrong
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||