Interface HvlAuthzRoleRestService
- All Known Implementing Classes:
HvlAuthzRoleRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="rolePublicRestService",
path="${hvl.oauth.authz.service.role.path:/roles}",
url="${hvl.oauth.authz.service.role.url:${hvl.oauth.authz.service.url}}")
public interface HvlAuthzRoleRestService
A restful service which provides specific methods for role.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthRoleModel>
Gets role by uuid.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel>>
queryAssignerDataPage
(@NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel) Returns a page of role claim for assigned entity relation matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleClaimDataModel>>
queryClaimDataPage
(@NotNull @Valid HvlOAuthRoleClaimQueryModel roleClaimQueryModel) Returns a page of role claim for assigned entity relation matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthRoleDataModel>>
queryDataList
(@NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel) Returns a list of role matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel>>
queryDataPage
(@NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel) Returns a page of role matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel>>
queryReportDataPage
(@NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of role report matching the report query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthRoleModel> getByUuid(@NotBlank @PathVariable("uuid") @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets role by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryDataPage
@PostMapping(path="/data/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel>> queryDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel) Returns a page of role matching the query criteria.- Parameters:
roleQueryModel
- the role query model- Returns:
- the hvl response
-
queryReportDataPage
@PostMapping(path="/data/report/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel>> queryReportDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of role report matching the report query criteria.- Parameters:
reportQueryModel
- the report query model- Returns:
- the hvl response
-
queryAssignerDataPage
@PostMapping(path="/data/assigner/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel>> queryAssignerDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel) Returns a page of role claim for assigned entity relation matching the query criteria.- Parameters:
roleQueryModel
- the role query model- Returns:
- the hvl response
-
queryDataList
@PostMapping(path="/data/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthRoleDataModel>> queryDataList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel) Returns a list of role matching the query criteria.- Parameters:
roleQueryModel
- the role 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<HvlOAuthRoleClaimDataModel>> queryClaimDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthRoleClaimQueryModel roleClaimQueryModel) Returns a page of role claim for assigned entity relation matching the query criteria.- Parameters:
roleClaimQueryModel
- the role claim query model- Returns:
- the hvl response
-