Class OCGroupService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.base.ocgroup.OCGroupService
@RestController
@RequestMapping("core/r5/base/ocgroups")
@Resource(logging=true)
public class OCGroupService
extends PrivateService
Services to manage operation center groups.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOOCGroup> Retrieves the required OC group.org.springframework.http.ResponseEntity<PageResponse<DTOOCGroup>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOOCGroupSearchFilter filter) Retrieve the all stored OC groups.
-
Constructor Details
-
OCGroupService
public OCGroupService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOOCGroup>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOOCGroupSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored OC groups.OCGroupSearchEvent- Parameters:
page- the required result pagefilter- the specified filter parameters- Returns:
- the response containing the current result page
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id}", produces="application/json") public org.springframework.http.ResponseEntity<DTOOCGroup> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required OC group.OCGroupLoadEvent- Parameters:
id- OC group id- Returns:
- the response containing the required OC group
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-