Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.common.base.Optional<UserAttribute> |
getAttribute(String name) |
Set<Authorization> |
getAuthorizations() |
com.google.common.base.Optional<Locale> |
getLocale() |
String |
getName() |
boolean |
hasAuthorization(Authorization authorization)
Checks whether the user has the given authorization.
|
int |
hashCode() |
String |
toString() |
public com.google.common.base.Optional<Locale> getLocale()
public boolean hasAuthorization(Authorization authorization)
User
hasAuthorization
in interface User
public Set<Authorization> getAuthorizations()
getAuthorizations
in interface User
public com.google.common.base.Optional<UserAttribute> getAttribute(String name)
getAttribute
in interface User
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public String getName()
Copyright © 2017 SAP SE. All rights reserved.