public class ScopeAdapter extends Object implements Scope, CachedModel<Scope>
Scope.FilterOption, Scope.SearchableFields
Modifier and Type | Field and Description |
---|---|
protected CachedScope |
cached |
protected StoreFactoryCacheSession |
cacheSession |
protected boolean |
invalidated |
protected Scope |
updated |
Constructor and Description |
---|
ScopeAdapter(CachedScope cached,
StoreFactoryCacheSession cacheSession) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCacheTimestamp() |
Scope |
getDelegateForUpdate() |
String |
getDisplayName() |
String |
getIconUri() |
String |
getId() |
String |
getName() |
ResourceServer |
getResourceServer() |
int |
hashCode() |
void |
invalidate() |
protected void |
invalidateFlag() |
protected boolean |
isUpdated() |
void |
setDisplayName(String name) |
void |
setIconUri(String iconUri) |
void |
setName(String name) |
protected CachedScope cached
protected StoreFactoryCacheSession cacheSession
protected Scope updated
protected boolean invalidated
public ScopeAdapter(CachedScope cached, StoreFactoryCacheSession cacheSession)
public Scope getDelegateForUpdate()
getDelegateForUpdate
in interface CachedModel<Scope>
protected void invalidateFlag()
public void invalidate()
invalidate
in interface CachedModel<Scope>
public long getCacheTimestamp()
getCacheTimestamp
in interface CachedModel<Scope>
protected boolean isUpdated()
public String getDisplayName()
getDisplayName
in interface Scope
public void setDisplayName(String name)
setDisplayName
in interface Scope
public String getIconUri()
getIconUri
in interface Scope
public void setIconUri(String iconUri)
setIconUri
in interface Scope
public ResourceServer getResourceServer()
getResourceServer
in interface Scope
Copyright © 2021 JBoss by Red Hat. All rights reserved.