Interface RestDataStoreExtension

All Superinterfaces:
org.springframework.core.Ordered

@NullMarked public interface RestDataStoreExtension extends org.springframework.core.Ordered
Extension point of the REST data store. Lets an application add parameters to the requests that the store sends to the remote service, read the JSON of loaded entities, and change the JSON of entities being saved.

Register an implementation as a Spring bean. For each request, the store calls every extension whose supports(String, MetaClass) method returns true, in the order defined by getOrder().

The load and save methods receive root entities only: the entities that are loaded or saved directly, not the entities they reference. Removing entities does not call any method.