fedora.server.storage
Class SimpleBMechReader
java.lang.Object
fedora.server.StdoutLogging
fedora.server.storage.SimpleDOReader
fedora.server.storage.SimpleServiceAwareReader
fedora.server.storage.SimpleBMechReader
- All Implemented Interfaces:
- BMechReader, DOReader, Logging
- public class SimpleBMechReader
- extends SimpleServiceAwareReader
- implements BMechReader
Title: SimpleBMechReader.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: SimpleBMechReader.java,v 1.17 2005/01/11 20:06:07 cwilper Exp $
- Author:
- cwilper@cs.cornell.edu
|
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)
|
| 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 |
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
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