fedora.server.storage
Class SimpleBDefReader

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

public class SimpleBDefReader
extends SimpleServiceAwareReader
implements BDefReader

Title: SimpleBDefReader.java

Description:

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: SimpleBDefReader.java,v 1.15 2005/01/11 20:06:07 cwilper 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
SimpleBDefReader(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
 MethodDef[] getAbstractMethods(java.util.Date versDateTime)
           
 java.io.InputStream getAbstractMethodsXML(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

SimpleBDefReader

public SimpleBDefReader(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

getAbstractMethods

public MethodDef[] getAbstractMethods(java.util.Date versDateTime)
                               throws DatastreamNotFoundException,
                                      ObjectIntegrityException,
                                      RepositoryConfigurationException,
                                      GeneralException
Specified by:
getAbstractMethods in interface BDefReader
Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException

getAbstractMethodsXML

public java.io.InputStream getAbstractMethodsXML(java.util.Date versDateTime)
                                          throws DatastreamNotFoundException,
                                                 ObjectIntegrityException
Specified by:
getAbstractMethodsXML in interface BDefReader
Throws:
DatastreamNotFoundException
ObjectIntegrityException