Class HvlOAuthProfileCopiablePersistModel
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthProfileModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.persist.HvlOAuthProfilePersistModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthProfileCopiablePersistModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
A data transfer object is used for profile copy operations.
- See Also:
-
Field Summary
Fields inherited from class tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthProfileModel
ADDED_PROFILE_DETAIL_IDS_FIELD, ADDED_ROLE_GROUP_IDS_FIELD, ADDED_ROLE_IDS_FIELD, COPY_PROFILE_GROUPS_FIELD, COPY_ROLE_GROUPS_FIELD, COPY_ROLES_FIELD, CRITICAL_AUTHORITY_IDS_FIELD, DESCRIPTION_FIELD, ENABLED_FIELD, NAME_FIELD, PROFILE_DETAIL_COPIED_FIELD, PROFILE_RESET_CLEAR_PROFILE_GROUPS_FIELD, PROFILE_RESET_CLEAR_ROLE_GROUPS_FIELD, PROFILE_RESET_CLEAR_ROLES_FIELD, PROFILE_USER_MIGRATION_CLEAR_SOURCE_PROFILE_ROLE_GROUPS_FIELD, PROFILE_USER_MIGRATION_CLEAR_SOURCE_PROFILE_ROLES_FIELD, PROFILE_USER_MIGRATION_CLEAR_TARGET_PROFILE_ROLE_GROUPS_FIELD, PROFILE_USER_MIGRATION_CLEAR_TARGET_PROFILE_ROLES_FIELD, PROFILE_USER_MIGRATION_SOURCE_PROFILE_EXIT_PROFILE_GROUPS_FIELD, PROFILE_USER_MIGRATION_TARGET_PROFILE_EXIT_PROFILE_GROUPS_FIELD, PROFILE_USER_MIGRATION_TARGET_PROFILE_UUID_FIELD, REMOVED_PROFILE_DETAIL_IDS_FIELD, REMOVED_ROLE_GROUP_IDS_FIELD, REMOVED_ROLE_IDS_FIELD, SOURCE_PROFILE_UUID_FIELD, USER_ID_FIELD, USER_UUID_FIELD, VIRTUAL_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets source profile id.int
hashCode()
boolean
Is copy profile groups boolean.boolean
Is copy role groups boolean.boolean
Is copy roles boolean.void
setCopyProfileGroups
(boolean copyProfileGroups) Sets copy profile groups.void
setCopyRoleGroups
(boolean copyRoleGroups) Sets copy role groups.void
setCopyRoles
(boolean copyRoles) Sets copy roles.void
setSourceProfileIdToCopy
(Long sourceProfileIdToCopy) Sets source profile id.Methods inherited from class tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.persist.HvlOAuthProfilePersistModel
getProfileDetailIdSetToAdd, getProfileDetailIdSetToRemove, setProfileDetailIdSetToAdd, setProfileDetailIdSetToRemove
Methods inherited from class tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthProfileModel
getDescription, getIntegrationCode, getName, getUser, isEnabled, isProfileDetailCopied, isVirtual, setDescription, setEnabled, setIntegrationCode, setName, setProfileDetailCopied, setUser, setVirtual
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlModel
getId, setId
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlSimpleModel
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getDeleted, getDeletedDate, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setDeleted, setDeletedDate, setUpdatedBy, setUuid, setVersion
-
Constructor Details
-
HvlOAuthProfileCopiablePersistModel
public HvlOAuthProfileCopiablePersistModel()
-
-
Method Details
-
getSourceProfileIdToCopy
Gets source profile id.- Returns:
- the source profile id
-
setSourceProfileIdToCopy
Sets source profile id.- Parameters:
sourceProfileIdToCopy
- the source profile id
-
isCopyRoles
public boolean isCopyRoles()Is copy roles boolean.- Returns:
- the boolean
-
setCopyRoles
public void setCopyRoles(boolean copyRoles) Sets copy roles.- Parameters:
copyRoles
- the copy roles
-
isCopyRoleGroups
public boolean isCopyRoleGroups()Is copy role groups boolean.- Returns:
- the boolean
-
setCopyRoleGroups
public void setCopyRoleGroups(boolean copyRoleGroups) Sets copy role groups.- Parameters:
copyRoleGroups
- the copy role groups
-
isCopyProfileGroups
public boolean isCopyProfileGroups()Is copy profile groups boolean.- Returns:
- the boolean
-
setCopyProfileGroups
public void setCopyProfileGroups(boolean copyProfileGroups) Sets copy profile groups.- Parameters:
copyProfileGroups
- the copy profile groups
-
equals
- Overrides:
equals
in classHvlOAuthProfilePersistModel
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHvlOAuthProfilePersistModel
-