Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -144,6 +144,17 @@ public interface DistributionSetManagement
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_REPOSITORY)
|
||||
void lock(final long id);
|
||||
|
||||
/**
|
||||
* Unlocks a distribution set.<br/>
|
||||
* Use it with extreme care! In general once distribution set is locked
|
||||
* it shall not be unlocked. Note that it could have been assigned / deployed to targets.
|
||||
*
|
||||
* @param id the distribution set id
|
||||
* @throws EntityNotFoundException if distribution set with given ID does not exist
|
||||
*/
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_REPOSITORY)
|
||||
void unlock(final long id);
|
||||
|
||||
/**
|
||||
* Retrieves the distribution set for a given action.
|
||||
*
|
||||
|
||||
@@ -336,6 +336,17 @@ public interface SoftwareModuleManagement
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_REPOSITORY)
|
||||
void lock(long id);
|
||||
|
||||
/**
|
||||
* Unlocks a software module.<br/>
|
||||
* Use it with extreme care! In general once software module is locked
|
||||
* it shall not be unlocked. Note that it could have been assigned / deployed to targets.
|
||||
*
|
||||
* @param id the software module id
|
||||
* @throws EntityNotFoundException if software module with given ID does not exist
|
||||
*/
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_REPOSITORY)
|
||||
void unlock(long id);
|
||||
|
||||
/**
|
||||
* Updates a distribution set meta data value if corresponding entry exists.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user