Resources and proxies

The VersionVault CM API consists of objects that are proxies for the persistent resources that are stored in repositories that VersionVault maintains. 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 type of resource 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 invoking a method on another proxy object. The client can then use 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.