org.fcrepo.server.storage
Class SimpleServiceDeploymentReader
java.lang.Object
org.fcrepo.server.storage.SimpleDOReader
org.fcrepo.server.storage.SimpleServiceAwareReader
org.fcrepo.server.storage.SimpleServiceDeploymentReader
- All Implemented Interfaces:
- DOReader, ServiceDeploymentReader
public class SimpleServiceDeploymentReader
- extends SimpleServiceAwareReader
- implements ServiceDeploymentReader
A ServiceDeploymentReader based on a DigitalObject.
- Author:
- Chris Wilper
|
Constructor Summary |
SimpleServiceDeploymentReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String encoding,
DigitalObject obj)
Alternate constructor for when a DigitalObject is already available for
some reason. |
SimpleServiceDeploymentReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject)
|
| 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 |
| Methods inherited from interface org.fcrepo.server.storage.DOReader |
Export, ExportObject, getAuditRecords, getContentModels, getCreateDate, GetDatastream, getDatastream, GetDatastreams, getDatastreamVersions, getLastModDate, getObject, getObjectHistory, GetObjectLabel, GetObjectPID, GetObjectState, GetObjectXML, getOwnerId, getRelationships, getRelationships, getRelationships, hasContentModel, hasRelationship, hasRelationship, ListDatastreamIDs, listMethods |
SimpleServiceDeploymentReader
public SimpleServiceDeploymentReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject)
throws ObjectIntegrityException,
StreamIOException,
UnsupportedTranslationException,
ServerException
- Throws:
ObjectIntegrityException
StreamIOException
UnsupportedTranslationException
ServerException
SimpleServiceDeploymentReader
public SimpleServiceDeploymentReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String encoding,
DigitalObject obj)
- Alternate constructor for when a DigitalObject is already available for
some reason.
getServiceMethods
public MethodDef[] getServiceMethods(Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getServiceMethods in interface ServiceDeploymentReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getServiceMethodParms
public MethodParmDef[] getServiceMethodParms(String methodName,
Date versDateTime)
throws MethodNotFoundException,
ServerException
- Specified by:
getServiceMethodParms in interface ServiceDeploymentReader
- Throws:
MethodNotFoundException
ServerException
getServiceMethodBindings
public MethodDefOperationBind[] getServiceMethodBindings(Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getServiceMethodBindings in interface ServiceDeploymentReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getServiceDSInputSpec
public DeploymentDSBindSpec getServiceDSInputSpec(Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getServiceDSInputSpec in interface ServiceDeploymentReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getServiceMethodsXML
public InputStream getServiceMethodsXML(Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException
- Specified by:
getServiceMethodsXML in interface ServiceDeploymentReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
Copyright © 2011 DuraSpace. All Rights Reserved.