@Entity @Indexed(index="applications") @Analyzer(definition="entity_analyzer") public final class Application extends AbstractAuthzEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
Application.Deserializer
Deserialize a reference to an Application.
|
| Constructor and Description |
|---|
Application() |
| Modifier and Type | Method and Description |
|---|---|
List<Client> |
getClients()
Get this application's clients.
|
Role |
getDefaultRole()
Get the default role for this application.
|
String |
getDescription()
Get the current application description.
|
String |
getName()
Get the name for this application.
|
User |
getOwner()
The owner for this application.
|
List<Role> |
getRoles()
Get this application's roles.
|
SortedMap<String,ApplicationScope> |
getScopes()
Get this application's scopes.
|
List<User> |
getUsers()
Get this application's users.
|
void |
setClients(List<Client> clients)
Set this application's clients.
|
void |
setDefaultRole(Role defaultRole)
Set the default role for this application.
|
void |
setDescription(String description)
Set the new description.
|
void |
setName(String name)
Set the name for this application.
|
void |
setOwner(User owner)
Set the owner for this application.
|
void |
setRoles(List<Role> roles)
Set this application's roles.
|
void |
setScopes(SortedMap<String,ApplicationScope> scopes)
Set this application's scopes.
|
void |
setUsers(List<User> users)
Set this application's users.
|
clone, equals, getCreatedDate, getId, getModifiedDate, hashCode, setCreatedDate, setId, setModifiedDate, toStringpublic String getName()
public void setName(String name)
name - A new name.public String getDescription()
public void setDescription(String description)
description - A new description.public List<Client> getClients()
public void setClients(List<Client> clients)
clients - A new list of clients.public void setUsers(List<User> users)
users - A new list of users.public void setRoles(List<Role> roles)
roles - A new list of roles.public SortedMap<String,ApplicationScope> getScopes()
public void setScopes(SortedMap<String,ApplicationScope> scopes)
scopes - A new list of scopes.public User getOwner()
getOwner in class AbstractAuthzEntitypublic void setOwner(User owner)
owner - The new owner.public Role getDefaultRole()
public void setDefaultRole(Role defaultRole)
defaultRole - The default role.Copyright © 2018 krotscheck.net. All rights reserved.