Class DataCollectionTemplateVisibilityRuleRowService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.datacollection.rs1.template.visibilityrules.row.DataCollectionTemplateVisibilityRuleRowService
@RestController
@RequestMapping("documents/dynamic-forms/r1/templates/{templateId:[0-9]+}/visibility-rules{visibilityRuleId:[0-9]+}/rows")
@Resource(logging=true)
public class DataCollectionTemplateVisibilityRuleRowService
extends PrivateService
Service for manage data collection template visibility rules rows
- Since:
- 22.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<DTODataCollectionTemplateVisibilityRuleRow> org.springframework.http.ResponseEntity<PageResponse<DTODataCollectionTemplateVisibilityRuleRow>> getCollection(Long templateId, Long visibilityRuleId, @Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTODataCollectionTemplateVisibilityRuleRowFilter filter) org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(Long templateId, Long visibilityRuleId, @Valid DTODataCollectionTemplateVisibilityRuleRowInsert dto)
-
Constructor Details
-
DataCollectionTemplateVisibilityRuleRowService
public DataCollectionTemplateVisibilityRuleRowService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTODataCollectionTemplateVisibilityRuleRow>> getCollection(@PathVariable("templateId") Long templateId, @PathVariable("visibilityRuleId") Long visibilityRuleId, @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 DTODataCollectionTemplateVisibilityRuleRowFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{visibilityRuleRowId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTODataCollectionTemplateVisibilityRuleRow> get(@PathVariable("templateId") Long templateId, @PathVariable("visibilityRuleId") Long visibilityRuleId, @PathVariable("visibilityRuleRowId") Long visibilityRuleRowId, @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(@PathVariable("templateId") Long templateId, @PathVariable("visibilityRuleId") Long visibilityRuleId, @Valid @RequestBody @Valid DTODataCollectionTemplateVisibilityRuleRowInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
delete
@DeleteMapping(value="{visibilityRuleRowId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<Void> delete(@PathVariable("templateId") Long templateId, @PathVariable("visibilityRuleId") Long visibilityRuleId, @PathVariable("visibilityRuleRowId") Long visibilityRuleRowId) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-