public abstract class MainStorageWithoutArchiveReadOnly extends MainStorageWithoutArchive
Constructor and Description |
---|
MainStorageWithoutArchiveReadOnly() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String location,
String createId,
String modId)
This is a dummy implementation
|
boolean |
exists(String location)
This is a dummy implementation
|
String |
put(DsInfo dsInfo,
String name,
InputStream inputStream)
This is a dummy implementation
|
delete, exists, getDatafilesToArchive, getDatasetsToArchive, put
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getPath
public void delete(String location, String createId, String modId) throws IOException
location
- location of the data file to be deletedcreateId
- the icat user name of the creator of this datafile. This is provided so that the
implementation can choose whether or not to trust the ICAT datafile object which
holds this location field.modId
- the icat user name of the modifier of this datafile. This is provided so that the
implementation can choose whether or not to trust the ICAT datafile object which
holds this location field.IOException
public boolean exists(String location) throws IOException
location
- the value from datafile.locationIOException
public String put(DsInfo dsInfo, String name, InputStream inputStream) throws IOException
dsInfo
- describes the data set to which the data file should be addedname
- name of file within data setinputStream
- stream of data to storeIOException
Copyright © 2016 The ICAT Collaboration. All rights reserved.