Skip to content
Snippets Groups Projects
Commit ff2c4bd0 authored by buczekp's avatar buczekp
Browse files

[LMS-1507] fixed regression test

SVN: 15681
parent 22c0bb62
No related branches found
No related tags found
No related merge requests found
...@@ -114,20 +114,21 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -114,20 +114,21 @@ public interface IETLLIMSService extends IServer, ISessionProvider
throws UserFailureException; throws UserFailureException;
/** /**
* Returns the ExperimentType together with assigned property types for specified experiment type code. * Returns the ExperimentType together with assigned property types for specified experiment
* type code.
*/ */
@Transactional(readOnly = true) @Transactional(readOnly = true)
@RolesAllowed(RoleSet.ETL_SERVER) @RolesAllowed(RoleSet.ETL_SERVER)
public ExperimentType getExperimentType(String sessionToken, String experimentTypeCode) public ExperimentType getExperimentType(String sessionToken, String experimentTypeCode)
throws UserFailureException; throws UserFailureException;
/** /**
* Returns the SampleType together with assigned property types for specified sample type code. * Returns the SampleType together with assigned property types for specified sample type code.
*/ */
@Transactional(readOnly = true) @Transactional(readOnly = true)
@RolesAllowed(RoleSet.ETL_SERVER) @RolesAllowed(RoleSet.ETL_SERVER)
public SampleType getSampleType(String sessionToken, String sampleTypeCode) public SampleType getSampleType(String sessionToken, String sampleTypeCode)
throws UserFailureException; throws UserFailureException;
/** /**
* Returns the data set type together with assigned property types for specified data set type * Returns the data set type together with assigned property types for specified data set type
...@@ -149,7 +150,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -149,7 +150,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider
final String sessionToken, final String sessionToken,
@AuthorizationGuard(guardClass = ExperimentTechIdPredicate.class) final TechId experimentID) @AuthorizationGuard(guardClass = ExperimentTechIdPredicate.class) final TechId experimentID)
throws UserFailureException; throws UserFailureException;
/** /**
* For given sample {@link TechId} returns the corresponding list of {@link ExternalData}. * For given sample {@link TechId} returns the corresponding list of {@link ExternalData}.
* *
...@@ -219,7 +220,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -219,7 +220,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider
@DatabaseUpdateModification(value = ObjectKind.SAMPLE) @DatabaseUpdateModification(value = ObjectKind.SAMPLE)
public void updateSample(String sessionToken, public void updateSample(String sessionToken,
@AuthorizationGuard(guardClass = SampleUpdatesPredicate.class) SampleUpdatesDTO updates); @AuthorizationGuard(guardClass = SampleUpdatesPredicate.class) SampleUpdatesDTO updates);
/** /**
* Registers the specified data connected to a sample. * Registers the specified data connected to a sample.
* *
...@@ -341,13 +342,13 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -341,13 +342,13 @@ public interface IETLLIMSService extends IServer, ISessionProvider
throws UserFailureException; throws UserFailureException;
/** /**
* Updates status of given data set. * Updates status of given data sets.
*/ */
@Transactional @Transactional
@RolesAllowed(RoleSet.ETL_SERVER) @RolesAllowed(RoleSet.ETL_SERVER)
@DatabaseUpdateModification(value = ObjectKind.DATA_SET) @DatabaseUpdateModification(value = ObjectKind.DATA_SET)
public void updateDataSetStatus(String sessionToken, public void updateDataSetStatuses(String sessionToken,
@AuthorizationGuard(guardClass = DataSetCodePredicate.class) String dataSetCode, @AuthorizationGuard(guardClass = DataSetCodePredicate.class) List<String> dataSetCodes,
final DataSetArchivingStatus newStatus) throws UserFailureException; final DataSetArchivingStatus newStatus) throws UserFailureException;
/** /**
......
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