001/*-
002 * #%L
003 * Smile CDR - CDR
004 * %%
005 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
006 * %%
007 * All rights reserved.
008 * #L%
009 */
010package ca.cdr.api.security.permission;
011
012/**
013 * List of constants with all defined permission argument formats.
014 */
015public class PermissionArgumentFormats {
016        // The formats
017        public static final PermissionArgumentFormat<CompartmentWithExportResourceTypes>
018                        COMPARTMENT_WITH_EXPORT_RESOURCE_TYPES_FORMAT = new CompartmentWithExportResourceTypes.Format();
019        public static final PermissionArgumentFormat<CompartmentsWithExportResourceTypes>
020                        COMPARTMENTS_WITH_EXPORT_RESOURCE_TYPES_FORMAT = new CompartmentsWithExportResourceTypes.Format();
021        public static final PermissionArgumentFormat<CompartmentWithOptionalFilter>
022                        COMPARTMENT_WITH_OPTIONAL_FILTER_FORMAT = new CompartmentWithOptionalFilter.CompartmentFormat();
023        public static final PermissionArgumentFormat<CodeInValueSet> CODE_IN_VALUE_SET_FILTER_FORMAT =
024                        new CodeInValueSet.Format();
025        public static final PermissionArgumentFormat<ExportResourceTypes> EXPORT_RESOURCE_TYPES_FORMAT =
026                        new ExportResourceTypes.Format();
027        public static final PermissionArgumentFormat<InstanceWithOptionalFilter> INSTANCE_WITH_OPTIONAL_FILTER_FORMAT =
028                        new InstanceWithOptionalFilter.Format();
029        public static final PermissionArgumentFormat<Operation> OPERATION_FORMAT = new Operation.Format();
030        public static final PermissionArgumentFormat<OperationOnResourceType> OPERATION_ON_RESOURCE_TYPE_FORMAT =
031                        new OperationOnResourceType.Format();
032        public static final PermissionArgumentFormat<OptionalFilter> OPTIONAL_FILTER_FORMAT = new OptionalFilter.Format();
033        public static final PermissionArgumentFormat<TypeInCompartmentWithOptionalFilter>
034                        TYPE_IN_COMPARTMENT_WITH_OPTIONAL_FILTER_FORMAT = new TypeInCompartmentWithOptionalFilter.Format();
035        public static final PermissionArgumentFormat<ResourceTypeOptionalFilter> RESOURCE_TYPE_OPTIONAL_FILTER_FORMAT =
036                        new ResourceTypeOptionalFilter.Format();
037        public static final PermissionArgumentFormat<NoArgument> NO_ARGUMENT_FORMAT = new NoArgument.NoArgumentFormat();
038        public static final PermissionArgumentFormat<NodeAndModuleId> NODE_AND_MODULE_ID_PERMISSION_ARGUMENT_FORMAT =
039                        new NodeAndModuleId.Format();
040
041        // static utility class
042        private PermissionArgumentFormats() {}
043}