Class MobileErrorLogService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.mobile.core.rs3.errorlog.MobileErrorLogService
@RestController
@RequestMapping("mobile/r3/error-logs")
@Resource(logging=true)
public class MobileErrorLogService
extends PrivateService
Service for manage mobile error log
- Since:
- 18.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<DTOIdentifier<Long>>> org.springframework.http.ResponseEntity<DTOMobileErrorLog> get(Long mobileErrorLogId, String language, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTOMobileErrorLog>> getCollection(@Valid Page page, String language, Collection<String> fields, String order, @Valid @NotNull DTOMobileErrorLogFilter filter) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
MobileErrorLogService
public MobileErrorLogService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOMobileErrorLog>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_language",defaultValue="user") String language, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @Valid @NotNull @Valid @NotNull DTOMobileErrorLogFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{mobileErrorLogId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOMobileErrorLog> get(@PathVariable("mobileErrorLogId") Long mobileErrorLogId, @RequestParam(required=false,name="_language",defaultValue="user") String language, @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 DTOMobileErrorLogInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
batchPost
@PostMapping(value="/batch", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<List<DTOIdentifier<Long>>> batchPost(@Size(min=1,max=200) @Valid @RequestBody @Size(min=1,max=200) @Valid List<DTOMobileErrorLogInsert> batchInput) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-