Package | Description |
---|---|
org.mycontroller.standalone.api.jaxrs.mixins.serializers | |
org.mycontroller.standalone.auth |
Modifier and Type | Method and Description |
---|---|
void |
PermissionSerializer.serialize(AuthUtils.PERMISSION_TYPE type,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
static AuthUtils.PERMISSION_TYPE |
AuthUtils.PERMISSION_TYPE.fromString(String text) |
static AuthUtils.PERMISSION_TYPE |
AuthUtils.PERMISSION_TYPE.get(int id) |
static AuthUtils.PERMISSION_TYPE |
AuthUtils.PERMISSION_TYPE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthUtils.PERMISSION_TYPE[] |
AuthUtils.PERMISSION_TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AuthUtils.hasPermission(User user,
AuthUtils.PERMISSION_TYPE permissionType) |
Copyright © 2015–2019. All rights reserved.