Class HvlAuthzAuthorityServiceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.authority.logic.HvlAuthzAuthorityServiceImpl
- All Implemented Interfaces:
HvlAuthzAuthorityService
@Service
public class HvlAuthzAuthorityServiceImpl
extends Object
implements HvlAuthzAuthorityService
The class which implements
HvlAuthzAuthorityService
-
Constructor Summary
ConstructorDescriptionHvlAuthzAuthorityServiceImpl
(HvlOAuthAuthorityManager authorityManager, HvlOAuthAuthorityTagRelOperationalManager authorityTagRelOperationalManager) Instantiates a new HvlAuthzAuthorityService. -
Method Summary
Modifier and TypeMethodDescriptionGets 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.void
updateTags
(@NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagPersistModel) Update tags to authority.
-
Constructor Details
-
HvlAuthzAuthorityServiceImpl
public HvlAuthzAuthorityServiceImpl(HvlOAuthAuthorityManager authorityManager, HvlOAuthAuthorityTagRelOperationalManager authorityTagRelOperationalManager) Instantiates a new HvlAuthzAuthorityService.- Parameters:
authorityManager
- the authority managerauthorityTagRelOperationalManager
- the authority tag rel operational manager
-
-
Method Details
-
updateTags
public void updateTags(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagPersistModel) Update tags to authority.- Specified by:
updateTags
in interfaceHvlAuthzAuthorityService
- Parameters:
authorityTagPersistModel
- the authority tag model
-
getByUuid
@Transactional(readOnly=true) public HvlOAuthAuthorityModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets authority by uuid.- Specified by:
getByUuid
in interfaceHvlAuthzAuthorityService
- Parameters:
uuid
- the uuid- Returns:
- the authority model
-
queryClaimDataList
@Transactional(readOnly=true) public List<HvlOAuthAuthorityClaimDataModel> queryClaimDataList(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityClaimQueryModel authorityClaimQueryModel) Returns a list of authority claim for assigned entity relation matching the query criteria.- Specified by:
queryClaimDataList
in interfaceHvlAuthzAuthorityService
- Parameters:
authorityClaimQueryModel
- the authority claim query model- Returns:
- the page of authority claim projection model
-
queryClaimDataPage
@Transactional(readOnly=true) public 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.- Specified by:
queryClaimDataPage
in interfaceHvlAuthzAuthorityService
- Parameters:
authorityClaimQueryModel
- the authority claim query model- Returns:
- the page of authority claim projection model
-
queryDataPage
@Transactional(readOnly=true) public 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.- Specified by:
queryDataPage
in interfaceHvlAuthzAuthorityService
- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the page of authority projection model
-
queryAuthorityTagPage
@Transactional(readOnly=true) public 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.- Specified by:
queryAuthorityTagPage
in interfaceHvlAuthzAuthorityService
- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the page of authority tag relation projection model
-
queryAuthorityTagList
@Transactional(readOnly=true) public List<HvlOAuthAuthorityTagDataModel> queryAuthorityTagList(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel) Returns a list of authority tag matching the query criteria.- Specified by:
queryAuthorityTagList
in interfaceHvlAuthzAuthorityService
- Parameters:
authorityQueryModel
- the authority query model- Returns:
- the list of authority tag relation projection model
-