All Known Implementing Classes:
HvlOAuthAuthorityManagerImpl

@Validated public interface HvlOAuthAuthorityManager
This manager provides query methods.
  • Method Details

    • findIdByUuid

      Optional<Long> findIdByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Find authority id by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      an Optional id
    • getById

      HvlOAuthAuthorityModel getById(@NotNull @NotNull Long id)
      Gets authority by id.
      Parameters:
      id - the id
      Returns:
      the authority model
    • getByUuid

      HvlOAuthAuthorityModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets authority model 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 authority claim data model list
    • 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 authority claim data model page
    • 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 authority data model page
    • 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 data
    • queryAuthorityTagPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthAuthorityTagDataModel> queryAuthorityTagPage(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityQueryModel authorityQueryModel)
      Query the page of authority tag data.
      Parameters:
      authorityQueryModel - the authority query model
      Returns:
      the page of authority tag data
    • getNameListByIdSet

      List<String> getNameListByIdSet(@NotEmpty @Size(max=100) @NotEmpty @Size(max=100) Set<@NotNull Long> idSet)
      Gets name list by id set.
      Parameters:
      idSet - the id set
      Returns:
      the name list
    • getProfileGroupProfilesEmailByCriticalAuthorityIdSet

      Set<String> getProfileGroupProfilesEmailByCriticalAuthorityIdSet(@NotNull @NotNull @Size(max=1000) @NotNull @NotNull @Size(max=1000) Set<Long> criticalAuthoritySet)
      Gets profile group profiles email by critical authority id set.
      Parameters:
      criticalAuthoritySet - the critical authority set
      Returns:
      the profile group names by critical authority id set
    • findUsernameSetByAuthorityId

      Set<String> findUsernameSetByAuthorityId(@NotNull @NotNull Long id)
      Find username set by authority id.
      Parameters:
      id - the id
      Returns:
      the username set
    • getCriticalAuthoritiesByRoleIdSet

      Set<Long> getCriticalAuthoritiesByRoleIdSet(Set<@NotNull Long> roleIdSet)
      Gets authorities by role id set.
      Parameters:
      roleIdSet - the role id set
      Returns:
      the authorities by role id set
    • getCriticalAuthoritiesByRoleGroupIdSet

      Set<Long> getCriticalAuthoritiesByRoleGroupIdSet(Set<@NotNull Long> roleGroupIdSet)
      Gets critical authorities by role group id set.
      Parameters:
      roleGroupIdSet - the role group id set
      Returns:
      the critical authorities by role group id set