Class SerializedMaterialModelService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.material.serialized.model.SerializedMaterialModelService
@RestController
@RequestMapping("core/r5/materials/serialized/models")
@Resource(logging=true)
public class SerializedMaterialModelService
extends PrivateService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOSerializedMaterialModel> org.springframework.http.ResponseEntity<PageResponse<DTOSerializedMaterialModel>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOSerializedMaterialModelSearchFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long id, @Valid DTOSerializedMaterialModelUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
SerializedMaterialModelService
public SerializedMaterialModelService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOSerializedMaterialModel>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOSerializedMaterialModelSearchFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOSerializedMaterialModel> get(@PathVariable("id") Long id) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@Valid @RequestBody @Valid DTOSerializedMaterialModelInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{id:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("id") Long id, @Valid @RequestBody @Valid DTOSerializedMaterialModelUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-