Class BundlingService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.bundler.rs2.action.BundlingService
@RestController
@RequestMapping("bundler/r2/bundling/actions")
@Resource(logging=true)
public class BundlingService
extends PrivateService
Service to manage Bundling Events.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> Automatically create a collection of bundles.org.springframework.http.ResponseEntity<Void> Create a new bundle.org.springframework.http.ResponseEntity<Void> Process the required rules in order to create new bundles.org.springframework.http.ResponseEntity<Void> unbundle(@Valid DTOUnbundling unbundling) Unbundle the required bundle.
-
Constructor Details
-
BundlingService
public BundlingService()
-
-
Method Details
-
automaticBundling
@PostMapping(value="/automaticbundling", produces="application/json") public org.springframework.http.ResponseEntity<Void> automaticBundling() throws DAValidateException, DAExceptionAutomatically create a collection of bundles.AutomaticBundlingEvent- Returns:
- the standard response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
createBundle
@PostMapping(value="/createbundle", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> createBundle(@NotNull @Valid @RequestBody @NotNull @Valid DTOBundling dto) throws DAValidateException, DAException Create a new bundle.BundlingEvent- Parameters:
dto- theDTOUnbundling- Returns:
- the standard response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
unbundle
@PostMapping(value="/unbundling", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> unbundle(@RequestBody @Valid @Valid DTOUnbundling unbundling) throws DAValidateException, DAException Unbundle the required bundle.UnbundlingEvent- Parameters:
unbundling- theDTOUnbundlingto unbundle- Returns:
- the standard response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
processRule
@PostMapping(value="/processrule", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> processRule(@NotNull @Valid @RequestBody @NotNull @Valid DTOBundling dto) throws DAValidateException, DAException Process the required rules in order to create new bundles.BundlingEvent- Parameters:
dto- theDTOBundling- Returns:
- the standard response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-