Class DataTypeService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.systemsettings.rs1.datatype.DataTypeService
@RestController
@RequestMapping("configurations/system-settings/r1/data-types")
@Resource(logging=true)
public class DataTypeService
extends PrivateService
Service for manage data type
- Since:
- 16.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTODataType> get(Long dataTypeId, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTODataType>> getCollection(@Valid Page page, Collection<String> fields, String order, @Valid DTODataTypeFilter filter)
-
Constructor Details
-
DataTypeService
public DataTypeService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTODataType>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,value="_fields") Collection<String> fields, @RequestParam(required=false,value="_order") String order, @Valid @Valid DTODataTypeFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{dataTypeId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTODataType> get(@PathVariable("dataTypeId") Long dataTypeId, @RequestParam(required=false,value="_fields") Collection<String> fields) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-