Uses of Class
ca.cdr.api.security.permission.PermissionArgumentValue
Package
Description
Machinery for declaring, parsing, and formatting PermissionEnum arguments from GrantedAuthorityJson.
-
Uses of PermissionArgumentValue in ca.cdr.api.security.permission
Modifier and TypeInterfaceDescriptioninterface
PermissionArgumentFormat<F extends PermissionArgumentValue>
Public interface for the various permission argument formats.Modifier and TypeClassDescriptionfinal class
A narrowing filter - does a resource (of type), have a search param (by name), in a ValueSet (via url).final class
types within compartments.final class
types within compartment.final class
Access to a compartment, with optional FHIR query.final class
Types available for export.final class
Access to a single resource instance, with optional FHIR query.final class
Our no-parameter parameter value.class
A single String which contains Node ID and Module ID separated by a slash `/`.final class
An operation name.final class
An operation name and a target resource type.final class
Access to everything, or limited by an optional FHIR query.final class
Access to a single type, with optional FHIR query.final class
Access to a single type within a compartment, with optional FHIR query.Modifier and TypeMethodDescriptiondefault <T extends PermissionArgumentValue>
StringPermissionArgumentFormat.formatIfValid
(T theArgument) <T extends PermissionArgumentValue>
Optional<T>PermissionArgumentParser.parse
(String thePermissionArgument, PermissionArgumentFormat<T> theFormat) Parse a string against a defined format.<T extends PermissionArgumentValue>
Optional<T>PermissionArgumentParser.parseForValue
(GrantedAuthorityJson theGrantedAuthority, Class<T> theArgumentValueType) Parse the argument string from the GrantedAuthorityJson into the declared argument value type.Modifier and TypeMethodDescriptionstatic PermissionArgumentValue
static PermissionArgumentValue
TypeInCompartmentWithOptionalFilter.build
(String theType, IIdType theCompartmentOwner, String theFilter) Modifier and TypeMethodDescriptionPermissionArgumentParser.parse
(GrantedAuthorityJson theGrantedAuthority) Parse any authority generically.Modifier and TypeMethodDescriptionstatic GrantedAuthorityJson
PermissionArgumentFormat.buildAuthority
(PermissionEnum thePermissionEnum, PermissionArgumentValue theArgumentValue) Typesafe authority builder.