Interface HvlAuthzProfileRestService
- All Known Implementing Classes:
HvlAuthzProfileRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="profilePublicRestService",
path="${hvl.oauth.authz.service.profile.path:/profiles}",
url="${hvl.oauth.authz.service.profile.url:${hvl.oauth.authz.service.url}}")
public interface HvlAuthzProfileRestService
A restful service which provides specific methods for profile.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<List<HvlOAuthAcquiredProfileDataModel>> Gets acquired data list using authenticated session.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthProfileModel> getByIntegrationCode
(@NotBlank @Size(max=20) String integrationCode) Gets by integration code.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthProfileModel> Get profile by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthProfileDataModel> getDataByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Get profile data using uuidgetIdListByProfileGroupUuid
(@NotBlank @Size(min=36,max=36) String profileGroupUuid) Gets profile id list by profile group uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<List<HvlOAuthProfileDataModel>> getProfileNameListByUsername
(@NotBlank @Size(max=50) String username) Get profile data list using username.tr.com.havelsan.javarch.service.data.HvlResponse
<Boolean> Profile exist control using profile uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<List<HvlOAuthProfileDataModel>> queryDataList
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Get eager profile data list using profile query.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileModel>> queryPage
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Get lazy profile using profile query.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileUserClaimDataModel>> queryProfileUserClaimDataPage
(@NotNull @Valid HvlOAuthProfileClaimQueryModel profileClaimQueryModel) Gets profile user claim data model page.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileUserDataModel>> queryProfileUserDataPage
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Get lazy profile data list using profile query.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthProfileModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Get profile by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
getDataByUuid
@GetMapping(path="/data/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthProfileDataModel> getDataByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Get profile data using uuid- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
getProfileNameListByUsername
@GetMapping(path="/data/name/list/by-username/{username}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthProfileDataModel>> getProfileNameListByUsername(@NotBlank @Size(max=50) @PathVariable("username") @NotBlank @Size(max=50) String username) Get profile data list using username.- Parameters:
username
- the username- Returns:
- the hvl response
-
getIdListByProfileGroupUuid
@GetMapping(path="/id/list/by-profile-group-uuid/{profileGroupUuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<Long>> getIdListByProfileGroupUuid(@NotBlank @Size(min=36,max=36) @PathVariable("profileGroupUuid") @NotBlank @Size(min=36,max=36) String profileGroupUuid) Gets profile id list by profile group uuid.- Parameters:
profileGroupUuid
- the profile group uuid- Returns:
- the hvl response
-
getAcquiredDataListByUsername
@GetMapping(path="/data/acquired/list", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthAcquiredProfileDataModel>> getAcquiredDataListByUsername()Gets acquired data list using authenticated session.- Returns:
- the hvl response
-
getByIntegrationCode
@GetMapping(path="/by-integration-code/{integrationCode}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthProfileModel> getByIntegrationCode(@NotBlank @Size(max=20) @PathVariable("integrationCode") @NotBlank @Size(max=20) String integrationCode) Gets by integration code.- Parameters:
integrationCode
- the integration code- Returns:
- the by integration code
-
isExists
@GetMapping(path="/exists/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Boolean> isExists(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Profile exist control using profile uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryDataList
@PostMapping(path="/data/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthProfileDataModel>> queryDataList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Get eager profile data list using profile query.- Parameters:
profileQueryModel
- the profile 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<HvlOAuthProfileModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Get lazy profile using profile query.- Parameters:
profileQueryModel
- the profile query model- Returns:
- the hvl response
-
queryProfileUserDataPage
@PostMapping(path="/user-data/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileUserDataModel>> queryProfileUserDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Get lazy profile data list using profile query.- Parameters:
profileQueryModel
- the profile query model- Returns:
- the hvl response
-
queryProfileUserClaimDataPage
@PostMapping(path="/user-data/claim/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileUserClaimDataModel>> queryProfileUserClaimDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileClaimQueryModel profileClaimQueryModel) Gets profile user claim data model page.- Parameters:
profileClaimQueryModel
- the available profile query model- Returns:
- the hvl response
-