Uses of Enum Class
ca.cdr.api.model.enm.PermissionEnum
Package
Description
Machinery for declaring, parsing, and formatting PermissionEnum arguments from GrantedAuthorityJson.
-
Uses of PermissionEnum in ca.cdr.api.model.enm
Modifier and TypeMethodDescriptionstatic PermissionEnum
Returns the enum constant of this class with the specified name.static PermissionEnum[]
PermissionEnum.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Optional<PermissionEnum>
static List<PermissionEnum>
PermissionEnum.getImplies()
static Set<PermissionEnum>
PermissionEnum.roles()
Deprecated.Modifier and TypeMethodDescriptionstatic void
PermissionEnum.validateInheritedPermissionsFormat
(PermissionEnum[] theImplies, PermissionArgumentFormat<?> theFormat) -
Uses of PermissionEnum in ca.cdr.api.model.json
Modifier and TypeMethodDescriptionGrantedAuthorityJson.getPermission()
static PermissionEnum
UserDetailsJson.toPermissionEnum
(String thePermission) Modifier and TypeMethodDescriptiondefault void
IHasAuthorities.addAuthority
(PermissionEnum thePermission, String theArgument) UserDetailsJson.addAuthority
(PermissionEnum thePermission) IHasAuthorities.hasArgumentsForAuthority
(PermissionEnum thePermission) Called from javascriptdefault boolean
IHasAuthorities.hasAuthority
(PermissionEnum thePermission) Returns true if the user has an authority matching this permission, including any that require arguments (in other words, this check is not argument aware)ModifierConstructorDescriptionGrantedAuthorityJson
(PermissionEnum thePermission) ConstructorGrantedAuthorityJson
(PermissionEnum thePermission, String theArgument) Constructor -
Uses of PermissionEnum in ca.cdr.api.security.permission
Modifier and TypeMethodDescriptionstatic GrantedAuthorityJson
PermissionArgumentFormat.buildAuthority
(PermissionEnum thePermissionEnum, PermissionArgumentValue theArgumentValue) Typesafe authority builder.