Package es.caib.seycon.ng.comu
Class UserAccount
- java.lang.Object
-
- es.caib.seycon.ng.comu.Account
-
- es.caib.seycon.ng.comu.UserAccount
-
- All Implemented Interfaces:
Serializable
public class UserAccount extends Account implements Serializable
ValueObject UserAccount- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserAccount()
UserAccount(UserAccount otherBean)
UserAccount(Long id, String dispatcher, 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, String user)
UserAccount(String dispatcher, String name, AccountType type, boolean disabled, String passwordPolicy, boolean inheritNewPermissions, boolean hasSnapshot, String user)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUser()
Gets value for attribute uservoid
setUser(String user)
Sets value for attribute userString
toString()
Returns a string representation of the value object.static UserAccount
toUserAccount(UserAccount vo)
Creates a UserAccount value object based on a UserAccount object.static void
toUserAccount(UserAccount source, UserAccount target)
Updates a UserAccount value object based on a UserAccount object.static UserAccount[]
toUserAccountArray(UserAccount[] source)
Creates a UserAccount array on a UserAccount array.static AsyncList<UserAccount>
toUserAccountAsyncList(AsyncList<UserAccount> source)
Creates a UserAccount asynclist on a UserAccount collection.static PagedResult<UserAccount>
toUserAccountList(PagedResult<UserAccount> source)
Creates a UserAccount pagedResult on a UserAccount collection.static List<UserAccount>
toUserAccountList(Collection<UserAccount> source)
Creates a UserAccount list on a UserAccount collection.-
Methods inherited from class es.caib.seycon.ng.comu.Account
getAccessLevel, getAttributes, getCreated, getDescription, getDispatcher, getGrantedGroups, getGrantedRoles, getGrantedUsers, getId, getJumpServerGroup, getLastChange, getLastLogin, getLastPasswordSet, getLastUpdated, getLaunchType, getLockedBy, getLoginName, getLoginUrl, getManagerGroups, getManagerRoles, getManagerUsers, getName, getOldName, getOwnerGroups, getOwnerRoles, getOwnerUsers, getPasswordExpiration, getPasswordPolicy, getPasswordStatus, getServerName, getServerType, getSshPublicKey, getStatus, getType, getVaultFolder, getVaultFolderId, isDisabled, isHasSnapshot, isInheritNewPermissions, setAccessLevel, setAttributes, setCreated, setDescription, setDisabled, setDispatcher, setGrantedGroups, setGrantedRoles, setGrantedUsers, setHasSnapshot, setId, setInheritNewPermissions, setJumpServerGroup, setLastChange, setLastLogin, setLastPasswordSet, setLastUpdated, setLaunchType, setLockedBy, setLoginName, setLoginUrl, setManagerGroups, setManagerRoles, setManagerUsers, setName, setOldName, setOwnerGroups, setOwnerRoles, setOwnerUsers, setPasswordExpiration, setPasswordPolicy, setPasswordStatus, setServerName, setServerType, setSshPublicKey, setStatus, setType, setVaultFolder, setVaultFolderId, toAccount, toAccount, toAccountArray, toAccountAsyncList, toAccountList, toAccountList
-
-
-
-
Constructor Detail
-
UserAccount
public UserAccount()
-
UserAccount
public UserAccount(Long id, String dispatcher, 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, String user)
-
UserAccount
public UserAccount(String dispatcher, String name, AccountType type, boolean disabled, String passwordPolicy, boolean inheritNewPermissions, boolean hasSnapshot, String user)
-
UserAccount
public UserAccount(UserAccount otherBean)
-
-
Method Detail
-
getUser
public String getUser()
Gets value for attribute user
-
setUser
public void setUser(String user)
Sets value for attribute user
-
toString
public String toString()
Returns a string representation of the value object.
-
toUserAccount
public static UserAccount toUserAccount(UserAccount vo)
Creates a UserAccount value object based on a UserAccount object.
-
toUserAccountList
public static List<UserAccount> toUserAccountList(Collection<UserAccount> source)
Creates a UserAccount list on a UserAccount collection.
-
toUserAccountList
public static PagedResult<UserAccount> toUserAccountList(PagedResult<UserAccount> source)
Creates a UserAccount pagedResult on a UserAccount collection.
-
toUserAccountAsyncList
public static AsyncList<UserAccount> toUserAccountAsyncList(AsyncList<UserAccount> source)
Creates a UserAccount asynclist on a UserAccount collection.
-
toUserAccountArray
public static UserAccount[] toUserAccountArray(UserAccount[] source)
Creates a UserAccount array on a UserAccount array.
-
toUserAccount
public static void toUserAccount(UserAccount source, UserAccount target)
Updates a UserAccount value object based on a UserAccount object.
-
-