public class ScopeAdapter extends AbstractMongoAdapter<ScopeEntity> implements Scope
invocationContext| Constructor and Description |
|---|
ScopeAdapter(ScopeEntity entity,
MongoStoreInvocationContext invocationContext,
AuthorizationProvider authorizationProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIconUri()
Returns an icon
URI for this scope. |
String |
getId()
Returns the unique identifier for this instance.
|
protected ScopeEntity |
getMongoEntity() |
String |
getName()
Returns the name of this scope.
|
ResourceServer |
getResourceServer()
Returns the
ResourceServer instance to where this scope belongs to. |
void |
setIconUri(String iconUri)
Sets an icon
URI for this scope. |
void |
setName(String name)
Sets a name for this scope.
|
equals, getMongoStore, hashCode, updateMongoEntitypublic ScopeAdapter(ScopeEntity entity, MongoStoreInvocationContext invocationContext, AuthorizationProvider authorizationProvider)
public String getId()
Scopepublic String getName()
Scopepublic void setName(String name)
Scopepublic String getIconUri()
ScopeURI for this scope.getIconUri in interface Scopepublic void setIconUri(String iconUri)
ScopeURI for this scope.setIconUri in interface Scopepublic ResourceServer getResourceServer()
ScopeResourceServer instance to where this scope belongs to.getResourceServer in interface Scopeprotected ScopeEntity getMongoEntity()
getMongoEntity in class AbstractMongoAdapter<ScopeEntity>Copyright © 2016 JBoss by Red Hat. All rights reserved.