org.fcrepo.server.storage
Class SimpleServiceDefinitionReader
java.lang.Object
org.fcrepo.server.storage.SimpleDOReader
org.fcrepo.server.storage.SimpleServiceAwareReader
org.fcrepo.server.storage.SimpleServiceDefinitionReader
- All Implemented Interfaces:
- DOReader, ServiceDefinitionReader
public class SimpleServiceDefinitionReader
- extends SimpleServiceAwareReader
- implements ServiceDefinitionReader
A Service Definition Reader based on a DigitalObject.
- Author:
- Chris Wilper
|
Constructor Summary |
SimpleServiceDefinitionReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String encoding,
DigitalObject obj)
Alternate constructor for when a DigitalObject is already available for
some reason. |
SimpleServiceDefinitionReader(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 |
SimpleServiceDefinitionReader
public SimpleServiceDefinitionReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject)
throws ObjectIntegrityException,
StreamIOException,
UnsupportedTranslationException,
ServerException
- Throws:
ObjectIntegrityException
StreamIOException
UnsupportedTranslationException
ServerException
SimpleServiceDefinitionReader
public SimpleServiceDefinitionReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String encoding,
DigitalObject obj)
- Alternate constructor for when a DigitalObject is already available for
some reason.
getAbstractMethods
public MethodDef[] getAbstractMethods(Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException,
RepositoryConfigurationException,
GeneralException
- Specified by:
getAbstractMethods in interface ServiceDefinitionReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
RepositoryConfigurationException
GeneralException
getAbstractMethodsXML
public InputStream getAbstractMethodsXML(Date versDateTime)
throws DatastreamNotFoundException,
ObjectIntegrityException
- Specified by:
getAbstractMethodsXML in interface ServiceDefinitionReader
- Throws:
DatastreamNotFoundException
ObjectIntegrityException
Copyright © 2012 DuraSpace. All Rights Reserved.