52 lines
2.0 KiB
Java
52 lines
2.0 KiB
Java
package org.gcube.informationsystem.resourceregistry.api.rest;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*/
|
|
public class AccessPath {
|
|
|
|
public static final String HIERARCHICAL_MODE_PARAM = InstancePath.HIERARCHICAL_MODE_PARAM;
|
|
public static final String INCLUDE_CONTEXTS_IN_HEADER_PARAM = InstancePath.INCLUDE_CONTEXTS_IN_HEADER_PARAM;
|
|
|
|
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";
|
|
public static final String QUERY_TEMPLATE_NAME_PATH_PARAM = "QUERY_TEMPLATE_NAME";
|
|
|
|
public static final String ACCESS_PATH_PART = "access";
|
|
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;
|
|
public static final String QUERY_TEMPLATES_PATH_PART = QueryTemplatePath.QUERY_TEMPLATES_PATH_PART;
|
|
|
|
public static final String QUERY_PATH_PART = "query";
|
|
public static final String QUERY_PARAM = "q";
|
|
|
|
public static final String RAW_PARAM = "raw";
|
|
public static final String DEFAULT_RAW_PARAM = "false";
|
|
|
|
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";
|
|
|
|
/**
|
|
* Used only in getRelated() function
|
|
* The _ is prepended to avoid clash with field name
|
|
*/
|
|
public static final String _REFERENCE_PARAM = "_reference";
|
|
/**
|
|
* Used only in getRelated() function
|
|
* The _ is prepended to avoid clash with field name
|
|
*/
|
|
public static final String _POLYMORPHIC_PARAM = "_polymorphic";
|
|
/**
|
|
* Used only in getRelated() function
|
|
* The _ is prepended to avoid clash with field name
|
|
*/
|
|
public static final String _DIRECTION_PARAM = "_direction";
|
|
// public static final String _INCLUDE_RELATION_PARAM = "_includeRelation";
|
|
|
|
public static final String CURRENT_CONTEXT = "CURRENT_CONTEXT";
|
|
|
|
}
|