Class CharacteristicClassService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.characteristics.rs1.characteristicclass.CharacteristicClassService
@RestController
@RequestMapping("configurations/characteristics/r1/classes")
@Resource(logging=true)
public class CharacteristicClassService
extends PrivateService
Service for manage class
- Since:
- 16.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOCharacteristicClass> org.springframework.http.ResponseEntity<PageResponse<DTOCharacteristicClass>> getCollection(@Valid Page page, Collection<String> fields, String order, @Valid String language, @Valid DTOCharacteristicClassFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long id, @Valid DTOCharacteristicClassUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
CharacteristicClassService
public CharacteristicClassService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOCharacteristicClass>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @RequestParam(required=false,name="_language",defaultValue="user") @Valid @Valid String language, @Valid @Valid DTOCharacteristicClassFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{classId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOCharacteristicClass> get(@PathVariable("classId") Long id, @RequestParam(required=false,name="_language",defaultValue="user") @Valid @Valid String language, @RequestParam(required=false,name="_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 DTOCharacteristicClassInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{classId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("classId") Long id, @Valid @RequestBody @Valid DTOCharacteristicClassUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-