public class ResourceAdapter extends AbstractMongoAdapter<ResourceEntity> implements Resource
invocationContext| Constructor and Description |
|---|
ResourceAdapter(ResourceEntity entity,
MongoStoreInvocationContext invocationContext,
AuthorizationProvider authorizationProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIconUri() |
String |
getId() |
protected ResourceEntity |
getMongoEntity() |
String |
getName() |
String |
getOwner() |
ResourceServer |
getResourceServer() |
List<Scope> |
getScopes() |
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) |
equals, getMongoStore, hashCode, updateMongoEntitypublic ResourceAdapter(ResourceEntity entity, MongoStoreInvocationContext invocationContext, AuthorizationProvider authorizationProvider)
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 Resourceprotected ResourceEntity getMongoEntity()
getMongoEntity in class AbstractMongoAdapter<ResourceEntity>Copyright © 2017 JBoss by Red Hat. All rights reserved.