Interface HvlAuthzAuthorityService
- All Known Implementing Classes:
HvlAuthzAuthorityServiceImpl
@Validated
public interface HvlAuthzAuthorityService
This service provides operational and retrieve methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Delete authority by uuid.Gets authority by uuid.queryAuthorityTagList
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a list of authority tag matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthAuthorityTagDataModel> queryAuthorityTagPage
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority tag matching the query criteria.queryClaimDataList
(@NotNull @Valid HvlOAuthAuthorityClaimQueryModel authorityClaimQueryModel) Returns a list of authority claim for assigned entity relation matching the query criteria.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.data.commons.pageable.HvlPage
<HvlOAuthAuthorityDataModel> queryDataPage
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthAuthorityDataModel> queryModuleDataPage
(@NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority matching the query criteria and module name.save
(@NotNull @Valid HvlOAuthAuthorityModel authorityModel) Saves authority model.void
update
(@NotNull @Valid HvlOAuthAuthorityModel authorityModel) Update.void
updateProfileGroups
(@NotNull @Valid HvlOAuthAuthorityProfileGroupPersistModel authAuthorityProfileGroupPersistModel) Update profile groups.void
updateTags
(@NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagModel) Update tags to authority.
-
Method Details
-
save
Saves authority model.- Parameters:
authorityModel
- the authority model- Returns:
- profile detail model
-
update
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) void update(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityModel authorityModel) Update.- Parameters:
authorityModel
- the authority model
-
deleteByUuid
Delete authority by uuid.- Parameters:
uuid
- the uuid
-
updateTags
Update tags to authority.- Parameters:
authorityTagModel
- the authority tag model
-
updateProfileGroups
void updateProfileGroups(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityProfileGroupPersistModel authAuthorityProfileGroupPersistModel) Update profile groups.- Parameters:
authAuthorityProfileGroupPersistModel
- the auth authority profile group persist model
-
getByUuid
HvlOAuthAuthorityModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets authority by uuid.- Parameters:
uuid
- the uuid- Returns:
- the authority model
-
queryClaimDataList
List<HvlOAuthAuthorityClaimDataModel> queryClaimDataList(@NotNull @Valid @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 page of authority claim projection model
-
queryClaimDataPage
tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityClaimDataModel> queryClaimDataPage(@NotNull @Valid @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 page of authority claim projection model
-
queryDataPage
tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityDataModel> queryDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority matching the query criteria.- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the page of authority projection model
-
queryModuleDataPage
tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityDataModel> queryModuleDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority matching the query criteria and module name.- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the page of authority projection model
-
queryAuthorityTagList
List<HvlOAuthAuthorityTagDataModel> queryAuthorityTagList(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a list of authority tag matching the query criteria.- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the list of authority tag relation projection model
-
queryAuthorityTagPage
tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityTagDataModel> queryAuthorityTagPage(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a page of authority tag matching the query criteria.- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the page of authority tag relation projection model
-