Package org.openwms.core.uaa.api
Class UserVO
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticatedUserVO
A UserVO is the representation of a human User with all attributes of interest.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotEmpty(groups={Create.class,Modify.class}) List
<EmailVO> The User's email addresses.private Boolean
If the User is generally enabled in the system.private ZonedDateTime
When the password expires.private Boolean
If the User is authenticated against an external system.private String
The Users full name.private @Null(groups={Create.class,Modify.class}) ZonedDateTime
When the password has been changed the last time.private Boolean
If the User is locked from login.static final String
HTTP media type representation.private @Null(groups=Create.class) @NotBlank(groups=Modify.class) String
The persistent key.The User's assigned role names.private @Valid UserDetailsVO
More specific details of the User.private @NotBlank(groups={Create.class,Modify.class}) String
The User's unique name.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.getpKey()
int
hashCode()
All fields.void
setEmailAddresses
(List<EmailVO> emailAddresses) void
setEnabled
(Boolean enabled) void
setExpirationDate
(ZonedDateTime expirationDate) void
void
setFullname
(String fullname) void
setLastPasswordChange
(ZonedDateTime lastPasswordChange) void
void
void
setRoleNames
(List<String> roleNames) void
setUserDetails
(UserDetailsVO userDetails) void
setUsername
(String username) toString()
All fields.Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
MEDIA_TYPE
HTTP media type representation.- See Also:
-
pKey
@Null(groups=Create.class) @NotBlank(groups=Modify.class) private @Null(groups=Create.class) @NotBlank(groups=Modify.class) String pKeyThe persistent key. -
username
@NotBlank(groups={Create.class,Modify.class}) private @NotBlank(groups={Create.class,Modify.class}) String usernameThe User's unique name. -
extern
If the User is authenticated against an external system. -
lastPasswordChange
@Null(groups={Create.class,Modify.class}) private @Null(groups={Create.class,Modify.class}) ZonedDateTime lastPasswordChangeWhen the password has been changed the last time. -
locked
If the User is locked from login. -
enabled
If the User is generally enabled in the system. -
expirationDate
When the password expires. -
fullname
The Users full name. -
userDetails
More specific details of the User. -
emailAddresses
@NotEmpty(groups={Create.class,Modify.class}) private @NotEmpty(groups={Create.class,Modify.class}) List<EmailVO> emailAddressesThe User's email addresses. -
roleNames
The User's assigned role names.
-
-
Constructor Details
-
UserVO
public UserVO() -
UserVO
-
-
Method Details
-
getpKey
-
getExtern
-
getUsername
-
getLastPasswordChange
-
getLocked
-
getEnabled
-
getExpirationDate
-
getFullname
-
getUserDetails
-
getEmailAddresses
-
setEmailAddresses
-
getRoleNames
-
setRoleNames
-
setpKey
-
setUsername
-
setExtern
-
setLastPasswordChange
-
setLocked
-
setEnabled
-
setExpirationDate
-
setFullname
-
setUserDetails
-
equals
All fields.- Overrides:
equals
in classorg.ameba.http.AbstractBase<UserVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.ameba.http.AbstractBase<UserVO>
-
toString
All fields.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<UserVO>
-