fedora.server.storage
Class SimpleBMechReader

java.lang.Object
  extended byfedora.server.StdoutLogging
      extended byfedora.server.storage.SimpleDOReader
          extended byfedora.server.storage.SimpleServiceAwareReader
              extended byfedora.server.storage.SimpleBMechReader
All Implemented Interfaces:
BMechReader, DOReader, Logging

public class SimpleBMechReader
extends SimpleServiceAwareReader
implements BMechReader

Title: SimpleBMechReader.java

Description:

Version:
$Id: SimpleBMechReader.java,v 1.18 2005/04/21 13:08:40 rlw Exp $
Author:
cwilper@cs.cornell.edu

Field Summary
 
Fields inherited from class fedora.server.storage.SimpleDOReader
m_obj
 
Fields inherited from class fedora.server.StdoutLogging
CONFIG, FINE, FINER, FINEST, INFO, SEVERE, WARNING
 
Constructor Summary
SimpleBMechReader(Context context, RepositoryReader repoReader, fedora.server.storage.translation.DOTranslator translator, java.lang.String exportFormat, java.lang.String storageFormat, java.lang.String encoding, java.io.InputStream serializedObject, Logging logTarget)
           
 
Method Summary
 BMechDSBindSpec getServiceDSInputSpec(java.util.Date versDateTime)
           
 MethodDefOperationBind[] getServiceMethodBindings(java.util.Date versDateTime)
           
 MethodParmDef[] getServiceMethodParms(java.lang.String methodName, java.util.Date versDateTime)
           
 MethodDef[] getServiceMethods(java.util.Date versDateTime)
           
 java.io.InputStream getServiceMethodsXML(java.util.Date versDateTime)
           
 
Methods inherited from class fedora.server.storage.SimpleServiceAwareReader
getDSInputSpecDatastream, getMethodMapDatastream, getWSDLDatastream
 
Methods inherited from class fedora.server.storage.SimpleDOReader
ExportObject, getAuditRecords, GetBehaviorDefs, getContentModelId, getCreateDate, GetDatastream, getDatastream, GetDatastreams, getDatastreamVersions, getDisseminationBindingInfo, GetDisseminator, GetDisseminators, getDisseminatorVersions, GetDSBindingMaps, getFedoraObjectType, getLastModDate, getObjectHistory, GetObjectLabel, getObjectMethodParms, GetObjectPID, GetObjectState, GetObjectXML, getOwnerId, getWhenString, ListDatastreamIDs, ListDisseminatorIDs, listMethods, listMethods
 
Methods inherited from class fedora.server.StdoutLogging
logConfig, logFine, logFiner, logFinest, loggingConfig, loggingFine, loggingFiner, loggingFinest, loggingInfo, loggingSevere, loggingWarning, logInfo, logSevere, logWarning, setLogLevel
 
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, GetBehaviorDefs, getContentModelId, getCreateDate, GetDatastream, getDatastream, GetDatastreams, getDatastreamVersions, getDisseminationBindingInfo, GetDisseminator, GetDisseminators, getDisseminatorVersions, GetDSBindingMaps, getFedoraObjectType, getLastModDate, getObjectHistory, GetObjectLabel, getObjectMethodParms, GetObjectPID, GetObjectState, GetObjectXML, getOwnerId, ListDatastreamIDs, ListDisseminatorIDs, listMethods, listMethods
 

Constructor Detail

SimpleBMechReader

public SimpleBMechReader(Context context,
                         RepositoryReader repoReader,
                         fedora.server.storage.translation.DOTranslator translator,
                         java.lang.String exportFormat,
                         java.lang.String storageFormat,
                         java.lang.String encoding,
                         java.io.InputStream serializedObject,
                         Logging logTarget)
                  throws ObjectIntegrityException,
                         StreamIOException,
                         UnsupportedTranslationException,
                         ServerException
Method Detail

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