Interface HvlAuthzAuthorityRestService
- All Known Implementing Classes:
HvlAuthzAuthorityRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="authorityPublicRestService",
path="${hvl.oauth.authz.service.authority.path:/authorities}",
url="${hvl.oauth.authz.service.authority.url:${hvl.oauth.authz.service.url}}")
public interface HvlAuthzAuthorityRestService
A restful service which provides specific query methods for authority.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthAuthorityModel>
Gets authority by uuid.tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthAuthorityTagDataModel>>
queryAuthorityTagList
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a list of authority tag matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityTagDataModel>>
queryAuthorityTagPage
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority tag matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthAuthorityClaimDataModel>>
queryClaimDataList
(@NotNull @Valid HvlOAuthAuthorityClaimQueryModel authorityClaimQueryModel) Returns a list of authority claim for assigned entity relation matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityClaimDataModel>>
queryClaimDataPage
(@NotNull @Valid HvlOAuthAuthorityClaimQueryModel authorityClaimQueryModel) Returns a page of authority claim for assigned entity relation matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityDataModel>>
queryDataPage
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityClaimQueryModel) Returns a page of authority matching the query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthAuthorityModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Gets authority by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryClaimDataList
@PostMapping(path="/data/claim/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthAuthorityClaimDataModel>> queryClaimDataList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthAuthorityClaimQueryModel authorityClaimQueryModel) Returns a list of authority claim for assigned entity relation matching the query criteria.- Parameters:
authorityClaimQueryModel
- the authority claim 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<HvlOAuthAuthorityClaimDataModel>> queryClaimDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthAuthorityClaimQueryModel authorityClaimQueryModel) Returns a page of authority claim for assigned entity relation matching the query criteria.- Parameters:
authorityClaimQueryModel
- the authority claim query model- Returns:
- the hvl response
-
queryDataPage
@PostMapping(path="/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityDataModel>> queryDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthAuthorityQueryModel authorityClaimQueryModel) Returns a page of authority matching the query criteria.- Parameters:
authorityClaimQueryModel
- the authority claim query model- Returns:
- the hvl response
-
queryAuthorityTagList
@PostMapping(path="/tags/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthAuthorityTagDataModel>> queryAuthorityTagList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a list of authority tag matching the query criteria.- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the hvl response
-
queryAuthorityTagPage
@PostMapping(path="/tags/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityTagDataModel>> queryAuthorityTagPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority tag matching the query criteria.- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the hvl response
-