Package ca.cdr.api.security.permission
Class ExportResourceTypes
java.lang.Object
ca.cdr.api.security.permission.PermissionArgumentValue
ca.cdr.api.security.permission.ExportResourceTypes
- All Implemented Interfaces:
PermissionArgumentFormat.IExportResourceTypesRestriction
,PermissionArgumentFormat.IPermissionComponent
public final class ExportResourceTypes
extends PermissionArgumentValue
implements PermissionArgumentFormat.IExportResourceTypesRestriction
Types available for export.
E.g.
Patient Observation
NOTE: An empty list or * means all types.-
Method Summary
Modifier and TypeMethodDescriptionboolean
indicates that the user has permission to export all typesthe names of the types that the user has permission to exportstatic ExportResourceTypes
static ExportResourceTypes
static ExportResourceTypes
Methods inherited from class ca.cdr.api.security.permission.PermissionArgumentValue
toString
-
Method Details
-
withAllTypes
-
withTypes
-
withTypes
-
canExportAllResourceTypes
Description copied from interface:PermissionArgumentFormat.IExportResourceTypesRestriction
indicates that the user has permission to export all types- Specified by:
canExportAllResourceTypes
in interfacePermissionArgumentFormat.IExportResourceTypesRestriction
-
getResourceTypes
Description copied from interface:PermissionArgumentFormat.IExportResourceTypesRestriction
the names of the types that the user has permission to export- Specified by:
getResourceTypes
in interfacePermissionArgumentFormat.IExportResourceTypesRestriction
-