Interface HvlAuthzSystemUserRestService
- All Known Implementing Classes:
HvlAuthzSystemUserRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="systemUserPublicRestService",
path="${hvl.oauth.authz.service.system-user.path:/system-users}",
url="${hvl.oauth.authz.service.system-user.url:${hvl.oauth.authz.service.url}}")
public interface HvlAuthzSystemUserRestService
A restful service which provides specific methods for system user.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthSystemUserModel> Gets user by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<List<HvlOAuthSystemUserModel>> queryList
(@NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a list of user detail matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthSystemUserModel>> queryPage
(@NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a page of system user matching the query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthSystemUserModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Gets user by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryList
@PostMapping(path="/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthSystemUserModel>> queryList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a list of user detail matching the query criteria.- Parameters:
systemUserQueryModel
- the system user query model- Returns:
- the hvl response
-
queryPage
@PostMapping(path="/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthSystemUserModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a page of system user matching the query criteria.- Parameters:
systemUserQueryModel
- the system user query model- Returns:
- the hvl response
-