public class CachedResource extends Object implements Resource
| Constructor and Description |
|---|
CachedResource(Resource resource) |
CachedResource(String id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIconUri() |
String |
getId() |
String |
getName() |
String |
getOwner() |
ResourceServer |
getResourceServer() |
String |
getResourceServerId() |
List<Scope> |
getScopes() |
Set<String> |
getScopesIds() |
String |
getType() |
String |
getUri() |
void |
setIconUri(String iconUri) |
void |
setName(String name) |
void |
setType(String type) |
void |
setUri(String uri) |
void |
updateScopes(Set<Scope> scopes) |
public CachedResource(Resource resource)
public CachedResource(String id)
public String getIconUri()
getIconUri in interface Resourcepublic void setIconUri(String iconUri)
setIconUri in interface Resourcepublic ResourceServer getResourceServer()
getResourceServer in interface Resourcepublic void updateScopes(Set<Scope> scopes)
updateScopes in interface Resourcepublic String getResourceServerId()
Copyright © 2016 JBoss by Red Hat. All rights reserved.