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

LMS2767: Change the interface of the IETLLIMSService

SVN: 24430
parent 02816b1d
No related branches found
No related tags found
No related merge requests found
...@@ -774,4 +774,30 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -774,4 +774,30 @@ public interface IETLLIMSService extends IServer, ISessionProvider
@DatabaseUpdateModification(value = @DatabaseUpdateModification(value =
{ ObjectKind.DATA_SET }) { ObjectKind.DATA_SET })
public void setStorageConfirmed(String sessionToken, String dataSetCode); public void setStorageConfirmed(String sessionToken, String dataSetCode);
/**
* Adds the given dataset to post-registration queue.
*/
@Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_ETL_SERVER)
@DatabaseCreateOrDeleteModification(value =
{ ObjectKind.POSTREGISTRATION_QUEUE })
public void markDataSetForRegistration(String token, String dataSetCode);
/**
* Informs that the post-registration task for a given dataset was performed, and it should be
* removed from the post-registration queue.
*/
@Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_ETL_SERVER)
@DatabaseCreateOrDeleteModification(value =
{ ObjectKind.POSTREGISTRATION_QUEUE })
public void markSuccessfulPostRegistration(String token, String dataSetCode);
/**
* Gets the list of all datasets, which are in the post-registration queue.
*/
@Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_ETL_SERVER)
public List<ExternalData> listDataSetsForPostRegistration(String token, String dataStoreCode);
} }
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