Uses of Class
org.gbif.api.vocabulary.UserRole
-
Packages that use UserRole Package Description org.gbif.api.model.common org.gbif.api.vocabulary -
-
Uses of UserRole in org.gbif.api.model.common
Methods in org.gbif.api.model.common that return types with arguments of type UserRole Modifier and Type Method Description @NotNull Set<UserRole>
AbstractGbifUser. getRoles()
@NotNull Set<UserRole>
User. getRoles()
Deprecated.Methods in org.gbif.api.model.common with parameters of type UserRole Modifier and Type Method Description void
AbstractGbifUser. addRole(UserRole role)
void
User. addRole(UserRole role)
Deprecated.boolean
AbstractGbifUser. hasRole(UserRole role)
Checks if the user has the given user role.boolean
User. hasRole(UserRole role)
Deprecated.Checks if the user has the given user role.Method parameters in org.gbif.api.model.common with type arguments of type UserRole Modifier and Type Method Description void
AbstractGbifUser. setRoles(Set<UserRole> roles)
void
User. setRoles(Set<UserRole> roles)
Deprecated. -
Uses of UserRole in org.gbif.api.vocabulary
Methods in org.gbif.api.vocabulary that return UserRole Modifier and Type Method 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.
-