Class HvlOAuthUserMigrationModel

java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthUserMigrationModel
All Implemented Interfaces:
Serializable

public class HvlOAuthUserMigrationModel extends Object implements Serializable
A data transfer object which is used to user migration model.
See Also:
  • 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 code
      targetProfileIntegrationCode - the target profile integration code
      isMigrateOwnedRoles - the is migrate owned roles
      isMigrateOwnedRoleGroups - the is migrate owned role groups
      isClearRolesFromSourceProfile - the is clear roles from source profile
      isClearRoleGroupsFromSourceProfile - the is clear role groups from source profile
      isExitExistingProfileGroupsForSourceProfile - the is exit existing profile groups for source profile
      isClearRolesFromTargetProfile - the is clear roles from target profile
      isClearRoleGroupsFromTargetProfile - the is clear role groups from target profile
      isExitExistingProfileGroupsForTargetProfile - 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 code
      targetProfileIntegrationCode - the target profile integration code
      isMigrateOwnedRoles - the is migrate owned roles
      isMigrateOwnedRoleGroups - the is migrate owned role groups
      isClearRolesFromSourceProfile - the is clear roles from source profile
      isClearRoleGroupsFromSourceProfile - the is clear role groups from source profile
      isExitExistingProfileGroupsForSourceProfile - the is exit existing profile groups for source profile
      isClearRolesFromTargetProfile - the is clear roles from target profile
      isClearRoleGroupsFromTargetProfile - the is clear role groups from target profile
      isExitExistingProfileGroupsForTargetProfile - the is exit existing profile groups for target profile
      Returns:
      the hvl o auth user migration model
    • getSourceProfileIntegrationCode

      public String getSourceProfileIntegrationCode()
      Gets source profile integration code.
      Returns:
      the source profile integration code
    • setSourceProfileIntegrationCode

      public void setSourceProfileIntegrationCode(String sourceProfileIntegrationCode)
      Sets source profile integration code.
      Parameters:
      sourceProfileIntegrationCode - the source profile integration code
    • getTargetProfileIntegrationCode

      public String getTargetProfileIntegrationCode()
      Gets target profile integration code.
      Returns:
      the target profile integration code
    • setTargetProfileIntegrationCode

      public void setTargetProfileIntegrationCode(String targetProfileIntegrationCode)
      Sets target profile integration code.
      Parameters:
      targetProfileIntegrationCode - the target profile integration code
    • getMigrateOwnedRoles

      public Boolean getMigrateOwnedRoles()
      Gets migrate owned roles.
      Returns:
      the migrate owned roles
    • setMigrateOwnedRoles

      public void setMigrateOwnedRoles(Boolean migrateOwnedRoles)
      Sets migrate owned roles.
      Parameters:
      migrateOwnedRoles - the migrate owned roles
    • getMigrateOwnedRoleGroups

      public Boolean getMigrateOwnedRoleGroups()
      Gets migrate owned role groups.
      Returns:
      the migrate owned role groups
    • setMigrateOwnedRoleGroups

      public void setMigrateOwnedRoleGroups(Boolean migrateOwnedRoleGroups)
      Sets migrate owned role groups.
      Parameters:
      migrateOwnedRoleGroups - the migrate owned role groups
    • getClearRolesFromSourceProfile

      public Boolean getClearRolesFromSourceProfile()
      Gets clear roles from source profile.
      Returns:
      the clear roles from source profile
    • setClearRolesFromSourceProfile

      public void setClearRolesFromSourceProfile(Boolean clearRolesFromSourceProfile)
      Sets clear roles from source profile.
      Parameters:
      clearRolesFromSourceProfile - the clear roles from source profile
    • getClearRoleGroupsFromSourceProfile

      public Boolean getClearRoleGroupsFromSourceProfile()
      Gets clear role groups from source profile.
      Returns:
      the clear role groups from source profile
    • setClearRoleGroupsFromSourceProfile

      public void setClearRoleGroupsFromSourceProfile(Boolean clearRoleGroupsFromSourceProfile)
      Sets clear role groups from source profile.
      Parameters:
      clearRoleGroupsFromSourceProfile - the clear role groups from source profile
    • getExitExistingProfileGroupsForSourceProfile

      public Boolean 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

      public Boolean getClearRolesFromTargetProfile()
      Gets clear roles from target profile.
      Returns:
      the clear roles from target profile
    • setClearRolesFromTargetProfile

      public void setClearRolesFromTargetProfile(Boolean clearRolesFromTargetProfile)
      Sets clear roles from target profile.
      Parameters:
      clearRolesFromTargetProfile - the clear roles from target profile
    • getClearRoleGroupsFromTargetProfile

      public Boolean getClearRoleGroupsFromTargetProfile()
      Gets clear role groups from target profile.
      Returns:
      the clear role groups from target profile
    • setClearRoleGroupsFromTargetProfile

      public void setClearRoleGroupsFromTargetProfile(Boolean clearRoleGroupsFromTargetProfile)
      Sets clear role groups from target profile.
      Parameters:
      clearRoleGroupsFromTargetProfile - the clear role groups from target profile
    • getExitExistingProfileGroupsForTargetProfile

      public Boolean 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object