Package com.soffid.iam.api
Class Account
- java.lang.Object
-
- com.soffid.iam.api.Account
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserAccount
public class Account extends Object implements Serializable
ValueObject Account- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Account()
Account(Account otherBean)
Account(Long id, String system, String name, String oldName, String description, AccountType type, boolean disabled, AccountStatus status, String passwordPolicy, Collection<String> ownerGroups, Collection<String> ownerUsers, Collection<String> ownerRoles, Collection<String> managerGroups, Collection<String> managerUsers, Collection<String> managerRoles, Collection<String> grantedGroups, Collection<String> grantedUsers, Collection<String> grantedRoles, AccountAccessLevelEnum accessLevel, String serverType, String serverName, String sshPublicKey, Long vaultFolderId, String vaultFolder, boolean inheritNewPermissions, String loginUrl, String loginName, LaunchType launchType, String jumpServerGroup, Date created, Calendar lastLogin, Date lastChange, Calendar lastUpdated, Calendar lastPasswordSet, Calendar passwordExpiration, String lockedBy, PasswordValidation passwordStatus, Map<String,Object> attributes, boolean hasSnapshot)
Account(String system, String name, AccountType type, boolean disabled, String passwordPolicy, boolean inheritNewPermissions, boolean hasSnapshot)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountAccessLevelEnum
getAccessLevel()
Gets value for attribute accessLevelMap<String,Object>
getAttributes()
Gets value for attribute attributesDate
getCreated()
Gets value for attribute createdString
getDescription()
Gets value for attribute descriptionCollection<String>
getGrantedGroups()
Gets value for attribute grantedGroupsCollection<String>
getGrantedRoles()
Gets value for attribute grantedRolesCollection<String>
getGrantedUsers()
Gets value for attribute grantedUsersLong
getId()
Gets value for attribute idString
getJumpServerGroup()
Gets value for attribute jumpServerGroupDate
getLastChange()
Gets value for attribute lastChangeCalendar
getLastLogin()
Gets value for attribute lastLoginCalendar
getLastPasswordSet()
Gets value for attribute lastPasswordSetCalendar
getLastUpdated()
Gets value for attribute lastUpdatedLaunchType
getLaunchType()
Gets value for attribute launchTypeString
getLockedBy()
Gets value for attribute lockedByString
getLoginName()
Gets value for attribute loginNameString
getLoginUrl()
Gets value for attribute loginUrlCollection<String>
getManagerGroups()
Gets value for attribute managerGroupsCollection<String>
getManagerRoles()
Gets value for attribute managerRolesCollection<String>
getManagerUsers()
Gets value for attribute managerUsersString
getName()
Gets value for attribute nameString
getOldName()
Gets value for attribute oldNameCollection<String>
getOwnerGroups()
Gets value for attribute ownerGroupsCollection<String>
getOwnerRoles()
Gets value for attribute ownerRolesCollection<String>
getOwnerUsers()
Gets value for attribute ownerUsersCalendar
getPasswordExpiration()
Gets value for attribute passwordExpirationString
getPasswordPolicy()
Gets value for attribute passwordPolicyPasswordValidation
getPasswordStatus()
Gets value for attribute passwordStatusString
getServerName()
Gets value for attribute serverNameString
getServerType()
Gets value for attribute serverTypeString
getSshPublicKey()
Gets value for attribute sshPublicKeyAccountStatus
getStatus()
Gets value for attribute statusString
getSystem()
Gets value for attribute systemAccountType
getType()
Gets value for attribute typeString
getVaultFolder()
Gets value for attribute vaultFolderLong
getVaultFolderId()
Gets value for attribute vaultFolderIdboolean
isDisabled()
Gets value for attribute disabledboolean
isHasSnapshot()
Gets value for attribute hasSnapshotboolean
isInheritNewPermissions()
Gets value for attribute inheritNewPermissionsvoid
setAccessLevel(AccountAccessLevelEnum accessLevel)
Sets value for attribute accessLevelvoid
setAttributes(Map<String,Object> attributes)
Sets value for attribute attributesvoid
setCreated(Date created)
Sets value for attribute createdvoid
setDescription(String description)
Sets value for attribute descriptionvoid
setDisabled(boolean disabled)
Sets value for attribute disabledvoid
setGrantedGroups(Collection<String> grantedGroups)
Sets value for attribute grantedGroupsvoid
setGrantedRoles(Collection<String> grantedRoles)
Sets value for attribute grantedRolesvoid
setGrantedUsers(Collection<String> grantedUsers)
Sets value for attribute grantedUsersvoid
setHasSnapshot(boolean hasSnapshot)
Sets value for attribute hasSnapshotvoid
setId(Long id)
Sets value for attribute idvoid
setInheritNewPermissions(boolean inheritNewPermissions)
Sets value for attribute inheritNewPermissionsvoid
setJumpServerGroup(String jumpServerGroup)
Sets value for attribute jumpServerGroupvoid
setLastChange(Date lastChange)
Sets value for attribute lastChangevoid
setLastLogin(Calendar lastLogin)
Sets value for attribute lastLoginvoid
setLastPasswordSet(Calendar lastPasswordSet)
Sets value for attribute lastPasswordSetvoid
setLastUpdated(Calendar lastUpdated)
Sets value for attribute lastUpdatedvoid
setLaunchType(LaunchType launchType)
Sets value for attribute launchTypevoid
setLockedBy(String lockedBy)
Sets value for attribute lockedByvoid
setLoginName(String loginName)
Sets value for attribute loginNamevoid
setLoginUrl(String loginUrl)
Sets value for attribute loginUrlvoid
setManagerGroups(Collection<String> managerGroups)
Sets value for attribute managerGroupsvoid
setManagerRoles(Collection<String> managerRoles)
Sets value for attribute managerRolesvoid
setManagerUsers(Collection<String> managerUsers)
Sets value for attribute managerUsersvoid
setName(String name)
Sets value for attribute namevoid
setOldName(String oldName)
Sets value for attribute oldNamevoid
setOwnerGroups(Collection<String> ownerGroups)
Sets value for attribute ownerGroupsvoid
setOwnerRoles(Collection<String> ownerRoles)
Sets value for attribute ownerRolesvoid
setOwnerUsers(Collection<String> ownerUsers)
Sets value for attribute ownerUsersvoid
setPasswordExpiration(Calendar passwordExpiration)
Sets value for attribute passwordExpirationvoid
setPasswordPolicy(String passwordPolicy)
Sets value for attribute passwordPolicyvoid
setPasswordStatus(PasswordValidation passwordStatus)
Sets value for attribute passwordStatusvoid
setServerName(String serverName)
Sets value for attribute serverNamevoid
setServerType(String serverType)
Sets value for attribute serverTypevoid
setSshPublicKey(String sshPublicKey)
Sets value for attribute sshPublicKeyvoid
setStatus(AccountStatus status)
Sets value for attribute statusvoid
setSystem(String system)
Sets value for attribute systemvoid
setType(AccountType type)
Sets value for attribute typevoid
setVaultFolder(String vaultFolder)
Sets value for attribute vaultFoldervoid
setVaultFolderId(Long vaultFolderId)
Sets value for attribute vaultFolderIdstatic Account
toAccount(Account vo)
Creates a Account value object based on a Account object.static void
toAccount(Account source, Account target)
Updates a Account value object based on a Account object.static Account[]
toAccountArray(Account[] source)
Creates a Account array on a Account array.static AsyncList<Account>
toAccountAsyncList(AsyncList<Account> source)
Creates a Account asynclist on a Account collection.static PagedResult<Account>
toAccountList(PagedResult<Account> source)
Creates a Account pagedResult on a Account collection.static List<Account>
toAccountList(Collection<Account> source)
Creates a Account list on a Account collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
Account
public Account()
-
Account
public Account(Long id, String system, String name, String oldName, String description, AccountType type, boolean disabled, AccountStatus status, String passwordPolicy, Collection<String> ownerGroups, Collection<String> ownerUsers, Collection<String> ownerRoles, Collection<String> managerGroups, Collection<String> managerUsers, Collection<String> managerRoles, Collection<String> grantedGroups, Collection<String> grantedUsers, Collection<String> grantedRoles, AccountAccessLevelEnum accessLevel, String serverType, String serverName, String sshPublicKey, Long vaultFolderId, String vaultFolder, boolean inheritNewPermissions, String loginUrl, String loginName, LaunchType launchType, String jumpServerGroup, Date created, Calendar lastLogin, Date lastChange, Calendar lastUpdated, Calendar lastPasswordSet, Calendar passwordExpiration, String lockedBy, PasswordValidation passwordStatus, Map<String,Object> attributes, boolean hasSnapshot)
-
Account
public Account(String system, String name, AccountType type, boolean disabled, String passwordPolicy, boolean inheritNewPermissions, boolean hasSnapshot)
-
Account
public Account(Account otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getSystem
public String getSystem()
Gets value for attribute system
-
setSystem
public void setSystem(String system)
Sets value for attribute system
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getOldName
public String getOldName()
Gets value for attribute oldName
-
setOldName
public void setOldName(String oldName)
Sets value for attribute oldName
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getType
public AccountType getType()
Gets value for attribute type
-
setType
public void setType(AccountType type)
Sets value for attribute type
-
isDisabled
public boolean isDisabled()
Gets value for attribute disabled
-
setDisabled
public void setDisabled(boolean disabled)
Sets value for attribute disabled
-
getStatus
public AccountStatus getStatus()
Gets value for attribute status
-
setStatus
public void setStatus(AccountStatus status)
Sets value for attribute status
-
getPasswordPolicy
public String getPasswordPolicy()
Gets value for attribute passwordPolicy
-
setPasswordPolicy
public void setPasswordPolicy(String passwordPolicy)
Sets value for attribute passwordPolicy
-
getOwnerGroups
public Collection<String> getOwnerGroups()
Gets value for attribute ownerGroups
-
setOwnerGroups
public void setOwnerGroups(Collection<String> ownerGroups)
Sets value for attribute ownerGroups
-
getOwnerUsers
public Collection<String> getOwnerUsers()
Gets value for attribute ownerUsers
-
setOwnerUsers
public void setOwnerUsers(Collection<String> ownerUsers)
Sets value for attribute ownerUsers
-
getOwnerRoles
public Collection<String> getOwnerRoles()
Gets value for attribute ownerRoles
-
setOwnerRoles
public void setOwnerRoles(Collection<String> ownerRoles)
Sets value for attribute ownerRoles
-
getManagerGroups
public Collection<String> getManagerGroups()
Gets value for attribute managerGroups
-
setManagerGroups
public void setManagerGroups(Collection<String> managerGroups)
Sets value for attribute managerGroups
-
getManagerUsers
public Collection<String> getManagerUsers()
Gets value for attribute managerUsers
-
setManagerUsers
public void setManagerUsers(Collection<String> managerUsers)
Sets value for attribute managerUsers
-
getManagerRoles
public Collection<String> getManagerRoles()
Gets value for attribute managerRoles
-
setManagerRoles
public void setManagerRoles(Collection<String> managerRoles)
Sets value for attribute managerRoles
-
getGrantedGroups
public Collection<String> getGrantedGroups()
Gets value for attribute grantedGroups
-
setGrantedGroups
public void setGrantedGroups(Collection<String> grantedGroups)
Sets value for attribute grantedGroups
-
getGrantedUsers
public Collection<String> getGrantedUsers()
Gets value for attribute grantedUsers
-
setGrantedUsers
public void setGrantedUsers(Collection<String> grantedUsers)
Sets value for attribute grantedUsers
-
getGrantedRoles
public Collection<String> getGrantedRoles()
Gets value for attribute grantedRoles
-
setGrantedRoles
public void setGrantedRoles(Collection<String> grantedRoles)
Sets value for attribute grantedRoles
-
getAccessLevel
public AccountAccessLevelEnum getAccessLevel()
Gets value for attribute accessLevel
-
setAccessLevel
public void setAccessLevel(AccountAccessLevelEnum accessLevel)
Sets value for attribute accessLevel
-
getServerType
public String getServerType()
Gets value for attribute serverType
-
setServerType
public void setServerType(String serverType)
Sets value for attribute serverType
-
getServerName
public String getServerName()
Gets value for attribute serverName
-
setServerName
public void setServerName(String serverName)
Sets value for attribute serverName
-
getSshPublicKey
public String getSshPublicKey()
Gets value for attribute sshPublicKey
-
setSshPublicKey
public void setSshPublicKey(String sshPublicKey)
Sets value for attribute sshPublicKey
-
getVaultFolderId
public Long getVaultFolderId()
Gets value for attribute vaultFolderId
-
setVaultFolderId
public void setVaultFolderId(Long vaultFolderId)
Sets value for attribute vaultFolderId
-
getVaultFolder
public String getVaultFolder()
Gets value for attribute vaultFolder
-
setVaultFolder
public void setVaultFolder(String vaultFolder)
Sets value for attribute vaultFolder
-
isInheritNewPermissions
public boolean isInheritNewPermissions()
Gets value for attribute inheritNewPermissions
-
setInheritNewPermissions
public void setInheritNewPermissions(boolean inheritNewPermissions)
Sets value for attribute inheritNewPermissions
-
getLoginUrl
public String getLoginUrl()
Gets value for attribute loginUrl
-
setLoginUrl
public void setLoginUrl(String loginUrl)
Sets value for attribute loginUrl
-
getLoginName
public String getLoginName()
Gets value for attribute loginName
-
setLoginName
public void setLoginName(String loginName)
Sets value for attribute loginName
-
getLaunchType
public LaunchType getLaunchType()
Gets value for attribute launchType
-
setLaunchType
public void setLaunchType(LaunchType launchType)
Sets value for attribute launchType
-
getJumpServerGroup
public String getJumpServerGroup()
Gets value for attribute jumpServerGroup
-
setJumpServerGroup
public void setJumpServerGroup(String jumpServerGroup)
Sets value for attribute jumpServerGroup
-
getCreated
public Date getCreated()
Gets value for attribute created
-
setCreated
public void setCreated(Date created)
Sets value for attribute created
-
getLastLogin
public Calendar getLastLogin()
Gets value for attribute lastLogin
-
setLastLogin
public void setLastLogin(Calendar lastLogin)
Sets value for attribute lastLogin
-
getLastChange
public Date getLastChange()
Gets value for attribute lastChange
-
setLastChange
public void setLastChange(Date lastChange)
Sets value for attribute lastChange
-
getLastUpdated
public Calendar getLastUpdated()
Gets value for attribute lastUpdated
-
setLastUpdated
public void setLastUpdated(Calendar lastUpdated)
Sets value for attribute lastUpdated
-
getLastPasswordSet
public Calendar getLastPasswordSet()
Gets value for attribute lastPasswordSet
-
setLastPasswordSet
public void setLastPasswordSet(Calendar lastPasswordSet)
Sets value for attribute lastPasswordSet
-
getPasswordExpiration
public Calendar getPasswordExpiration()
Gets value for attribute passwordExpiration
-
setPasswordExpiration
public void setPasswordExpiration(Calendar passwordExpiration)
Sets value for attribute passwordExpiration
-
getLockedBy
public String getLockedBy()
Gets value for attribute lockedBy
-
setLockedBy
public void setLockedBy(String lockedBy)
Sets value for attribute lockedBy
-
getPasswordStatus
public PasswordValidation getPasswordStatus()
Gets value for attribute passwordStatus
-
setPasswordStatus
public void setPasswordStatus(PasswordValidation passwordStatus)
Sets value for attribute passwordStatus
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Sets value for attribute attributes
-
isHasSnapshot
public boolean isHasSnapshot()
Gets value for attribute hasSnapshot
-
setHasSnapshot
public void setHasSnapshot(boolean hasSnapshot)
Sets value for attribute hasSnapshot
-
toString
public String toString()
Returns a string representation of the value object.
-
toAccount
public static Account toAccount(Account vo)
Creates a Account value object based on a Account object.
-
toAccountList
public static List<Account> toAccountList(Collection<Account> source)
Creates a Account list on a Account collection.
-
toAccountList
public static PagedResult<Account> toAccountList(PagedResult<Account> source)
Creates a Account pagedResult on a Account collection.
-
toAccountAsyncList
public static AsyncList<Account> toAccountAsyncList(AsyncList<Account> source)
Creates a Account asynclist on a Account collection.
-
toAccountArray
public static Account[] toAccountArray(Account[] source)
Creates a Account array on a Account array.
-
-