Uses of Class
org.salespointframework.useraccount.Role
Package | Description |
---|---|
org.salespointframework.useraccount |
User account management.
|
-
Uses of Role in org.salespointframework.useraccount
Methods in org.salespointframework.useraccount that return Role Modifier and Type Method Description static Role
Role. of(String name)
Creates a newRole
instance with the given name.Methods in org.salespointframework.useraccount that return types with arguments of type Role Modifier and Type Method Description Streamable<Role>
UserAccount. getRoles()
Methods in org.salespointframework.useraccount with parameters of type Role Modifier and Type Method Description boolean
UserAccount. add(Role role)
Adds aRole
to theUserAccount
.int
Role. compareTo(Role other)
UserAccount
UserAccountManagement. create(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles)
Creates a newUserAccount
from the given username,Password.UnencryptedPassword
, email address and roles.UserAccount
UserAccountManagement. create(String userName, Password.UnencryptedPassword password, Role... roles)
Creates a newUserAccount
from the given username,Password.UnencryptedPassword
and roles.boolean
UserAccount. hasRole(Role role)
Checks if aUserAccount
has a specificRole
boolean
UserAccount. remove(Role role)
Removes aRole
from aUserAccount
.