org.fcrepo.server.storage
Class SimpleServiceAwareReader

java.lang.Object
  extended by org.fcrepo.server.storage.SimpleDOReader
      extended by org.fcrepo.server.storage.SimpleServiceAwareReader
All Implemented Interfaces:
DOReader
Direct Known Subclasses:
SimpleServiceDefinitionReader, SimpleServiceDeploymentReader

public class SimpleServiceAwareReader
extends SimpleDOReader

DOReader that knows about WSDL, method maps, and DS input specs.

Author:
Chris Wilper

Field Summary
 
Fields inherited from class org.fcrepo.server.storage.SimpleDOReader
m_obj
 
Constructor Summary
SimpleServiceAwareReader(Context context, RepositoryReader repoReader, DOTranslator translator, String exportFormat, String encoding, DigitalObject obj)
          Alternate constructor for when a DigitalObject is already available for some reason.
SimpleServiceAwareReader(Context context, RepositoryReader repoReader, DOTranslator translator, String exportFormat, String storageFormat, String encoding, InputStream serializedObject)
           
 
Method Summary
protected  DatastreamXMLMetadata getDSInputSpecDatastream(Date versDateTime)
           
protected  DatastreamXMLMetadata getMethodMapDatastream(Date versDateTime)
           
protected  DatastreamXMLMetadata getWSDLDatastream(Date versDateTime)
           
 
Methods inherited from class org.fcrepo.server.storage.SimpleDOReader
Export, ExportObject, getAuditRecords, getContentModels, getCreateDate, GetDatastream, getDatastream, GetDatastreams, getDatastreamVersions, getLastModDate, getObject, getObjectHistory, GetObjectLabel, GetObjectPID, GetObjectState, GetObjectXML, getOwnerId, getRelationships, getRelationships, getRelationships, getWhenString, hasContentModel, hasRelationship, hasRelationship, ListDatastreamIDs, listMethods
 
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,
                                DOTranslator translator,
                                String exportFormat,
                                String storageFormat,
                                String encoding,
                                InputStream serializedObject)
                         throws ObjectIntegrityException,
                                StreamIOException,
                                UnsupportedTranslationException,
                                ServerException
Throws:
ObjectIntegrityException
StreamIOException
UnsupportedTranslationException
ServerException

SimpleServiceAwareReader

public SimpleServiceAwareReader(Context context,
                                RepositoryReader repoReader,
                                DOTranslator translator,
                                String exportFormat,
                                String encoding,
                                DigitalObject obj)
Alternate constructor for when a DigitalObject is already available for some reason.

Method Detail

getWSDLDatastream

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

getMethodMapDatastream

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

getDSInputSpecDatastream

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


Copyright © 2012 DuraSpace. All Rights Reserved.