Class BundleLockingService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.bundler.rs2.bundle.action.BundleLockingService
@RestController
@RequestMapping("bundler/r2/bundles")
@Resource(logging=true)
public class BundleLockingService
extends PrivateService
Service to manage Locking and Unlocking Events.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Details
-
BundleLockingService
public BundleLockingService()
-
-
Method Details
-
lockBundle
@PostMapping(value="/actions/lock", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> lockBundle(@NotNull @Valid @RequestBody @NotNull @Valid DTOLock dto) throws DAValidateException, DAException Action to lock a bundle.BundleLockEvent- Parameters:
dto- theDTOLock- Returns:
- the response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
unlockBundle
@PostMapping(value="/actions/unlock", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> unlockBundle(@NotNull @Valid @RequestBody @NotNull @Valid DTOLock dto) throws DAValidateException, DAException Action to unlock bundle.BundleUnlockEvent- Parameters:
dto- theDTOLock- Returns:
- the response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-