Uses of Class
com.jms.socialmedia.token.Permission
-
Packages that use Permission Package Description com.jms.socialmedia.handlers Request Handlerscom.jms.socialmedia.token Tokens and Permissions Classes -
-
Uses of Permission in com.jms.socialmedia.handlers
Methods in com.jms.socialmedia.handlers with parameters of type Permission Modifier and Type Method Description protected void
RequestHandler. authorizeRequest(spark.Request request, Integer userIdFromRequest, Permission permission)
-
Uses of Permission in com.jms.socialmedia.token
Methods in com.jms.socialmedia.token that return Permission Modifier and Type Method Description static Permission[]
Permission. getRegularPermissions()
static Permission
Permission. valueOf(String name)
Returns the enum constant of this type with the specified name.static Permission[]
Permission. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.jms.socialmedia.token that return types with arguments of type Permission Modifier and Type Method Description Set<Permission>
Token. getPermissions()
Methods in com.jms.socialmedia.token with parameters of type Permission Modifier and Type Method Description Token.Builder
Token.Builder. addPermissions(Permission... permissions)
boolean
Token. hasPermission(Permission permission)
Method parameters in com.jms.socialmedia.token with type arguments of type Permission Modifier and Type Method Description Token.Builder
Token.Builder. addPermissions(Set<Permission> permissions)
-