| Package | Description |
|---|---|
| org.basex.core |
Database core classes.
|
| Modifier and Type | Field and Description |
|---|---|
Perm |
User.perm
Permission.
|
| Modifier and Type | Method and Description |
|---|---|
static Perm |
Perm.get(java.lang.String s)
Returns a permission matching the specified string.
|
static Perm |
Perm.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Perm[] |
Perm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
User.has(Perm p)
Tests if the user has the specified permission.
|
boolean |
Context.perm(Perm p,
MetaData md)
Checks if the current user has the specified permission.
|
| Constructor and Description |
|---|
Command(Perm p,
boolean d,
java.lang.String... arg)
Constructor.
|
Command(Perm p,
java.lang.String... arg)
Constructor for commands requiring no opened database.
|