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 RoleRole. of(String name)Creates a newRoleinstance 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 booleanUserAccount. add(Role role)Adds aRoleto theUserAccount.intRole. compareTo(Role other)UserAccountUserAccountManagement. create(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles)Creates a newUserAccountfrom the given username,Password.UnencryptedPassword, email address and roles.UserAccountUserAccountManagement. create(String userName, Password.UnencryptedPassword password, Role... roles)Creates a newUserAccountfrom the given username,Password.UnencryptedPasswordand roles.booleanUserAccount. hasRole(Role role)Checks if aUserAccounthas a specificRolebooleanUserAccount. remove(Role role)Removes aRolefrom aUserAccount.