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, updateMongoEntity
public ScopeAdapter(ScopeEntity entity, MongoStoreInvocationContext invocationContext, AuthorizationProvider authorizationProvider)
public String getId()
Scope
public String getName()
Scope
public void setName(String name)
Scope
public String getIconUri()
Scope
URI
for this scope.getIconUri
in interface Scope
public void setIconUri(String iconUri)
Scope
URI
for this scope.setIconUri
in interface Scope
public ResourceServer getResourceServer()
Scope
ResourceServer
instance to where this scope belongs to.getResourceServer
in interface Scope
protected ScopeEntity getMongoEntity()
getMongoEntity
in class AbstractMongoAdapter<ScopeEntity>
Copyright © 2016 JBoss by Red Hat. All rights reserved.