Reading an involved record is similar to reading a contact record.
//for this sample, it is assumed there exists an involved record with the unique key equal to a String, invUniqueKey
private InvolvedRepository involvedRepository;
private List<String> getPropertiesToRead() {
List<String> props = new List<String>();
props.add("uniqueKey");
props.add("contact");
props.add("project");
props.add("project.name");
props.add("contact.uniqueKey");
return props;
}
public void test_readInvolved throws Exception {
// Search the involved record
Involved involved = involvedRepository.readInvolved(invUniqueKey, getPropertiesToRead());
}