Index
All Classes and Interfaces|All Packages
A
- addHeader(String, boolean) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Deprecated.
- addHeader(String, boolean) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Adds a custom HTTP header to be included in requests.
- addHeader(String, String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Deprecated.use per-request custom headers from
ResourceRegistryRequestOptions - addHeader(String, String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Adds a custom HTTP header to be included in requests.
- address - Variable in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
The base address of the Resource Registry service
- all() - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves all live Contexts through the local cache.
- all() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves all live Contexts through the local cache.
- all(ContextLifecycle) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves a page of Contexts from the server for the requested lifecycle slice, bypassing the local Context cache.
- all(ContextLifecycle) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves a page of Contexts from the server for the requested lifecycle slice, bypassing the local Context cache.
C
- changeState(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
JSON-string counterpart of
ResourceRegistryContextClient.changeState(Context). - changeState(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
JSON-string counterpart of
ResourceRegistryContextClient.changeState(Context). - changeState(String, String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
String-based counterpart of
ResourceRegistryContextClient.changeState(UUID, ContextState). - changeState(String, String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
String-based counterpart of
ResourceRegistryContextClient.changeState(UUID, ContextState). - changeState(UUID, ContextState) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Changes only the state of an existing context, identified by UUID, sending a minimal merge-patch body (
{"state": ...}) that cannot affectnameorparent. - changeState(UUID, ContextState) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Changes only the state of an existing context, identified by UUID, sending a minimal merge-patch body (
{"state": ...}) that cannot affectnameorparent. - changeState(Context) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Changes only the state of an existing Context, extracting its UUID and state from the supplied object.
- changeState(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Changes only the state of an existing Context, extracting its UUID and state from the supplied object.
- contextCache - Variable in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Cache for context information to improve performance
- contextCacheRenewal - Variable in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Context cache renewal strategy for refreshing cached context information
- create() - Static method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientFactory
-
Creates a new ResourceRegistryContextClient instance using the current context.
- create(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Creates a Context from a JSON document supplied through the Java API as a
String. - create(String) - Static method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientFactory
-
Creates a new ResourceRegistryContextClient instance for a specific context.
- create(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Creates a Context from a JSON document supplied through the Java API as a
String. - create(Context) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Creates a Context through
PUT /contexts/{context-uuid}. - create(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Creates a Context through
PUT /contexts/{context-uuid}.
D
- delete(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Parses
uuidand delegates toResourceRegistryContextClient.delete(UUID)without changing its logical-deletion, authorization, cache, retry, or response-metadata semantics. - delete(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Parses
uuidand delegates toResourceRegistryContextClient.delete(UUID)without changing its logical-deletion, authorization, cache, retry, or response-metadata semantics. - delete(UUID) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Logically deletes a live Context, removing it from the active topology while retaining its state and history in the cemetery.
- delete(UUID) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Logically deletes a live Context, removing it from the active topology while retaining its state and history in the cemetery.
- delete(Context) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Extracts the Context identifier and delegates to
ResourceRegistryContextClient.delete(UUID)without changing its logical-deletion, authorization, cache, or response-metadata semantics. - delete(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Extracts the Context identifier and delegates to
ResourceRegistryContextClient.delete(UUID)without changing its logical-deletion, authorization, cache, or response-metadata semantics.
E
- exist(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Checks if a context with the specified UUID (as string) exists in the system.
- exist(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Checks if a context with the specified UUID (as string) exists in the system.
- exist(UUID) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Checks if a context with the specified UUID exists in the system.
- exist(UUID) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Checks if a context with the specified UUID exists in the system.
- existFromServer(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Checks if a context with the specified UUID exists on the server, via a direct
HEAD /contexts/{uuid}request (the local cache is not consulted).
G
- getAllContextFromServer() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
It reads all the contexts from server.
- getAllContextFromServer(boolean, Integer, Integer) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves all contexts from the Resource Registry server with specified parameters.
- getAllContextFromServer(boolean, Integer, Integer, ContextLifecycle) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves Contexts directly from the Resource Registry server for the requested lifecycle.
- getAllLiveContextsFromServer() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves every live Context from the paginated server endpoint for cache renewal.
- getAuthorizationHeaders() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Returns the authentication headers supplied by the active secret provider.
- getContextCache() - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Gets the context cache used for context-related operations.
- getContextCache() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Gets the context cache used for context-related operations.
- getGXRequest() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Creates and configures a GXRequest with authentication headers.
- getResourceRegistryURL() - Static method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientFactory
-
Gets the Resource Registry service URL using the current context.
- getResourceRegistryURL(String) - Static method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientFactory
-
Gets the Resource Registry service URL for a specific context.
H
- headers - Variable in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
HTTP headers to be included in requests
I
- internalChangeState(UUID, String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Internal method to change the state of an existing context in the Resource Registry.
- internalCreate(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Internal method to create a new context in the Resource Registry.
- internalTrackedUpdate(UUID, String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Sends a Tracked Update merge-patch to the server for the given context, and refreshes the local cache afterwards.
- internalUpdate(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Internal method to apply a Tracked Update to an existing context in the Resource Registry.
O
- org.gcube.informationsystem.resourceregistry.contexts - package org.gcube.informationsystem.resourceregistry.contexts
Q
- query(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Executes a JSON Query-By-Example against live Contexts.
- query(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Executes a JSON Query-By-Example against live Contexts.
- query(String, ContextLifecycle) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Executes a JSON Query-By-Example against Contexts, restricted to the given lifecycle slice.
- query(String, ContextLifecycle) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Executes a JSON Query-By-Example against Contexts, restricted to the given lifecycle slice.
R
- read(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Parses the UUID, delegates to
ResourceRegistryContextClient.read(UUID), and serializes the resulting Context hierarchy. - read(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Parses the UUID, delegates to
ResourceRegistryContextClient.read(UUID), and serializes the resulting Context hierarchy. - read(String, int) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Parses the UUID, delegates to
ResourceRegistryContextClient.read(UUID, int), and serializes the resulting Context hierarchy. - read(String, int) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Parses the UUID, delegates to
ResourceRegistryContextClient.read(UUID, int), and serializes the resulting Context hierarchy. - read(UUID) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves a Context by UUID with root-only depth.
- read(UUID) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves a Context by UUID with root-only depth.
- read(UUID, int) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves a Context by UUID and expands descendants to the requested depth.
- read(UUID, int) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves a Context by UUID and expands descendants to the requested depth.
- read(Context) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves a Context by delegating its identifier to
ResourceRegistryContextClient.read(UUID). - read(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves a Context by delegating its identifier to
ResourceRegistryContextClient.read(UUID). - read(Context, int) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves a Context by delegating its identifier and
depthtoResourceRegistryContextClient.read(UUID, int). - read(Context, int) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves a Context by delegating its identifier and
depthtoResourceRegistryContextClient.read(UUID, int). - readCurrentContext() - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves the Context associated with the authorization token using root-only depth.
- readCurrentContext() - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves the Context associated with the authorization token using root-only depth.
- readCurrentContext(int) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves the Context resolved by the server from the authorization token and expands descendants to the requested depth.
- readCurrentContext(int) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves the Context resolved by the server from the authorization token and expands descendants to the requested depth.
- readFromServer(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Reads a context from the server by its UUID.
- readFromServer(String, int) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Reads a context from the server by its UUID, expanding its descendant hierarchy to the given depth.
- readHistory(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Parses
uuidand delegates toResourceRegistryContextClient.readHistory(UUID)without changing its history, authorization, or response-metadata semantics. - readHistory(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Parses
uuidand delegates toResourceRegistryContextClient.readHistory(UUID)without changing its history, authorization, or response-metadata semantics. - readHistory(UUID) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Retrieves the complete audit trail of a Context in reverse-chronological order, with the newest
Eventfirst. - readHistory(UUID) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Retrieves the complete audit trail of a Context in reverse-chronological order, with the newest
Eventfirst. - ResourceRegistryContextClient - Interface in org.gcube.informationsystem.resourceregistry.contexts
-
Client interface for managing contexts in the Resource Registry system.
- ResourceRegistryContextClientFactory - Class in org.gcube.informationsystem.resourceregistry.contexts
-
Factory for creating
ResourceRegistryContextClientinstances, resolving the Resource Registry service address for the current or a given context viaServiceInstance. - ResourceRegistryContextClientFactory() - Constructor for class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientFactory
- ResourceRegistryContextClientImpl - Class in org.gcube.informationsystem.resourceregistry.contexts
-
Default implementation of
ResourceRegistryContextClient, backed by HTTP calls to the Resource Registry service and a localContextCacheused to serve reads without a round-trip whenever possible. - ResourceRegistryContextClientImpl(String) - Constructor for class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
This client does not use the shared context cache because it is used by managers to manipulate contexts.
U
- update(String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Full-Context JSON counterpart of
ResourceRegistryContextClient.update(Context). - update(String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Full-Context JSON counterpart of
ResourceRegistryContextClient.update(Context). - update(UUID, String) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Applies an RFC 7396 merge patch to the Context identified by
uuid. - update(UUID, String) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Applies an RFC 7396 merge patch to the Context identified by
uuid. - update(Context) - Method in interface org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClient
-
Performs a Tracked Update of an existing context:
state,name, andparent(as carried by the given object's getters) are sent to the server and applied atomically. - update(Context) - Method in class org.gcube.informationsystem.resourceregistry.contexts.ResourceRegistryContextClientImpl
-
Performs a Tracked Update of an existing context:
state,name, andparent(as carried by the given object's getters) are sent to the server and applied atomically.
All Classes and Interfaces|All Packages
ResourceRegistryRequestOptions