2018-06-06 19:26:19 +02:00
|
|
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
|
|
|
|
2023-02-09 16:04:39 +01:00
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
2018-06-06 19:26:19 +02:00
|
|
|
public class SharingPath {
|
|
|
|
|
|
|
|
public static final String SHARING_PATH_PART = "sharing";
|
|
|
|
|
2018-06-11 11:18:38 +02:00
|
|
|
public static final String CONTEXTS_PATH_PART = ContextPath.CONTEXTS_PATH_PART;
|
|
|
|
|
2021-01-24 23:32:42 +01:00
|
|
|
public static final String OPERATION_QUERY_PARAMETER = "operation";
|
|
|
|
|
|
|
|
public enum SharingOperation {
|
|
|
|
ADD,
|
|
|
|
REMOVE
|
|
|
|
}
|
|
|
|
|
2022-07-20 12:09:07 +02:00
|
|
|
public static final String DRY_RUN_QUERY_QUERY_PARAMETER = "dryRun";
|
2022-06-08 16:04:35 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Used to add a resource to a context independently from the source
|
|
|
|
* context.
|
|
|
|
*/
|
|
|
|
public static final String FORCE_ADD_TO_CONTEXT_QUERY_PARAMETER = "forceAddToContext";
|
2021-01-27 11:49:50 +01:00
|
|
|
|
2023-05-05 11:19:03 +02:00
|
|
|
public static final String INCLUDE_CONTEXTS_QUERY_PARAMETER = InstancePath.INCLUDE_CONTEXTS_QUERY_PARAMETER;
|
|
|
|
public static final String INCLUDE_META_QUERY_PARAMETER = InstancePath.INCLUDE_META_QUERY_PARAMETER;
|
|
|
|
public static final String INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER = InstancePath.INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER;
|
|
|
|
|
2018-06-06 19:26:19 +02:00
|
|
|
}
|