10-03-2006 11:40 AM
10-05-2006 05:44 AM
String relationName = "{my.model}my_relation";
ParentReference parentReference = new ParentReference(
store,
parentNode.getReference().getUuid(),
null,
relationName,
relationName);
Reference referenceChild = childNode.getReference();
Predicate predicateChild = new Predicate(new Reference[]{referenceChild}, store, null);
CMLAddChild addChild = new CMLAddChild();
addChild.setTo(parentReference);
addChild.setWhere(predicateChild);
CML cml = new CML();
cml.setAddChild(new CMLAddChild[] {addChild});
UpdateResult[] results = repositoryService.update(cml);
04-06-2010 04:07 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.