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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<SecurityObjectVO> A collection of Grants that are assigned to the Role.private BooleanWhether this Role is immutable or not.static final StringHTTP media type representation.All Users assigned to the Role.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fields.getUsers()inthashCode()All fields.static RoleVO.BuildertoString()Name only.Methods inherited from class org.openwms.core.uaa.api.SecurityObjectVO
getDescription, getName, getpKey, setDescription, setName, setpKeyMethods 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:
-
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:
equalsin classSecurityObjectVO<RoleVO>
-
hashCode
public int hashCode()All fields. All fields.- Overrides:
hashCodein classSecurityObjectVO<RoleVO>
-
toString
Name only. All fields.- Overrides:
toStringin classSecurityObjectVO<RoleVO>
-