| Package | Description |
|---|---|
| com.erudika.para.core |
Core domain classes for modeling the Para domain space.
|
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<App.AllowedMethods> |
App.AllowedMethods.ALL
All methods allowed.
|
static EnumSet<App.AllowedMethods> |
App.AllowedMethods.ALL_EXCEPT_DELETE
All methods allowed, except DELETE.
|
static EnumSet<App.AllowedMethods> |
App.AllowedMethods.NONE
No methods allowed.
|
static EnumSet<App.AllowedMethods> |
App.AllowedMethods.READ
Only GET is allowed.
|
static EnumSet<App.AllowedMethods> |
App.AllowedMethods.READ_AND_WRITE
All methods allowed (*).
|
static EnumSet<App.AllowedMethods> |
App.AllowedMethods.WRITE
All methods allowed, except GET.
|
| Modifier and Type | Method and Description |
|---|---|
static App.AllowedMethods |
App.AllowedMethods.fromString(String value)
Constructs the enum from a string value.
|
static App.AllowedMethods |
App.AllowedMethods.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static App.AllowedMethods[] |
App.AllowedMethods.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
App.grantResourcePermission(String subjectid,
String resourcePath,
EnumSet<App.AllowedMethods> permission)
Grants a new permission for a given subject and resource.
|
boolean |
App.grantResourcePermission(String subjectid,
String resourcePath,
EnumSet<App.AllowedMethods> permission,
boolean allowGuestAccess)
Grants a new permission for a given subject and resource.
|
Copyright © 2018 Erudika. All rights reserved.