Interface HvlAuthzProfileService

All Known Implementing Classes:
HvlAuthzProfileServiceImpl

@Validated public interface HvlAuthzProfileService
This service provides operational and retrieve methods.
  • Method Details

    • save

      void save(@NotNull @Valid @NotNull @Valid HvlOAuthProfileCopiablePersistModel profileCopiablePersistModel)
      Saves profile.
      Parameters:
      profileCopiablePersistModel - the profile persist model
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) void update(@NotNull @Valid @NotNull @Valid HvlOAuthProfilePersistModel profilePersistModel)
      Updates profile.
      Parameters:
      profilePersistModel - the profile persist model
    • updateRoles

      void updateRoles(@NotNull @Valid @NotNull @Valid HvlOAuthProfileRolePersistByAdminModel profileRolePersistByAdminModel)
      Update roles.
      Parameters:
      profileRolePersistByAdminModel - the profile role persist by admin model
    • updateRolesByRoleAssigner

      void updateRolesByRoleAssigner(@NotNull @Valid @NotNull @Valid HvlOAuthProfileRolePersistByRoleAssignerModel profileRolePersistByRoleAssignerModel)
      Update roles by role assigner.
      Parameters:
      profileRolePersistByRoleAssignerModel - the profile role persist by role assigner model
    • deleteByUuid

      void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Deletes profile by uuid.
      Parameters:
      uuid - the uuid
    • activateByUuid

      void activateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Method used to activate profile according to uuid.
      Parameters:
      uuid - the uuid
    • deactivateByUuid

      void deactivateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Method used to deactivate profile according to uuid.
      Parameters:
      uuid - the uuid
    • userMigrationProfileToProfile

      void userMigrationProfileToProfile(@NotNull @Valid @NotNull @Valid HvlOAuthUserMigrationModel userMigrationModel)
      User migration profile to profile.
      Parameters:
      userMigrationModel - the user migration model
    • resetProfile

      void resetProfile(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileResetModel profileResetModel)
      Reset profile.
      Parameters:
      profileResetModel - the profile reset model
    • getByUuid

      HvlOAuthProfileModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets profile model by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      profile model
    • getDataByUuid

      HvlOAuthProfileDataModel getDataByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets profile data model by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      profile data model
    • getProfileNameListByUsername

      List<HvlOAuthProfileDataModel> getProfileNameListByUsername(@NotBlank @Size(max=50) @NotBlank @Size(max=50) String username)
      Gets profile data model list by username.
      Parameters:
      username - the username
      Returns:
      profile data model list
    • getIdListByProfileGroupUuid

      List<Long> getIdListByProfileGroupUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String profileGroupUuid)
      Gets profile id list by profile group uuid.
      Parameters:
      profileGroupUuid - the profile group uuid
      Returns:
      profile id list
    • getAcquiredDataListByUsername

      List<HvlOAuthAcquiredProfileDataModel> getAcquiredDataListByUsername()
      Gets acquired data list using authenticated session.
      Returns:
      the acquired profile data list
    • getByIntegrationCode

      HvlOAuthProfileModel getByIntegrationCode(@NotBlank @Size(max=20) @NotBlank @Size(max=20) String integrationCode)
      Gets profile by integration code.
      Parameters:
      integrationCode - the integration code
      Returns:
      the profile model
    • isExists

      Boolean isExists(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Checks whether profile exists or not.
      Parameters:
      uuid - the uuid
      Returns:
      true or false
    • queryList

      List<HvlOAuthProfileModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel)
      Gets profile model list.
      Parameters:
      profileQueryModel - the profile query model
      Returns:
      profile model list
    • queryPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel)
      Gets profile model page.
      Parameters:
      profileQueryModel - the profile query model
      Returns:
      profile model page
    • queryDataList

      List<HvlOAuthProfileDataModel> queryDataList(@NotNull @Valid @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel)
      Gets profile data model list.
      Parameters:
      profileQueryModel - the profile query model
      Returns:
      profile data model list
    • queryProfileUserDataPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileUserDataModel> queryProfileUserDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel)
      Gets profile user data model page.
      Parameters:
      profileQueryModel - the profile query model
      Returns:
      profile user data model page
    • queryProfileUserClaimDataPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileUserClaimDataModel> queryProfileUserClaimDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthProfileClaimQueryModel profileClaimQueryModel)
      Gets profile user claim data model page.
      Parameters:
      profileClaimQueryModel - the available profile query model
      Returns:
      profile user claim data model page