Class HvlOAuthUserMigrationModel
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthUserMigrationModel
- All Implemented Interfaces:
Serializable
A data transfer object which is used to user migration model.
- See Also:
-
Constructor Summary
ConstructorDescriptionHvlOAuthUserMigrationModel
(String sourceProfileIntegrationCode, String targetProfileIntegrationCode, Boolean isMigrateOwnedRoles, Boolean isMigrateOwnedRoleGroups, Boolean isClearRolesFromSourceProfile, Boolean isClearRoleGroupsFromSourceProfile, Boolean isExitExistingProfileGroupsForSourceProfile, Boolean isClearRolesFromTargetProfile, Boolean isClearRoleGroupsFromTargetProfile, Boolean isExitExistingProfileGroupsForTargetProfile) Instantiates a new HvlOAuthUserMigrationModel. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets clear role groups from source profile.Gets clear role groups from target profile.Gets clear roles from source profile.Gets clear roles from target profile.Gets exit existing profile groups for source profile.Gets exit existing profile groups for target profile.Gets migrate owned role groups.Gets migrate owned roles.Gets source profile integration code.Gets target profile integration code.int
hashCode()
static HvlOAuthUserMigrationModel
of
(String sourceProfileIntegrationCode, String targetProfileIntegrationCode, Boolean isMigrateOwnedRoles, Boolean isMigrateOwnedRoleGroups, Boolean isClearRolesFromSourceProfile, Boolean isClearRoleGroupsFromSourceProfile, Boolean isExitExistingProfileGroupsForSourceProfile, Boolean isClearRolesFromTargetProfile, Boolean isClearRoleGroupsFromTargetProfile, Boolean isExitExistingProfileGroupsForTargetProfile) Create a new user migration modelvoid
setClearRoleGroupsFromSourceProfile
(Boolean clearRoleGroupsFromSourceProfile) Sets clear role groups from source profile.void
setClearRoleGroupsFromTargetProfile
(Boolean clearRoleGroupsFromTargetProfile) Sets clear role groups from target profile.void
setClearRolesFromSourceProfile
(Boolean clearRolesFromSourceProfile) Sets clear roles from source profile.void
setClearRolesFromTargetProfile
(Boolean clearRolesFromTargetProfile) Sets clear roles from target profile.void
setExitExistingProfileGroupsForSourceProfile
(Boolean exitExistingProfileGroupsForSourceProfile) Sets exit existing profile groups for source profile.void
setExitExistingProfileGroupsForTargetProfile
(Boolean exitExistingProfileGroupsForTargetProfile) Sets exit existing profile groups for target profile.void
setMigrateOwnedRoleGroups
(Boolean migrateOwnedRoleGroups) Sets migrate owned role groups.void
setMigrateOwnedRoles
(Boolean migrateOwnedRoles) Sets migrate owned roles.void
setSourceProfileIntegrationCode
(String sourceProfileIntegrationCode) Sets source profile integration code.void
setTargetProfileIntegrationCode
(String targetProfileIntegrationCode) Sets target profile integration code.
-
Constructor Details
-
HvlOAuthUserMigrationModel
public HvlOAuthUserMigrationModel(String sourceProfileIntegrationCode, String targetProfileIntegrationCode, Boolean isMigrateOwnedRoles, Boolean isMigrateOwnedRoleGroups, Boolean isClearRolesFromSourceProfile, Boolean isClearRoleGroupsFromSourceProfile, Boolean isExitExistingProfileGroupsForSourceProfile, Boolean isClearRolesFromTargetProfile, Boolean isClearRoleGroupsFromTargetProfile, Boolean isExitExistingProfileGroupsForTargetProfile) Instantiates a new HvlOAuthUserMigrationModel.- Parameters:
sourceProfileIntegrationCode
- the source profile integration codetargetProfileIntegrationCode
- the target profile integration codeisMigrateOwnedRoles
- the is migrate owned rolesisMigrateOwnedRoleGroups
- the is migrate owned role groupsisClearRolesFromSourceProfile
- the is clear roles from source profileisClearRoleGroupsFromSourceProfile
- the is clear role groups from source profileisExitExistingProfileGroupsForSourceProfile
- the is exit existing profile groups for source profileisClearRolesFromTargetProfile
- the is clear roles from target profileisClearRoleGroupsFromTargetProfile
- the is clear role groups from target profileisExitExistingProfileGroupsForTargetProfile
- the is exit existing profile groups for target profile
-
-
Method Details
-
of
public static HvlOAuthUserMigrationModel of(String sourceProfileIntegrationCode, String targetProfileIntegrationCode, Boolean isMigrateOwnedRoles, Boolean isMigrateOwnedRoleGroups, Boolean isClearRolesFromSourceProfile, Boolean isClearRoleGroupsFromSourceProfile, Boolean isExitExistingProfileGroupsForSourceProfile, Boolean isClearRolesFromTargetProfile, Boolean isClearRoleGroupsFromTargetProfile, Boolean isExitExistingProfileGroupsForTargetProfile) Create a new user migration model- Parameters:
sourceProfileIntegrationCode
- the source profile integration codetargetProfileIntegrationCode
- the target profile integration codeisMigrateOwnedRoles
- the is migrate owned rolesisMigrateOwnedRoleGroups
- the is migrate owned role groupsisClearRolesFromSourceProfile
- the is clear roles from source profileisClearRoleGroupsFromSourceProfile
- the is clear role groups from source profileisExitExistingProfileGroupsForSourceProfile
- the is exit existing profile groups for source profileisClearRolesFromTargetProfile
- the is clear roles from target profileisClearRoleGroupsFromTargetProfile
- the is clear role groups from target profileisExitExistingProfileGroupsForTargetProfile
- the is exit existing profile groups for target profile- Returns:
- the hvl o auth user migration model
-
getSourceProfileIntegrationCode
Gets source profile integration code.- Returns:
- the source profile integration code
-
setSourceProfileIntegrationCode
Sets source profile integration code.- Parameters:
sourceProfileIntegrationCode
- the source profile integration code
-
getTargetProfileIntegrationCode
Gets target profile integration code.- Returns:
- the target profile integration code
-
setTargetProfileIntegrationCode
Sets target profile integration code.- Parameters:
targetProfileIntegrationCode
- the target profile integration code
-
getMigrateOwnedRoles
Gets migrate owned roles.- Returns:
- the migrate owned roles
-
setMigrateOwnedRoles
Sets migrate owned roles.- Parameters:
migrateOwnedRoles
- the migrate owned roles
-
getMigrateOwnedRoleGroups
Gets migrate owned role groups.- Returns:
- the migrate owned role groups
-
setMigrateOwnedRoleGroups
Sets migrate owned role groups.- Parameters:
migrateOwnedRoleGroups
- the migrate owned role groups
-
getClearRolesFromSourceProfile
Gets clear roles from source profile.- Returns:
- the clear roles from source profile
-
setClearRolesFromSourceProfile
Sets clear roles from source profile.- Parameters:
clearRolesFromSourceProfile
- the clear roles from source profile
-
getClearRoleGroupsFromSourceProfile
Gets clear role groups from source profile.- Returns:
- the clear role groups from source profile
-
setClearRoleGroupsFromSourceProfile
Sets clear role groups from source profile.- Parameters:
clearRoleGroupsFromSourceProfile
- the clear role groups from source profile
-
getExitExistingProfileGroupsForSourceProfile
Gets exit existing profile groups for source profile.- Returns:
- the exit existing profile groups for source profile
-
setExitExistingProfileGroupsForSourceProfile
public void setExitExistingProfileGroupsForSourceProfile(Boolean exitExistingProfileGroupsForSourceProfile) Sets exit existing profile groups for source profile.- Parameters:
exitExistingProfileGroupsForSourceProfile
- the exit existing profile groups for source profile
-
getClearRolesFromTargetProfile
Gets clear roles from target profile.- Returns:
- the clear roles from target profile
-
setClearRolesFromTargetProfile
Sets clear roles from target profile.- Parameters:
clearRolesFromTargetProfile
- the clear roles from target profile
-
getClearRoleGroupsFromTargetProfile
Gets clear role groups from target profile.- Returns:
- the clear role groups from target profile
-
setClearRoleGroupsFromTargetProfile
Sets clear role groups from target profile.- Parameters:
clearRoleGroupsFromTargetProfile
- the clear role groups from target profile
-
getExitExistingProfileGroupsForTargetProfile
Gets exit existing profile groups for target profile.- Returns:
- the exit existing profile groups for target profile
-
setExitExistingProfileGroupsForTargetProfile
public void setExitExistingProfileGroupsForTargetProfile(Boolean exitExistingProfileGroupsForTargetProfile) Sets exit existing profile groups for target profile.- Parameters:
exitExistingProfileGroupsForTargetProfile
- the exit existing profile groups for target profile
-
equals
-
hashCode
public int hashCode()
-