public interface StorageBackend
Modifier and Type | Method and Description |
---|---|
boolean |
exists(String modelId,
String versionId)
Checks if the specific model exists in the backend storage
|
InputStream |
getModel(String modelId,
String versionId)
Gets a model from the backend storage
|
void |
setModel(String modelId,
String versionId,
InputStream modelData)
Puts a model into the backend storage
|
InputStream getModel(String modelId, String versionId) throws UnknownModelVersionException, UnknownModelException
modelId
- versionId
- UnknownModelVersionException,
- UnknownModelExceptionUnknownModelVersionException
UnknownModelException
void setModel(String modelId, String versionId, InputStream modelData) throws ModelAlreadyExistsException, IOException
modelId
- versionId
- modelData
- as InputStreamModelAlreadyExistsException
IOException
Copyright © 2013 SEMS (Simulation Experiment Management for Systems Biology). All rights reserved.