| Package | Description | 
|---|---|
| org.gbif.api.model.common | |
| org.gbif.api.vocabulary | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
User.addRole(UserRole role)
Deprecated.  
  | 
void | 
AbstractGbifUser.addRole(UserRole role)  | 
boolean | 
User.hasRole(UserRole role)
Deprecated.  
Checks if the user has the given user role. 
 | 
boolean | 
AbstractGbifUser.hasRole(UserRole role)
Checks if the user has the given user role. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
User.setRoles(Set<UserRole> roles)
Deprecated.  
  | 
void | 
AbstractGbifUser.setRoles(Set<UserRole> roles)  | 
| Modifier and Type | Method and Description | 
|---|---|
static UserRole | 
UserRole.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static UserRole[] | 
UserRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.