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 TypeMethodDescriptionbooleanindicates that the user has permission to export all typesthe names of the types that the user has permission to exportstatic ExportResourceTypesstatic ExportResourceTypesstatic ExportResourceTypesMethods inherited from class ca.cdr.api.security.permission.PermissionArgumentValue
toString
-
Method Details
-
withAllTypes
-
withTypes
-
withTypes
-
canExportAllResourceTypes
Description copied from interface:PermissionArgumentFormat.IExportResourceTypesRestrictionindicates that the user has permission to export all types- Specified by:
canExportAllResourceTypesin interfacePermissionArgumentFormat.IExportResourceTypesRestriction
-
getResourceTypes
Description copied from interface:PermissionArgumentFormat.IExportResourceTypesRestrictionthe names of the types that the user has permission to export- Specified by:
getResourceTypesin interfacePermissionArgumentFormat.IExportResourceTypesRestriction
-