Uses of Enum Class
com.erudika.para.core.App.AllowedMethods
-
Uses of App.AllowedMethods in com.erudika.para.core
Modifier and TypeFieldDescriptionstatic final EnumSet
<App.AllowedMethods> App.AllowedMethods.ALL
All methods allowed.static final EnumSet
<App.AllowedMethods> App.AllowedMethods.ALL_EXCEPT_DELETE
All methods allowed, except DELETE.static final EnumSet
<App.AllowedMethods> App.AllowedMethods.NONE
No methods allowed.static final EnumSet
<App.AllowedMethods> App.AllowedMethods.READ
Only GET is allowed.static final EnumSet
<App.AllowedMethods> App.AllowedMethods.READ_AND_WRITE
All methods allowed (*).static final EnumSet
<App.AllowedMethods> App.AllowedMethods.WRITE
All methods allowed, except GET.Modifier and TypeMethodDescriptionstatic App.AllowedMethods
App.AllowedMethods.fromString
(String value) Constructs the enum from a string value.static App.AllowedMethods
Returns the enum constant of this class with the specified name.static App.AllowedMethods[]
App.AllowedMethods.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
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.