java.lang.Object
org.gcube.informationsystem.resourceregistry.api.rest.AccessPath

public class AccessPath extends Object
The Class AccessPath.
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

    • ACCESS_PATH_PART

      public static final String ACCESS_PATH_PART
      The Constant ACCESS_PATH_PART.
      See Also:
    • CONTEXTS_PATH_PART

      public static final String CONTEXTS_PATH_PART
      The Constant CONTEXTS_PATH_PART.
      See Also:
    • TYPES_PATH_PART

      public static final String TYPES_PATH_PART
      The Constant TYPES_PATH_PART.
      See Also:
    • INSTANCES_PATH_PART

      public static final String INSTANCES_PATH_PART
      The Constant INSTANCES_PATH_PART.
      See Also:
    • QUERY_TEMPLATES_PATH_PART

      public static final String QUERY_TEMPLATES_PATH_PART
      The Constant QUERY_TEMPLATES_PATH_PART.
      See Also:
    • QUERY_PATH_PART

      public static final String QUERY_PATH_PART
      The Constant QUERY_PATH_PART. Used for the JSON query endpoint (POST /access/query) and the prepared query endpoint (GET /access/query/{resource-type}/{relation-type}/{entity-type}).
      See Also:
    • RAW_QUERY_PATH_PART

      public static final String RAW_QUERY_PATH_PART
      The Constant RAW_QUERY_PATH_PART. The literal path segment for the raw backend query diagnostic endpoint. Despite living in this class, it is mounted only under /admin (as QUERY /admin/raw-query, with a POST + X-HTTP-Method-Override: QUERY fallback) by AdminQueryManager; the endpoint is restricted to GLOBAL_PRIVILEGED_ROLES and never exposed through any client library. The former public GET /access/raw-query endpoint that once used this constant has been removed.
      See Also:
    • Q_QUERY_PARAMETER

      public static final String Q_QUERY_PARAMETER
      The Constant Q_QUERY_PARAMETER. Formerly the query-text parameter of the removed GET /access/raw-query endpoint. Its replacement, QUERY /admin/raw-query, carries the query text in a JSON request body (field "query") instead of a query parameter, so this constant is not currently wired to any endpoint.
      See Also:
    • RAW_RESULT_QUERY_PARAMETER

      public static final String RAW_RESULT_QUERY_PARAMETER
      The Constant RAW_RESULT_QUERY_PARAMETER. Controls how the query result is formatted: false (default) — result is converted to the Information System model format; true — result is returned exactly as provided by the OrientDB backend.
      See Also:
    • RAW_RESULT_QUERY_PARAMETER_DEFAULT_VALUE

      public static final String RAW_RESULT_QUERY_PARAMETER_DEFAULT_VALUE
      The Constant RAW_RESULT_QUERY_PARAMETER_DEFAULT_VALUE.
      See Also:
    • POLYMORPHIC_QUERY_PARAMETER

      public static final String POLYMORPHIC_QUERY_PARAMETER
      The Constant POLYMORPHIC_QUERY_PARAMETER.
      See Also:
    • HIERARCHICAL_MODE_QUERY_PARAMETER

      public static final String HIERARCHICAL_MODE_QUERY_PARAMETER
      The Constant HIERARCHICAL_MODE_QUERY_PARAMETER.
      See Also:
    • INCLUDE_CONTEXTS_QUERY_PARAMETER

      public static final String INCLUDE_CONTEXTS_QUERY_PARAMETER
      The Constant INCLUDE_CONTEXTS_QUERY_PARAMETER.
      See Also:
    • METADATA_POLICY_QUERY_PARAMETER

      public static final String METADATA_POLICY_QUERY_PARAMETER
      The canonical metadata-policy query parameter.
      See Also:
    • METADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUE

      public static final String METADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUE
      See Also:
    • OFFSET_QUERY_PARAMETER

      public static final String OFFSET_QUERY_PARAMETER
      The Constant OFFSET_QUERY_PARAMETER.
      See Also:
    • LIMIT_QUERY_PARAMETER

      public static final String LIMIT_QUERY_PARAMETER
      The Constant LIMIT_QUERY_PARAMETER.
      See Also:
    • _REFERENCE_QUERY_PARAMETER

      public static final String _REFERENCE_QUERY_PARAMETER
      Was intended for a getRelated() navigation endpoint (a query parameter naming the reference/relation type to traverse); the _ prefix avoids a clash with the JSON reference/type field names. No such endpoint or method currently exists in either the server or the client libraries.
      See Also:
    • _POLYMORPHIC_QUERY_PARAMETER

      public static final String _POLYMORPHIC_QUERY_PARAMETER
      Was intended for a getRelated() navigation endpoint (a query parameter selecting polymorphic traversal); the _ prefix avoids a clash with the JSON polymorphic field name. No such endpoint or method currently exists in either the server or the client libraries.
      See Also:
    • _DIRECTION_QUERY_PARAMETER

      public static final String _DIRECTION_QUERY_PARAMETER
      Was intended for a getRelated() navigation endpoint (a query parameter selecting the traversal direction); the _ prefix avoids a clash with the JSON direction field name. No such endpoint or method currently exists in either the server or the client libraries.
      See Also:
  • Constructor Details

    • AccessPath

      public AccessPath()