Package org.openwms.core.uaa.api
Class RoleVO
java.lang.Object
- All Implemented Interfaces:
Serializable
A RoleVO is groups a collections of permissions (grants). Users might be assigned to roles.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Set
<SecurityObjectVO> A collection of Grants that are assigned to the Role.private Boolean
Whether this Role is immutable or not.static final String
HTTP media type representation.All Users assigned to the Role.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.getUsers()
int
hashCode()
All fields.static RoleVO.Builder
toString()
Name only.Methods inherited from class org.openwms.core.uaa.api.SecurityObjectVO
getDescription, getName, getpKey, setDescription, setName, setpKey
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:
-
immutable
Whether this Role is immutable or not. Immutable Roles can't be modified. -
users
All Users assigned to the Role. -
grants
A collection of Grants that are assigned to the Role.
-
-
Constructor Details
-
RoleVO
public RoleVO() -
RoleVO
-
-
Method Details
-
newBuilder
-
getImmutable
-
getUsers
-
getGrants
-
equals
All fields. All fields.- Overrides:
equals
in classSecurityObjectVO<RoleVO>
-
hashCode
public int hashCode()All fields. All fields.- Overrides:
hashCode
in classSecurityObjectVO<RoleVO>
-
toString
Name only. All fields.- Overrides:
toString
in classSecurityObjectVO<RoleVO>
-