Interface HvlAuthzProfileService
- All Known Implementing Classes:
HvlAuthzProfileServiceImpl
@Validated
public interface HvlAuthzProfileService
This service provides operational and retrieve methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Activates profile according to uuid.void
deactivateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Deactivates profile according to uuid.void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Deletes profile by uuid.Gets acquired data list using authenticated session.getByIntegrationCode
(@NotBlank @Size(max=20) String integrationCode) Gets profile by integration code.Gets profile model by uuid.getDataByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Gets profile data model by uuid.getIdListByProfileGroupUuid
(@NotBlank @Size(min=36,max=36) String profileGroupUuid) Gets profile id list by profile group uuid.getProfileNameListByUsername
(@NotBlank @Size(max=50) String username) Gets profile data model list by username.Checks whether profile exists or not.queryDataList
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Gets profile data model list.queryList
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Gets profile model list.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileModel> queryPage
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Gets profile model page.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileUserClaimDataModel> queryProfileUserClaimDataPage
(@NotNull @Valid HvlOAuthProfileClaimQueryModel profileClaimQueryModel) Gets profile user claim data model page.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileUserDataModel> queryProfileUserDataPage
(@NotNull @Valid HvlOAuthProfileQueryModel profileQueryModel) Gets profile user data model page.void
resetProfile
(@NotNull @Valid HvlOAuthProfileResetModel profileResetModel) Resets profile.save
(@NotNull @Valid HvlOAuthProfileCopiablePersistModel profileCopiablePersistModel) Saves profile.void
update
(@NotNull @Valid HvlOAuthProfilePersistModel profilePersistModel) Updates profile.void
updateRoleProfiles
(@NotNull @Valid HvlOAuthRoleProfilePersistModel roleProfilePersistModel) Updates role profilesvoid
updateRoles
(@NotNull @Valid HvlOAuthProfileRolePersistByAdminModel profileRolePersistByAdminModel) Updates roles.void
updateRolesByRoleAssigner
(@NotNull @Valid HvlOAuthProfileRolePersistByRoleAssignerModel profileRolePersistByRoleAssignerModel) Updates roles by role assigner.void
userMigrationProfileToProfile
(@NotNull @Valid HvlOAuthUserMigrationModel userMigrationModel) Migrates user profile to profile.
-
Method Details
-
save
HvlOAuthProfileModel save(@NotNull @Valid @NotNull @Valid HvlOAuthProfileCopiablePersistModel profileCopiablePersistModel) Saves profile.- Parameters:
profileCopiablePersistModel
- the profile copiable persist model- Returns:
- the hvl o auth profile 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) Updates roles.- Parameters:
profileRolePersistByAdminModel
- the profile role persist by admin model
-
updateRoleProfiles
void updateRoleProfiles(@NotNull @Valid @NotNull @Valid HvlOAuthRoleProfilePersistModel roleProfilePersistModel) Updates role profiles- Parameters:
roleProfilePersistModel
- the role profile persist model
-
updateRolesByRoleAssigner
void updateRolesByRoleAssigner(@NotNull @Valid @NotNull @Valid HvlOAuthProfileRolePersistByRoleAssignerModel profileRolePersistByRoleAssignerModel) Updates roles by role assigner.- Parameters:
profileRolePersistByRoleAssignerModel
- the profile role persist by role assigner model
-
deleteByUuid
Deletes profile by uuid.- Parameters:
uuid
- the uuid
-
activateByUuid
Activates profile according to uuid.- Parameters:
uuid
- the uuid
-
deactivateByUuid
Deactivates profile according to uuid.- Parameters:
uuid
- the uuid
-
userMigrationProfileToProfile
void userMigrationProfileToProfile(@NotNull @Valid @NotNull @Valid HvlOAuthUserMigrationModel userMigrationModel) Migrates user profile to profile.- Parameters:
userMigrationModel
- the user migration model
-
resetProfile
void resetProfile(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileResetModel profileResetModel) Resets 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
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
-