fedora.server.storage
Class SimpleBMechReader
java.lang.Object
fedora.server.storage.SimpleDOReader
fedora.server.storage.SimpleServiceAwareReader
fedora.server.storage.SimpleBMechReader
- All Implemented Interfaces:
- BMechReader, DOReader
public class SimpleBMechReader
- extends SimpleServiceAwareReader
- implements BMechReader
A BMechReader based on a DigitalObject.
- Version:
- $Id: SimpleBMechReader.java 5999 2007-04-05 17:23:10Z cwilper $
- Author:
- cwilper@cs.cornell.edu
|
Constructor Summary |
SimpleBMechReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
java.lang.String exportFormat,
java.lang.String encoding,
DigitalObject obj)
Alternate constructor for when a DigitalObject is already
available for some reason. |
SimpleBMechReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
java.lang.String exportFormat,
java.lang.String storageFormat,
java.lang.String encoding,
java.io.InputStream serializedObject)
|
| Methods inherited from class fedora.server.storage.SimpleDOReader |
ExportObject, filterParms, getAuditRecords, getContentModelId, getCreateDate, GetDatastream, getDatastream, GetDatastreams, getDatastreamVersions, getFedoraObjectTypes, getLastModDate, getObjectHistory, GetObjectLabel, GetObjectPID, GetObjectState, GetObjectXML, getOwnerId, getRelationships, getWhenString, isFedoraObjectType, ListDatastreamIDs, listMethods, listMethods |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fedora.server.storage.DOReader |
ExportObject, getAuditRecords, getContentModelId, getCreateDate, GetDatastream, getDatastream, GetDatastreams, getDatastreamVersions, getFedoraObjectTypes, getLastModDate, getObjectHistory, GetObjectLabel, GetObjectPID, GetObjectState, GetObjectXML, getOwnerId, getRelationships, isFedoraObjectType, ListDatastreamIDs, listMethods |
SimpleBMechReader
public SimpleBMechReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
java.lang.String exportFormat,
java.lang.String storageFormat,
java.lang.String encoding,
java.io.InputStream serializedObject)
throws ObjectIntegrityException,
StreamIOException,
UnsupportedTranslationException,
ServerException
- Throws:
ObjectIntegrityException
StreamIOException
UnsupportedTranslationException
ServerException
SimpleBMechReader
public SimpleBMechReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
java.lang.String exportFormat,
java.lang.String encoding,
DigitalObject obj)
- Alternate constructor for when a DigitalObject is already
available for some reason.
getServiceMethods
public MethodDef[] getServiceMethods(java.util.Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getServiceMethods in interface BMechReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getServiceMethodParms
public MethodParmDef[] getServiceMethodParms(java.lang.String methodName,
java.util.Date versDateTime)
throws MethodNotFoundException,
ServerException
- Specified by:
getServiceMethodParms in interface BMechReader
- Throws:
MethodNotFoundException
ServerException
getServiceMethodBindings
public MethodDefOperationBind[] getServiceMethodBindings(java.util.Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getServiceMethodBindings in interface BMechReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getServiceDSInputSpec
public BMechDSBindSpec getServiceDSInputSpec(java.util.Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getServiceDSInputSpec in interface BMechReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getServiceMethodsXML
public java.io.InputStream getServiceMethodsXML(java.util.Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException
- Specified by:
getServiceMethodsXML in interface BMechReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException