@MongoCollection(collectionName="resources") public class ResourceEntity extends AbstractIdentifiableEntity implements MongoIdentifiableEntity
id| Constructor and Description |
|---|
ResourceEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRemove(MongoStoreInvocationContext invocationContext)
Lifecycle callback, which is called after removal of this object from Mongo.
|
String |
getIconUri() |
String |
getName() |
String |
getOwner() |
String |
getResourceServerId() |
List<String> |
getScopes() |
String |
getType() |
String |
getUri() |
void |
setIconUri(String iconUri) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setResourceServerId(String resourceServerId) |
void |
setScopes(List<String> scopes) |
void |
setType(String type) |
void |
setUri(String uri) |
void |
updateScopes(Set<Scope> toUpdate) |
equals, getId, hashCode, setId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, setIdpublic String getName()
public void setName(String name)
public String getUri()
public void setUri(String uri)
public String getType()
public void setType(String type)
public String getIconUri()
public void setIconUri(String iconUri)
public String getResourceServerId()
public void setResourceServerId(String resourceServerId)
public String getOwner()
public void setOwner(String owner)
public void afterRemove(MongoStoreInvocationContext invocationContext)
MongoIdentifiableEntityafterRemove in interface MongoIdentifiableEntityCopyright © 2016 JBoss by Red Hat. All rights reserved.