public abstract class MapScopeAdapter<K> extends AbstractScopeModel<MapScopeEntity<K>>
Scope.FilterOption, Scope.SearchableFields
entity
storeFactory
Constructor and Description |
---|
MapScopeAdapter(MapScopeEntity<K> entity,
StoreFactory storeFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the end user friendly name for this scope.
|
String |
getIconUri()
Returns an icon
URI for this scope. |
String |
getName()
Returns the name of this scope.
|
ResourceServer |
getResourceServer()
Returns the
ResourceServer instance to where this scope belongs to. |
void |
setDisplayName(String name)
Sets an end user friendly name for this scope.
|
void |
setIconUri(String iconUri)
Sets an icon
URI for this scope. |
void |
setName(String name)
Sets a name for this scope.
|
String |
toString() |
equals, hashCode
throwExceptionIfReadonly
public MapScopeAdapter(MapScopeEntity<K> entity, StoreFactory storeFactory)
public String getName()
Scope
public void setName(String name)
Scope
name
- the name of this scopepublic String getDisplayName()
Scope
Scope.getName()
is returned.public void setDisplayName(String name)
Scope
name
- the name of this scopepublic String getIconUri()
Scope
URI
for this scope.public void setIconUri(String iconUri)
Scope
URI
for this scope.public ResourceServer getResourceServer()
Scope
ResourceServer
instance to where this scope belongs to.Copyright © 2021 JBoss by Red Hat. All rights reserved.