2016-09-01 17:11:37 +02:00
|
|
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
|
|
|
|
|
|
|
/**
|
2016-10-12 14:34:12 +02:00
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
2016-09-01 17:11:37 +02:00
|
|
|
*/
|
|
|
|
public class AccessPath {
|
|
|
|
|
2020-10-27 15:46:04 +01:00
|
|
|
public static final String HIERARCHICAL_MODE_PARAM = InstancePath.HIERARCHICAL_MODE_PARAM;
|
2020-11-09 15:47:05 +01:00
|
|
|
public static final String INCLUDE_CONTEXTS_IN_HEADER_PARAM = InstancePath.INCLUDE_CONTEXTS_IN_HEADER_PARAM;
|
2020-10-27 15:46:04 +01:00
|
|
|
|
2018-06-08 09:30:02 +02:00
|
|
|
public static final String TYPE_PATH_PARAM = "TYPE_NAME";
|
|
|
|
public static final String UUID_PATH_PARAM = "UUID";
|
|
|
|
public static final String CONTEXT_UUID_PATH_PARAM = "CONTEXT_UUID";
|
2021-10-21 19:08:11 +02:00
|
|
|
public static final String QUERY_TEMPLATE_NAME_PATH_PARAM = "QUERY_TEMPLATE_NAME";
|
2016-09-01 17:11:37 +02:00
|
|
|
|
2018-06-08 09:30:02 +02:00
|
|
|
public static final String ACCESS_PATH_PART = "access";
|
2018-06-06 19:26:19 +02:00
|
|
|
public static final String CONTEXTS_PATH_PART = ContextPath.CONTEXTS_PATH_PART;
|
|
|
|
public static final String TYPES_PATH_PART = TypePath.TYPES_PATH_PART;
|
|
|
|
public static final String INSTANCES_PATH_PART = InstancePath.INSTANCES_PATH_PART;
|
2021-10-21 19:08:11 +02:00
|
|
|
public static final String QUERY_TEMPLATES_PATH_PART = QueryTemplatePath.QUERY_TEMPLATES_PATH_PART;
|
2020-10-27 15:46:04 +01:00
|
|
|
|
2018-06-06 19:26:19 +02:00
|
|
|
public static final String QUERY_PATH_PART = "query";
|
|
|
|
public static final String QUERY_PARAM = "q";
|
2022-07-18 16:33:08 +02:00
|
|
|
|
2019-01-21 11:41:24 +01:00
|
|
|
public static final String RAW_PARAM = "raw";
|
|
|
|
public static final String DEFAULT_RAW_PARAM = "false";
|
2018-06-08 15:05:47 +02:00
|
|
|
|
|
|
|
public static final String RESOURCE_TYPE_PATH_PART = "RESOURCE_TYPE_NAME";
|
|
|
|
public static final String RELATION_TYPE_PATH_PART = "RELATION_TYPE_NAME";
|
|
|
|
public static final String REFERENCE_TYPE_PATH_PART = "REFERENCE_TYPE_NAME";
|
2016-12-30 17:31:35 +01:00
|
|
|
|
2022-07-14 15:50:29 +02:00
|
|
|
/**
|
|
|
|
* Used only in getRelated() function
|
|
|
|
* The _ is prepended to avoid clash with field name
|
|
|
|
*/
|
2021-07-07 11:23:07 +02:00
|
|
|
public static final String _REFERENCE_PARAM = "_reference";
|
2022-07-14 15:50:29 +02:00
|
|
|
/**
|
|
|
|
* Used only in getRelated() function
|
|
|
|
* The _ is prepended to avoid clash with field name
|
|
|
|
*/
|
2021-07-07 11:23:07 +02:00
|
|
|
public static final String _POLYMORPHIC_PARAM = "_polymorphic";
|
2022-07-14 15:50:29 +02:00
|
|
|
/**
|
|
|
|
* Used only in getRelated() function
|
|
|
|
* The _ is prepended to avoid clash with field name
|
|
|
|
*/
|
2021-07-07 11:23:07 +02:00
|
|
|
public static final String _DIRECTION_PARAM = "_direction";
|
2021-07-07 11:57:28 +02:00
|
|
|
// public static final String _INCLUDE_RELATION_PARAM = "_includeRelation";
|
2017-01-11 18:14:09 +01:00
|
|
|
|
2018-06-12 11:23:38 +02:00
|
|
|
public static final String CURRENT_CONTEXT = "CURRENT_CONTEXT";
|
|
|
|
|
2016-09-01 17:11:37 +02:00
|
|
|
}
|