public @interface GQLEntityRights
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
delete
Get whether this entity can be deleted by client.
|
boolean |
exclude
Get whether this entity is excluded from transport to client.
|
boolean |
read
Get whether this entity can be read by client.
|
boolean |
readOnly
Get whether this entity is read only (if true it is equivalent to
read==true AND save==false AND delete==false).
|
String[] |
roles
The role these rights are for.
|
boolean |
save
Get whether this entity can be saved by client.
|
public abstract String[] roles
public abstract boolean exclude
GQLEntityRights(exclude = true)". If this
is true then rights are ignored.public abstract boolean readOnly
public abstract boolean read
Copyright © 2019–2020. All rights reserved.