fedora.server.storage
Class SimpleServiceAwareReader

java.lang.Object
  extended byfedora.server.StdoutLogging
      extended byfedora.server.storage.SimpleDOReader
          extended byfedora.server.storage.SimpleServiceAwareReader
All Implemented Interfaces:
DOReader, Logging
Direct Known Subclasses:
SimpleBDefReader, SimpleBMechReader

public class SimpleServiceAwareReader
extends SimpleDOReader

Title: SimpleServiceAwareReader.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: SimpleServiceAwareReader.java,v 1.10 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
SimpleServiceAwareReader(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
protected  DatastreamXMLMetadata getDSInputSpecDatastream(java.util.Date versDateTime)
           
protected  DatastreamXMLMetadata getMethodMapDatastream(java.util.Date versDateTime)
           
protected  DatastreamXMLMetadata getWSDLDatastream(java.util.Date versDateTime)
           
 
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
 

Constructor Detail

SimpleServiceAwareReader

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

getWSDLDatastream

protected DatastreamXMLMetadata getWSDLDatastream(java.util.Date versDateTime)
                                           throws DatastreamNotFoundException,
                                                  ObjectIntegrityException
Throws:
DatastreamNotFoundException
ObjectIntegrityException

getMethodMapDatastream

protected DatastreamXMLMetadata getMethodMapDatastream(java.util.Date versDateTime)
                                                throws DatastreamNotFoundException,
                                                       ObjectIntegrityException
Throws:
DatastreamNotFoundException
ObjectIntegrityException

getDSInputSpecDatastream

protected DatastreamXMLMetadata getDSInputSpecDatastream(java.util.Date versDateTime)
                                                  throws DatastreamNotFoundException,
                                                         ObjectIntegrityException
Throws:
DatastreamNotFoundException
ObjectIntegrityException