Skip to content
Snippets Groups Projects
Commit c6634af2 authored by jakubs's avatar jakubs
Browse files

SP-146 BIS-102 make experiments and materials mutable

SVN: 26296
parent 820f52d9
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,8 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements ...@@ -93,7 +93,8 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements
{ {
try try
{ {
featureDefinitions = CsvFeatureVectorParser.parse(featureVectorFileOrNull, properties); featureDefinitions =
CsvFeatureVectorParser.parse(featureVectorFileOrNull, properties);
} catch (IOException ex) } catch (IOException ex)
{ {
throw CheckedExceptionTunnel.wrapIfNecessary(ex); throw CheckedExceptionTunnel.wrapIfNecessary(ex);
...@@ -180,6 +181,12 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements ...@@ -180,6 +181,12 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements
return transaction.getExperimentForUpdate(experimentIdentifierString); return transaction.getExperimentForUpdate(experimentIdentifierString);
} }
@Override
public IExperimentUpdatable makeExperimentMutable(IExperimentImmutable experiment)
{
return transaction.makeExperimentMutable(experiment);
}
@Override @Override
public IExperiment createNewExperiment(String experimentIdentifierString, public IExperiment createNewExperiment(String experimentIdentifierString,
String experimentTypeCode) String experimentTypeCode)
...@@ -223,6 +230,12 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements ...@@ -223,6 +230,12 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements
return transaction.getMaterialForUpdate(materialCode, materialType); return transaction.getMaterialForUpdate(materialCode, materialType);
} }
@Override
public IMaterial makeMaterialMutable(IMaterialImmutable material)
{
return transaction.makeMaterialMutable(material);
}
@Override @Override
public IMaterial createNewMaterial(String materialCode, String materialType) public IMaterial createNewMaterial(String materialCode, String materialType)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment