Creating a proxy for an existing resource

You can create a proxy for an existing resource, if you have a Location. In the following example, a CcActivity proxy is constructed for an HCL VersionVault activity (named "cc.activity:developerName1_fix_a_bug@\projects").
CcActivity my_activity = provider.ccProvider().ccActivity(provider.stpLocation("cc.activity:developerName1_fix_a_bug@\projects"));
The my_activity proxy is the client-side object that represents the activity resource. You can then perform operations on the activity through methods of the Activity proxy. For example:
// read properties of the activity
my_activity.doReadProperties(...)   

// write properties 
my_activity.doWriteProperties(...) 

//delete the activity
my_activity.doUnbindAll()