Class AccessPath
java.lang.Object
org.gcube.informationsystem.resourceregistry.api.rest.AccessPath
The Class AccessPath.
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWas intended for agetRelated()navigation endpoint (a query parameter selecting the traversal direction); the_prefix avoids a clash with the JSONdirectionfield name.static final StringWas intended for agetRelated()navigation endpoint (a query parameter selecting polymorphic traversal); the_prefix avoids a clash with the JSONpolymorphicfield name.static final StringWas intended for agetRelated()navigation endpoint (a query parameter naming the reference/relation type to traverse); the_prefix avoids a clash with the JSONreference/typefield names.static final StringThe Constant ACCESS_PATH_PART.static final StringThe Constant CONTEXTS_PATH_PART.static final StringThe canonical contexts-policy query parameter.static final StringDefault value forCONTEXTS_POLICY_QUERY_PARAMETER.static final StringThe Constant HIERARCHICAL_MODE_QUERY_PARAMETER.static final StringThe Constant INSTANCES_PATH_PART.static final StringThe Constant LIMIT_QUERY_PARAMETER.static final StringThe canonical membership-scope query parameter.static final StringDefault value forMEMBERSHIP_SCOPE_QUERY_PARAMETER.static final StringThe canonical metadata-policy query parameter.static final StringDefault value forMETADATA_POLICY_QUERY_PARAMETER.static final StringThe Constant OFFSET_QUERY_PARAMETER.static final StringThe Constant POLYMORPHIC_QUERY_PARAMETER.static final StringThe Constant Q_QUERY_PARAMETER.static final StringThe Constant QUERY_PATH_PART.static final StringThe Constant QUERY_TEMPLATES_PATH_PART.static final StringThe Constant RAW_QUERY_PATH_PART.static final StringThe Constant RAW_RESULT_QUERY_PARAMETER.static final StringThe Constant RAW_RESULT_QUERY_PARAMETER_DEFAULT_VALUE.static final StringThe Constant TYPES_PATH_PART. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ACCESS_PATH_PART
The Constant ACCESS_PATH_PART.- See Also:
-
CONTEXTS_PATH_PART
The Constant CONTEXTS_PATH_PART.- See Also:
-
TYPES_PATH_PART
The Constant TYPES_PATH_PART.- See Also:
-
INSTANCES_PATH_PART
The Constant INSTANCES_PATH_PART.- See Also:
-
QUERY_TEMPLATES_PATH_PART
The Constant QUERY_TEMPLATES_PATH_PART.- See Also:
-
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
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(asQUERY /admin/raw-query, with aPOST+X-HTTP-Method-Override: QUERYfallback) byAdminQueryManager; the endpoint is restricted toGLOBAL_PRIVILEGED_ROLESand never exposed through any client library. The former publicGET /access/raw-queryendpoint that once used this constant has been removed.- See Also:
-
Q_QUERY_PARAMETER
The Constant Q_QUERY_PARAMETER. Formerly the query-text parameter of the removedGET /access/raw-queryendpoint. 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
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
The Constant RAW_RESULT_QUERY_PARAMETER_DEFAULT_VALUE.- See Also:
-
POLYMORPHIC_QUERY_PARAMETER
The Constant POLYMORPHIC_QUERY_PARAMETER.- See Also:
-
HIERARCHICAL_MODE_QUERY_PARAMETER
The Constant HIERARCHICAL_MODE_QUERY_PARAMETER.- See Also:
-
METADATA_POLICY_QUERY_PARAMETER
The canonical metadata-policy query parameter.- See Also:
-
METADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUE
Default value forMETADATA_POLICY_QUERY_PARAMETER.- See Also:
-
CONTEXTS_POLICY_QUERY_PARAMETER
The canonical contexts-policy query parameter.- See Also:
-
CONTEXTS_POLICY_QUERY_PARAMETER_DEFAULT_VALUE
Default value forCONTEXTS_POLICY_QUERY_PARAMETER.- See Also:
-
MEMBERSHIP_SCOPE_QUERY_PARAMETER
The canonical membership-scope query parameter.- See Also:
-
MEMBERSHIP_SCOPE_QUERY_PARAMETER_DEFAULT_VALUE
Default value forMEMBERSHIP_SCOPE_QUERY_PARAMETER.- See Also:
-
OFFSET_QUERY_PARAMETER
The Constant OFFSET_QUERY_PARAMETER.- See Also:
-
LIMIT_QUERY_PARAMETER
The Constant LIMIT_QUERY_PARAMETER.- See Also:
-
_REFERENCE_QUERY_PARAMETER
Was intended for agetRelated()navigation endpoint (a query parameter naming the reference/relation type to traverse); the_prefix avoids a clash with the JSONreference/typefield names. No such endpoint or method currently exists in either the server or the client libraries.- See Also:
-
_POLYMORPHIC_QUERY_PARAMETER
Was intended for agetRelated()navigation endpoint (a query parameter selecting polymorphic traversal); the_prefix avoids a clash with the JSONpolymorphicfield name. No such endpoint or method currently exists in either the server or the client libraries.- See Also:
-
_DIRECTION_QUERY_PARAMETER
Was intended for agetRelated()navigation endpoint (a query parameter selecting the traversal direction); the_prefix avoids a clash with the JSONdirectionfield name. No such endpoint or method currently exists in either the server or the client libraries.- See Also:
-
-
Constructor Details
-
AccessPath
public AccessPath()
-