Class DataCollectionTemplateWOCreationRuleService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.datacollection.rs1.rule.DataCollectionTemplateWOCreationRuleService
@RestController
@RequestMapping("documents/dynamic-forms/r1/wo-creation-rules")
@Resource(logging=true)
public class DataCollectionTemplateWOCreationRuleService
extends PrivateService
Service for manage dynamic form templates wo creation rules
- Since:
- 22.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTODataCollectionTemplateWOCreationRule> get(Long woCreationRuleId, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTODataCollectionTemplateWOCreationRule>> getCollection(@Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTODataCollectionTemplateWOCreationRuleFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long woCreationRuleId, @Valid DTODataCollectionTemplateWOCreationRuleUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
DataCollectionTemplateWOCreationRuleService
public DataCollectionTemplateWOCreationRuleService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTODataCollectionTemplateWOCreationRule>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @Valid @NotNull @Valid @NotNull DTODataCollectionTemplateWOCreationRuleFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{woCreationRuleId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTODataCollectionTemplateWOCreationRule> get(@PathVariable("woCreationRuleId") Long woCreationRuleId, @RequestParam(required=false,value="_fields") Collection<String> fields) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@Valid @RequestBody @Valid DTODataCollectionTemplateWOCreationRuleInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{woCreationRuleId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("woCreationRuleId") Long woCreationRuleId, @Valid @RequestBody @Valid DTODataCollectionTemplateWOCreationRuleUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-