All Known Implementing Classes:
HvlAuthzUserRestController

@Validated @HvlPublicFeignRestService @FeignClient(name="userPublicRestService", path="${hvl.oauth.authz.service.user.path:/users}", url="${hvl.oauth.authz.service.user.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzUserRestService
A restful service which provides specific methods for user.
  • Method Details

    • getByUuid

      @GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserModel> 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
    • getByUsername

      @GetMapping(path="/by-username/{username}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserModel> getByUsername(@NotBlank @Size(max=50) @PathVariable("username") @NotBlank @Size(max=50) String username)
      Gets user by username.
      Parameters:
      username - the username
      Returns:
      the hvl response
    • getByIntegrationCode

      @GetMapping(path="/by-code/{code}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserModel> getByIntegrationCode(@NotBlank @Size(max=20) @PathVariable("code") @NotBlank @Size(max=20) String code)
      Gets user by integration code.
      Parameters:
      code - the code
      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<HvlOAuthUserDataModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthUserQueryModel userQueryModel)
      Returns a page of user matching the query criteria.
      Parameters:
      userQueryModel - the user query model
      Returns:
      the hvl response
    • queryClaimDataPage

      @PostMapping(path="/data/claim/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthUserClaimDataModel>> queryClaimDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthUserClaimQueryModel userClaimQueryModel)
      Returns a page of user claim for assigned entity relation matching the query criteria.
      Parameters:
      userClaimQueryModel - the user claim query model
      Returns:
      the hvl response