Resources and proxies

The HCL Compass CM API comprises proxy objects for the persistent resources that are stored in the HCL Compass repositories.

A proxy is an object on the client that represents a resource in a repository on a server or on the client system. A proxy object represents a resource during an API Provider session. Each resource type is represented by an interface that is an extension of the WVCM Resource interface.

To access a resource, a client must first create a proxy object that implements the API interface for that type of resource. All proxy objects are obtained either by invoking a method from the Provider object or by invoking a method on another proxy object. The client then uses the methods available on the proxy object to access specific properties of the resource or to modify its content or state. Proxy objects are client-side objects returned by the Provider; they are not the actual server resources.