@Entity @Indexed(index="application_scopes") @Analyzer(definition="entity_analyzer") public final class ApplicationScope extends AbstractAuthzEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationScope.Deserializer
Deserialize a reference to an Application.
|
| Constructor and Description |
|---|
ApplicationScope() |
| Modifier and Type | Method and Description |
|---|---|
Application |
getApplication()
Get the application this scope belongs to.
|
String |
getName()
Get the name for this scope.
|
User |
getOwner()
The owner of this entity.
|
List<Role> |
getRoles()
Get all roles associated with this scope.
|
List<OAuthToken> |
getTokens()
Get all tokens associated with this scope.
|
void |
setApplication(Application application)
Set the application which this scope belongs to.
|
void |
setName(String name)
Set the name for this scope.
|
void |
setRoles(List<Role> roles)
Set all roles associated with this scope.
|
void |
setTokens(List<OAuthToken> tokens)
Set all tokens associated with this scope.
|
clone, equals, getCreatedDate, getId, getModifiedDate, hashCode, setCreatedDate, setId, setModifiedDate, toStringpublic Application getApplication()
public void setApplication(Application application)
application - The new application.public List<Role> getRoles()
public void setRoles(List<Role> roles)
roles - The roles.public List<OAuthToken> getTokens()
public void setTokens(List<OAuthToken> tokens)
tokens - The tokens.public String getName()
public void setName(String name)
name - A new name.public User getOwner()
getOwner in class AbstractAuthzEntityCopyright © 2018 krotscheck.net. All rights reserved.