public class EditRights
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
EditRights |
allowCreate()
Returns new rights, does not modify.
|
EditRights |
allowDelete()
Returns new rights, does not modify.
|
EditRights |
allowModify()
Returns new rights, does not modify.
|
EditRights |
allowRename()
Returns new rights, does not modify.
|
static EditRights |
allRights() |
boolean |
canCreate() |
boolean |
canDelete() |
boolean |
canModify() |
boolean |
canRename() |
static EditRights |
create(boolean create,
boolean modify,
boolean rename,
boolean delete) |
static EditRights |
noRights() |
public static EditRights allRights()
public static EditRights noRights()
public static EditRights create(boolean create, boolean modify, boolean rename, boolean delete)
public boolean canCreate()
public boolean canModify()
public boolean canRename()
public boolean canDelete()
public EditRights allowCreate()
public EditRights allowModify()
public EditRights allowRename()
public EditRights allowDelete()