public class ScopeAdapter extends Object implements Scope, CachedModel<Scope>
| 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 |
getIconUri() |
String |
getId() |
String |
getName() |
ResourceServer |
getResourceServer() |
int |
hashCode() |
void |
invalidate() |
protected void |
invalidateFlag() |
protected boolean |
isUpdated() |
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 getIconUri()
getIconUri in interface Scopepublic void setIconUri(String iconUri)
setIconUri in interface Scopepublic ResourceServer getResourceServer()
getResourceServer in interface ScopeCopyright © 2017 JBoss by Red Hat. All rights reserved.