Class DataCollectionTemplateWOCreationRuleService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.datacollection.rs2.rule.DataCollectionTemplateWOCreationRuleService
@RestController("dataCollectionTemplateWOCreationRuleServiceOld")
@RequestMapping("datacollection/r2/woCreationRule")
@Resource(logging=true)
@Deprecated(forRemoval=true,
since="22.0")
public class DataCollectionTemplateWOCreationRuleService
extends PrivateService
Deprecated, for removal: This API element is subject to removal in a future version.
Services to manage data template WO Creation Rules.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> Deprecated, for removal: This API element is subject to removal in a future version.Create a new data template WO Creation Rule.org.springframework.http.ResponseEntity<DTODataCollectionTemplateWOCreationRule> Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the required data template WO Creation Rule.org.springframework.http.ResponseEntity<PageResponse<DTODataCollectionTemplateWOCreationRule>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTODataCollectionTemplateWOCreationRuleSearchFilter filter) Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the all stored data template WO Creation Rules.org.springframework.http.ResponseEntity<Void> Deprecated, for removal: This API element is subject to removal in a future version.Modify the required data template WO Creation Rule.
-
Constructor Details
-
DataCollectionTemplateWOCreationRuleService
public DataCollectionTemplateWOCreationRuleService()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTODataCollectionTemplateWOCreationRule>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTODataCollectionTemplateWOCreationRuleSearchFilter filter) throws DAException, DAValidateException Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the all stored data template WO Creation Rules.DataCollectionTemplateWOCreationRuleSearchEvent- Parameters:
page- the required result pagefilter- the specifiedDTODataCollectionTemplateWOCreationRuleSearchFilter- Returns:
- the current result page
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTODataCollectionTemplateWOCreationRule> get(@PathVariable("id") Long id) throws DAValidateException, DAException Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the required data template WO Creation Rule.DataCollectionTemplateWOCreationRuleLoadEvent- Parameters:
id- data collection template WO Creation Rule- Returns:
- the data collection template WO Creation Rule
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
createWoCreationRule
@PostMapping(value="/actions/createWOCreationRule", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> createWoCreationRule(@Valid @RequestBody @Valid DTODataCollectionTemplateWOCreationRuleInsert input) throws DAException, DAValidateException Deprecated, for removal: This API element is subject to removal in a future version.Create a new data template WO Creation Rule.DataCollectionTemplateWOCreationRuleBatchInsertEvent- Parameters:
input- theDTODataCollectionTemplateWOCreationRuleInsert- Returns:
- the response
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
patchWoCreationRule
@PatchMapping(value="{id:[0-9]+}/WOCreationRules", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patchWoCreationRule(@PathVariable("id") Long id, @Valid @RequestBody @Valid DTODataCollectionTemplateWOCreationRuleUpdate input) throws DAValidateException, DAException Deprecated, for removal: This API element is subject to removal in a future version.Modify the required data template WO Creation Rule.DataCollectionTemplateWOCreationRuleUpdateEvent- Parameters:
id- the idinput- theDTODataCollectionTemplateWOCreationRuleUpdate- Returns:
- the response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-