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 BooleanIf the User is generally enabled in the system.private ZonedDateTimeWhen the password expires.private BooleanIf the User is authenticated against an external system.private StringThe Users full name.private @Null(groups={Create.class,Modify.class}) ZonedDateTimeWhen the password has been changed the last time.private BooleanIf the User is locked from login.static final StringHTTP media type representation.private @Null(groups=Create.class) @NotBlank(groups=Modify.class) StringThe persistent key.The User's assigned role names.private @Valid UserDetailsVOMore specific details of the User.private @NotBlank(groups={Create.class,Modify.class}) StringThe User's unique name.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fields.getpKey()inthashCode()All fields.voidsetEmailAddresses(List<EmailVO> emailAddresses) voidsetEnabled(Boolean enabled) voidsetExpirationDate(ZonedDateTime expirationDate) voidvoidsetFullname(String fullname) voidsetLastPasswordChange(ZonedDateTime lastPasswordChange) voidvoidvoidsetRoleNames(List<String> roleNames) voidsetUserDetails(UserDetailsVO userDetails) voidsetUsername(String username) toString()All fields.Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOlMethods 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:
equalsin classorg.ameba.http.AbstractBase<UserVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.ameba.http.AbstractBase<UserVO>
-
toString
All fields.- Overrides:
toStringin classorg.springframework.hateoas.RepresentationModel<UserVO>
-